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

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Sep 8 09:06:57 BST 2022


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

            Bug ID: 458865
           Summary: After an update to qt5-base the dolphin file picker
                    dialog used in GTK applications via GTK_USE_PORTAL=1
                    ignores theming
           Product: dolphin
           Version: 22.08.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: moritz1000 at googlemail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
***
As per:
https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Consistent_file_dialog
I have set `GTK_USE_PORTAL=1` in `/etc/environment/`.
This make GTK applications use the Dolphin file picker dialog e.g. VSCode.

After updating qt5-base from version `5.15.5+kde+r182-1` to `5.15.5+kde+r184-1`
the Dolphin file picker uses a light theme (instead of my system wide use of
Breeze Dark and Icons are missing). This only applies to to GTK applications
e.g. Kate still uses a dark themed Dolphin file picker dialog with correct
icons.
***


STEPS TO REPRODUCE
1.  Set `GTK_USE_PORTAL=1` in `/etc/environment/`
2.  You should now have a Dophin file picker in e.g. VSCode which respects your
KDE theme choice
3. Update your KDE arch system from `5.15.5+kde+r182-1` to `5.15.5+kde+r184-1`
4. Reboot
5. Now e.g. VSCode still uses the Dolphin file picker but ignores theming and
icons are missing

See screenshots:

Before updating the system: https://imgur.com/a/JIRQ8ue
After update & reboot: https://imgur.com/a/mNEeNjg

OBSERVED RESULT
The Dolphin file picker dialog in GTK applications ignores theming and has
missing icons.

EXPECTED RESULT
The Dolphin file picker dialog in GTK applications works as before the update:
respecting my theme choice and with all the icons appearing. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.25.5
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Maybe this has something to do with:
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4829 a

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


More information about the kfm-devel mailing list