Apps launched with pkexec have no access to server xsettings, Gtk falls back to org.gnome gsettings (Wayland)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 49/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
- 领域
- desktop
调研方向
Start by reproducing the theme behavior with an app launched through pkexec in both Wayland and X11 sessions, comparing default Mint themes with a downloaded theme. The issue names no source files or tests, so trace how elevated apps receive the session's theme and xsettings, then identify a test or reproducible check for that path. Done means elevated apps consistently use the selected theme in both session types.
由索引模型根据 Issue 内容生成。
描述
Wayland session
During a wayland session the issue is more noticeable because it happens with all themes:
https://github.com/user-attachments/assets/b168871a-a33d-45b3-a2cf-b75562c7e70f
Video showing the issue.
Img. above with nemo open in a folder with elevated permissions.
Img. above with timeshift (which like the system administration needs elevated perms to open).
Changing the setting for the theme mode preference to dark mode didn't help in any of the cases above (since I think the issue is that the theme is not being loaded at all).
X11 session
In X11 sessions the theme is applied for all the themes that come by default with Mint, but if you download a theme from the theme module that applies to applications, it is only applied to the headerbar of the application open in elevated privileges, but the body of the application has the default adwaita themes applied instead:
Img. with nemo in normal mode on the right side and nemo open with elevated privileges on the left side using the Qogir theme downloaded from the theme module.
Considering the headerbar has the theme, and the default themes work, not sure what's the missing link for the X11 case.
- 主要语言
- 没有语言数据
- 星标
- 10
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
linuxmint/mint27-beta 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 66/100
linuxmint/mint27-beta#151 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
linuxmint/mint27-beta#154 ·
-
Algunas herramientas de "administracion del sistema" no siguen el tema global "oscuro" del sistema.未关闭
难度 3/5 1-2 天 新手友好度 43/100
linuxmint/mint27-beta#150 ·
-
难度 3/5 1-2 天 新手友好度 48/100
linuxmint/mint27-beta#149 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
linuxmint/mint27-beta#145 ·
查看 linuxmint/mint27-beta 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
Javis603/token-monitor#1861 · 1 条评论 ·
维护者通常 1 天内回复
-
macos-27 menubar punkto regression
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
c1overzz/dsh-bili-scroll#216 ·
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
omacom/omarchy#21787 · 1 条评论 ·
维护者通常 1 天内回复