GTK settings are not used by applications in KDE sessions. See: https://pagure.io/fedora-kde/SIG/issue/396 This is likely due to the upstream change: https://github.com/flatpak/xdg-desktop-portal/issues/1017 Reverting to https://bodhi.fedoraproject.org/updates/FEDORA-2023-8a95627f94 "solves" this issue. Reproducible: Always Steps to Reproduce: 1. Install Fedora Kinoite 39 (beta) 2. Install a GTK based application from Flathub (Celluloid for example) Actual Results: Fonts are incorrectly displayed, maximize buttons are missing, cursor size are wrong Expected Results: Fonts, maximize buttons, cursor size are reasonable defaults
Proposed as a Blocker for 39-final by Fedora user siosm using the blocker tracking app because: This is breaking basic display settings for GTK based Flatpaks in a KDE session.
This happens too on a upgraded F38 -> F39 KDE regular rpm spin.
At the RPM F39 kde (upgraded from f38) the workaround for me worked fine: sudo nano /usr/share/xdg-desktop-portal/kde-portals.conf added gtk to the default line: default=kde;gtk Don't knoe if this works for flatpaks too, maybe not.
> Don't knoe if this works for flatpaks too, maybe not. This will work, and should probably be made a change upstream in KDE unless either KDE emulates what gtk needs from org.gnome.* GSettings, or the decision to not pull in all settings backends despite portal config file not listing them is reversed.
Discussed during the 2023-09-25 blocker review meeting: [0] The decision to classify this bug as an "AcceptedBlocker (Final)" was made as it violates the following criterion: "... the desktop environment must perform regular operations like windows close/resize/maximize/minimize/fullscreen (when supported/applicable)..." in the case of OOTB-installed GTK applications, e.g. Firefox. [0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-09-25/f39-blocker-review.2023-09-25-16.02.txt
Timothee, did you try the suggestions in the upstream issue? My understanding (and I've warned about this before the upstream change was merged) is that KDE needs to ship a portal configuration file that makes the settings portal use both kde and gtk backends, and the KDE spin needs to pull in the gtk portal backend package.
Newest upstream issue: https://github.com/flatpak/xdg-desktop-portal/issues/1112 KDE bug: https://bugs.kde.org/show_bug.cgi?id=474746 PR: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/231
I pushed the merge button on https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/231. We'll backport it to 5.27 and our packages.
5.27 backport: https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/233
https://src.fedoraproject.org/rpms/xdg-desktop-portal-kde/pull-request/2
FEDORA-2023-ac10fe623c has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ac10fe623c
FEDORA-2023-a34ccfc45b has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a34ccfc45b
FEDORA-2023-ac10fe623c has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-a34ccfc45b has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a34ccfc45b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a34ccfc45b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
This was closed by the F40 update but this is still waiting on https://bodhi.fedoraproject.org/updates/FEDORA-2023-a34ccfc45b for F39.
The update works fine. The fonts look ok and the maximise and minimise button are available. See screenshot.
Created attachment 1992464 [details] New looks of the application.
(In reply to Lukas Ruzicka from comment #16) > The update works fine. The fonts look ok and the maximise and minimise > button are available. See screenshot. Lukas, please give karma to the Bodhi update. Thanks!
FEDORA-2023-a34ccfc45b has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.