Apps launched with pkexec have no access to server xsettings, Gtk falls back to org.gnome gsettings (Wayland)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 49/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux
- Lĩnh vực
- desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 10
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/mint27-beta
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
linuxmint/mint27-beta#151 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
linuxmint/mint27-beta#154 ·
-
Algunas herramientas de "administracion del sistema" no siguen el tema global "oscuro" del sistema.Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 43/100
linuxmint/mint27-beta#150 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
linuxmint/mint27-beta#149 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
linuxmint/mint27-beta#145 ·
Tất cả issue của linuxmint/mint27-beta
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenCode 2.x: Go quota shows "Sign in again" because the API key is read only from auth.jsonĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Javis603/token-monitor#1861 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macos-27 menubar punkto regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
thaw-app/Thaw#1791 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[2.5.4] 设为「不写日报」后,值班提示词仍要求写日报Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
c1overzz/dsh-bili-scroll#216 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
omacom/omarchy#21787 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày