SUMMARY When styled differently than the default (for example dark mode) the file dialogue does not style correctly and instead uses the default settings. This does not seem to append under Kwin but in Niri using the kde portal for the file picker. STEPS TO REPRODUCE 1. Set QT_QPA_PLATFORMTHEME=kde 2. Select the kde portal for org.freedesktop.impl.portal.FileChooser in your portal config (make sure the change is applied) 2. Change to the dark variant of the theme 3. Open a File dialogue through an app OBSERVED RESULT The File dialog remains in the default style. EXPECTED RESULT The File dialog should pick up any configuration set with the QT_QPA_PLATFORMTHEME as do all other apps and portals. SOFTWARE/OS VERSIONS (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.0 ADDITIONAL INFORMATION You can check the initial discussion about this topic here: https://discuss.kde.org/t/kio-not-styling-properly/41829/3
How do you set QT_QPA_PLATFORMTHEME=kde? FWIW the portal backend will be dbus activated by the frontend, dbus will ask systemd to start it.
(In reply to David Redondo from comment #1) > How do you set QT_QPA_PLATFORMTHEME=kde? > > FWIW the portal backend will be dbus activated by the frontend, dbus will > ask systemd to start it. I set it through the config of my wayland compositor (niri). Should I try setting it differently ?