[kde] [Bug 458865] After an update to qt5-base the dolphin file picker dialog used in GTK applications via GTK_USE_PORTAL=1 ignores theming

Frederick Zhang bugzilla_noreply at kde.org
Wed Sep 14 12:47:01 BST 2022


https://bugs.kde.org/show_bug.cgi?id=458865

--- Comment #25 from Frederick Zhang <frederick888 at tsundere.moe> ---
@Harald Thanks for putting together the fix!

@Antonio backported the patch to Arch [1] and it's good to see the KDE file
picker again.

However I noticed that the file picker doesn't respect my screen scaling. I
have

    [KScreen]
    ScaleFactor=2
    ScreenScaleFactors=HDMI-0=2;DP-0=2;DP-1=2;DP-2=2;DP-3=2;DP-4=2;

...in ~/.config/kdeglobals, and xdg-desktop-portal-kde process does have the
environment variables

    $ cat /proc/8318/environ | tr '\0' '\n' | rg SCALE
    GDK_DPI_SCALE=0.5
    GDK_SCALE=2
    QT_AUTO_SCREEN_SCALE_FACTOR=0
    QT_SCREEN_SCALE_FACTORS=HDMI-0=2;DP-0=2;DP-1=2;DP-2=2;DP-3=2;DP-4=2;

Restarting plasma-xdg-desktop-portal-kde.service fixes this issue. I'm not sure
what I'm missing?

And by the way in journalctl it's still trying to start xdg-desktop-portal-kde
for sddm user, which prints out a long crash backtrace.

[1]
https://github.com/archlinux/svntogit-packages/commit/b0e1161ffcba6c19ab9c45afcc6e04343ed71348

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list