Linux: 'Show in File Explorer' displays macOS Security dialog instead of opening file manager

未关闭
#28,652 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
linux

调研方向

首先,在 Linux 上通过 GUI 的“Files”部分使用“Show in File Explorer”操作重现该问题,并将其与 xdg-open /keybase 或 Nautilus 进行比较。跟踪文件管理器提示的特定平台处理逻辑,并验证 Linux 会打开所选的 KBFS 路径,而不会显示 macOS 指南。

由索引模型根据 Issue 内容生成。

描述

Description

On Linux, clicking "Show in File Explorer" in the Keybase GUI Files section displays a macOS-specific dialog asking to "Open your macOS Security & Privacy Settings" instead of opening the native file manager.

Steps to Reproduce

  1. Open Keybase GUI on Linux
  2. Navigate to Files section
  3. Click "Yes, enable" on the "Enable Keybase in File Explorer?" prompt
  4. Or click on "Show in File Explorer" icon next to any folder

Expected Behavior

The native Linux file manager (Nautilus, Dolphin, etc.) should open at the selected KBFS path.

Actual Behavior

A dialog appears with macOS-specific instructions:

  • Title: "You need to change your system security preferences."
  • Text: "Open your macOS Security & Privacy Settings and follow these steps."
  • Shows macOS Security preferences UI
  • Has link "Open Security & Privacy Settings"

This is clearly platform-inappropriate for Linux systems.

Environment

  • OS: Pop!_OS 22.04 LTS (Ubuntu-based)
  • Kernel: 6.17.x
  • Keybase Version: 6.5.1
  • Desktop Environment: GNOME
  • File Manager: Nautilus

Workaround

nautilus /keybase
# or
xdg-open /keybase/private/username

Related Issues

  • #13238 - Client will not open my local file explorer to browse kbfs files (open, 2018)
  • #17098 - Unable to show Files in File Explorer option on Linux (closed as regression, 2019)

This appears to be a regression where the Linux code path now incorrectly falls through to macOS-specific UI.


345567

主要语言
Go
星标
9.3k
派生
1.3k
平均合并
1 天 2 小时
30 天内合并 PR
99

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

keybase/client 的其他 Issue

查看 keybase/client 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。