Bug 433149 - Please, depend on `xdg-desktop-portal-gtk` on debian package to make gtk themes work
Summary: Please, depend on `xdg-desktop-portal-gtk` on debian package to make gtk them...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.19.5
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL: https://bazaar.launchpad.net/~kubuntu...
Keywords: usability
Depends on:
Blocks:
 
Reported: 2021-02-18 10:26 UTC by Unknown
Modified: 2022-05-08 19:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2021-02-18 10:26:31 UTC
SUMMARY
Installing `plasma-discover-backend-flatpak` does not pull `xdg-desktop-portal-gtk` leaving flatpak/gtk/wayland users with non-working themes (https://bugs.kde.org/show_bug.cgi?id=426788), cursor themes (https://bugs.kde.org/show_bug.cgi?id=418936) and broken fonts (https://github.com/flatpak/flatpak/issues/2861).

STEPS TO REPRODUCE
1. Install kubuntu.
2. Login into wayland
3. Install `plasma-discover-backend-flatpak`
4. Install some gtk app from flatpak
5. Gtk theme, cursor theme not applied to app

OBSERVED RESULT
Gtk theme, cursor theme not applied to app.

EXPECTED RESULT
Gtk theme, cursor theme applied to app.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.10
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1915714
Comment 1 Nate Graham 2021-02-18 15:14:36 UTC
That's not a bad idea.
Comment 2 Aleix Pol 2021-02-18 15:23:24 UTC
I don't really understand. You should be using xdg-desktop-portal-kde on Kubuntu.

Maybe there's a problem in xdg-desktop-portal-kde that you're workarounding by running the -gtk counterpart?
Comment 3 Unknown 2021-02-18 15:48:39 UTC
(In reply to Aleix Pol from comment #2)
> I don't really understand. You should be using xdg-desktop-portal-kde on
> Kubuntu.
> 
> Maybe there's a problem in xdg-desktop-portal-kde that you're workarounding
> by running the -gtk counterpart?

I don't know, right now xdg-desktop-portal-kde cannot do what xdg-desktop-portal-gtk can do.
Comment 4 Nicolas Fella 2021-02-18 22:59:17 UTC
Even if installing the -gtk portal was the solution, making discover depend on it is the wrong approach given it's not needed to use flatpak apps
Comment 5 Unknown 2022-05-08 17:03:51 UTC
xdg-desktop-portal-gtk is now preinstalled in kubuntu.