Since some time (unsure since when) when starting file-roller I get this warning: (file-roller:931599): Adwaita-WARNING **: 10:24:39.085: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
As a consequence, file-roller does not respect my preference for dark-mode for GTK applications. I think I have a dark-mode system-wide preference set in all relevant places:
Since it used to work and it just changed after an update, I opened a ticket (with more details about my setup):
I was redirected here, so here I am. Has anybody any suggestions?
Applications using libadwaita should use the appropriate API instead of using GtkSettings; additionally, libadwaita only uses the Settings xdg-desktop-portal to query the style to be used (light/dark, high contrast, or the accent colors). You need to ensure you’re starting the desktop portal in your session, and that you configured it correctly to start a portal implementation that supports the Settings interface. You should ask on a user support forum for Sway.