Firefox Flatpak does not integrate with the desktop in KDE Plasma.
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: sacos16605, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
6.01 MB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0
Steps to reproduce:
1- Use KDE Plasma and choose the default dark theme (Breeze Dark) in the system settings.
2- Install Firefox as a Flatpak app.
3- You will probably get Gnome's "Adwaita" (light) theme instead of Breeze Dark.
Sometimes when you start Firefox, it may randomly switch to the Breeze (light) theme, but it will never use Breeze Dark as it should.
Actual results:
Firefox doesn't follow the theme I'm using.
All other Flatpak apps I have follow the system theming without major problems so it's not a Flatpak issue.
Expected results:
Firefox should automatically detect and apply the correct theme.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 2•3 years ago
|
||
The dark theme works with the wayland backend:
flatpak run --devel --command=sh org.mozilla.firefox
[📦 org.mozilla.firefox ~]$ MOZ_ENABLE_WAYLAND=1 firefox
Using x11 backend for the gtk3-widget-factory
GDK_BACKEND=x11 gtk3-widget-factory
shows wrong theme too.
So it's related to x11. I'm not sure if this is going to be fixed for x11 backend.
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
I got this bug on KDE Plasma 5.27.10, but just when using the wayland session, on X11 firefox works properly and uses the proper cursor style.
On ArchLinux wiki for KDE it says that it needs an extra package so that firefox can read the config from GSettings, but after installing said package it still does not work.
If I "flatpak enter <firefox sandbox> gsettings get org.gnome.desktop.interface cursor-theme" it shows 'Adwaita'.
Is there a permission that must be granted so that the sandbox can get the user permissions?
Description
•