Skip to content

settings: Add org.gnome.desktop.interface namespace with glob support#280

Open
FreddyFunk wants to merge 1 commit intopop-os:masterfrom
FreddyFunk:fix/settings-portal-gtk-xft-dpi
Open

settings: Add org.gnome.desktop.interface namespace with glob support#280
FreddyFunk wants to merge 1 commit intopop-os:masterfrom
FreddyFunk:fix/settings-portal-gtk-xft-dpi

Conversation

@FreddyFunk
Copy link
Contributor

xdg-desktop-portal-cosmic settings portal didn't provide org.gnome.desktop.interface settings and didn't support glob patterns in ReadAll. GTK3 queries ReadAll(["org.gnome.*"]) at startup. Therefore the glob never matched, so text-scaling-factor was never delivered, leaving gtk-xft-dpi at 0. WebKitGTK uses that for viewport math, causing ~1,000,000x inflation, causing broken UIs in some apps, like the Hytale Launcher in the linked issue below.

closes pop-os/cosmic-epoch#3062

2026-03-09.20-10-11.mp4
  • I have disclosed use of any AI generated code in my commit messages.
    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • I understand these changes in full and will be able to respond to review comments.
  • My change is accurately described in the commit message.
  • My contribution is tested and working as described.
  • I have read the Developer Certificate of Origin and certify my contribution under its conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Hytale Launcher Flatpak issues with Wayland and Portal

1 participant