FS#79759 - [libadwaita] 1:1.4.0-1 Broken dark theme when missing xdg-desktop-portal

Attached to Project: Arch Linux
Opened by Kerr (zefkerrigan) - Friday, 22 September 2023, 20:37 GMT
Last edited by Toolybird (Toolybird) - Sunday, 08 October 2023, 06:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
After a recent update, I now always only see the white theme of GTK4 apps anyway, even when dark theme is enabled in GNOME settings. But I don't know which specific package update caused this breakdown.

Steps to reproduce:
Run any GNOME's GTK4 application, for example Nautilus or GNOME Settings with dark theme enabled.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 08 October 2023, 06:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  GNOME 45
Comment by Kerr (zefkerrigan) - Friday, 22 September 2023, 20:41 GMT
A screenshot with dark theme enabled
Comment by Kerr (zefkerrigan) - Friday, 22 September 2023, 22:03 GMT
I found out for sure that this problem appears precisely as a result of updating libadwaita 1:1.3.5-1 to 1:1.4.0-1.
Comment by Mark Wagie (yochananmarqos) - Friday, 22 September 2023, 22:21 GMT
Can't reproduce, it's on your end.

EDIT: Sorry, forgot to say seek the appropriate support channels like the forum, IRC, Reddit, etc. for help.
Comment by Toolybird (Toolybird) - Friday, 22 September 2023, 22:49 GMT
See also  FS#79754 . I can repro if xdg-desktop-portal is not installed (e.g. when choosing not to install flatpak which depends on xdg-desktop-portal). Do you have xdg-desktop-portal installed? If not, what happens if you install it?
Comment by Kerr (zefkerrigan) - Saturday, 23 September 2023, 07:23 GMT
I installed xdg-desktop-portal and it solved the problem.
Comment by Neal (meltdown) - Monday, 25 September 2023, 02:57 GMT
Yep, you need xdg-desktop-portal now. They changed the package upstream.
Comment by Philip Damianik (pdamianik) - Monday, 25 September 2023, 11:04 GMT
I have the same issue after updating to 1:1.4.0-1, but in my case it was caused by having xdg-desktop-portal-git (aur 1.17.2) installed instead of xdg-desktop-portal (1.16.0-3). I have also confirmed that xdg-desktop-portal (1.18.0-1) from extra-testing has the same issue, but I am unsure if this is specific to my configuration.
Comment by Toolybird (Toolybird) - Sunday, 08 October 2023, 06:56 GMT
As of GNOME 45, x-d-p is pulled in by more than just flatpak i.e. nautilus, epiphany, totem, gnome-contacts, gnome-clocks, gnome-maps, etc.

Loading...