Some (eg firefox) snap's modal dialogs don't follow dark-theme preference until log out and log back

Bug #1970489 reported by Nicolás Abel Carbone
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xdg-desktop-portal (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

In firefox for example, if I change from dark to light theme or from dark to light, while the main app follow the theme change, the modal dialogs (eg. Save page as...) don't change theme.

In the attached screenshot, you can see a dark themed firefox and a light themed modal dialog.

If I log out and back in, the modal dialogs now follow the theme correctly.

Another app that seems to have the same issue is telegram-desktop. But other, like vscode or cura-slicer (all snaps) work as expected.

Initially I thought it was a firefox issue and filed a bug report in bugzilla. You can see the discussion about it here: https://bugzilla.mozilla.org/show_bug.cgi?id=1766339

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xdg-desktop-portal 1.14.3-0ubuntu2
ProcVersionSignature: Ubuntu 5.17.0-1003.3-oem 5.17.0
Uname: Linux 5.17.0-1003-oem x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 26 18:29:50 2022
InstallationDate: Installed on 2022-02-02 (83 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: xdg-desktop-portal
UpgradeStatus: Upgraded to jammy on 2022-03-18 (39 days ago)

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdg-desktop-portal (Ubuntu):
status: New → Confirmed
tags: added: desktop-lts-wishlist
Changed in xdg-desktop-portal (Ubuntu):
importance: Undecided → Low
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.