KDE Plasma: Flatpak applications ignore appearance settings with xdg-desktop-portal 1.17.2-1ubuntu1

Bug #2034763 reported by Alexey Arutyunov
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdg-desktop-portal-kde (Debian)
Fix Released
Unknown
xdg-desktop-portal-kde (Ubuntu)
Fix Released
High
Rik Mills
Mantic
Fix Released
High
Rik Mills

Bug Description

I use Plasma desktop in Mantic. With the latest versions of glib2.0 and xdg-desktop-portal all Flatpak applications ignore host settings like GTK theme, cursor theme and window controls position. I can get proper appearance only in the following state:

> sudo apt list --upgradable
Listing... Done
libglib2.0-0/mantic 2.77.3-1 amd64 [upgradable from: 2.77.1-1]
libglib2.0-bin/mantic 2.77.3-1 amd64 [upgradable from: 2.77.1-1]
libglib2.0-data/mantic,mantic 2.77.3-1 all [upgradable from: 2.77.1-1]
xdg-desktop-portal/mantic 1.17.2-1ubuntu1 amd64 [upgradable from: 1.16.0-3ubuntu1]

Upgrading either glib2.0 or xdg-desktop-portal causes the problem, so I don't know exactly which package causes this incompatibility.

Paul White (paulw2u)
affects: ubuntu → glib2.0 (Ubuntu)
tags: added: mantic
Changed in glib2.0 (Ubuntu):
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue comes from the new xdg-desktop-portal, see https://github.com/flatpak/xdg-desktop-portal/pull/1082 for details

The new configuration system gives more flexibility to the desktop environment to select the portal variants that should be used but it might require tweaks from those desktop environments

The GNOME configuration which fixes the issue was added in
https://salsa.debian.org/gnome-team/gnome-session/-/commit/b201c9c4
which is including in the gnome-session version uploaded to Ubuntu yesterday

Jeremy Bícha (jbicha)
affects: xdg-desktop-portal (Ubuntu) → plasma-workspace (Ubuntu)
Changed in plasma-workspace (Ubuntu):
importance: Undecided → High
status: New → Triaged
affects: plasma-workspace (Ubuntu) → xdg-desktop-portal-kde (Ubuntu)
no longer affects: glib2.0 (Ubuntu)
tags: added: rls-mm-incoming
summary: - Flatpak applications ignore appearance settings with glib2.0 2.77.3 and
- xdg-desktop-portal 1.17.2
+ KDE Plasma: Flatpak applications ignore appearance settings with xdg-
+ desktop-portal 1.17.2-1ubuntu1
Changed in xdg-desktop-portal-kde (Debian):
status: Unknown → Confirmed
Rik Mills (rikmills)
Changed in xdg-desktop-portal-kde (Ubuntu):
assignee: nobody → Rik Mills (rikmills)
Changed in xdg-desktop-portal-kde (Ubuntu Mantic):
status: Triaged → In Progress
Rik Mills (rikmills)
Changed in xdg-desktop-portal-kde (Ubuntu Mantic):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdg-desktop-portal-kde - 5.27.7-1ubuntu2

---------------
xdg-desktop-portal-kde (5.27.7-1ubuntu2) mantic; urgency=medium

  * Add upstream_install-portals.conf-for-plasma.patch to adapt to
    changes in xdg-desktop-portal 1.17.x (LP: #2034763)

 -- Rik Mills <email address hidden> Sat, 09 Sep 2023 19:39:21 +0100

Changed in xdg-desktop-portal-kde (Ubuntu Mantic):
status: Fix Committed → Fix Released
Changed in xdg-desktop-portal-kde (Debian):
status: Confirmed → Fix Released
Revision history for this message
Alexey Arutyunov (ar-lex) wrote :

That didn't solve the issue for me, but downgrading xdg-desktop-portal package still does.

I haven't tested Wayland/X11 behaviour difference earlier, but what I've noticed now is that it only affects the Wayland apps. For example, Firefox under XWayland (without overrides) looks normal, but after I add the following override

flatpak override --user --env="MOZ_ENABLE_WAYLAND=1" org.mozilla.firefox

the issue manifests itself.

Revision history for this message
Alexey Arutyunov (ar-lex) wrote :
Revision history for this message
Alexey Arutyunov (ar-lex) wrote :
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Alexey, are you able to open a new bug for that issue?

You can use

ubuntu-bug xdg-desktop-portal-kde

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.