Closed Bug 1843515 Opened 3 months ago Closed 2 months ago

[KDE] double title bar

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 115
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kphoitinga, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

start firefox

Actual results:

Double title bar appeared after installation on Debian 12, KDE (Wayland). Both in the ESR from the Debian repository and on the snap version. Same issue as this user on Reddit who was asked to file a bug report, which I can't find. https://old.reddit.com/r/firefox/comments/xf453j/how_do_i_remove_the_second_title_bar_on_linux/

Expected results:

Single menu/title bar

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Please try Mozilla binaries:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries

And run on terminal with MOZ_GTK_TITLEBAR_DECORATION=system env variable, i.e.:

MOZ_GTK_TITLEBAR_DECORATION=system firefox

Thanks.

Flags: needinfo?(kphoitinga)
Blocks: gtktitlebar
Priority: -- → P3
Summary: double title bar → [KDE] double title bar

By any chance, do you have gtk3-nocsd or any other similar hacks to force-disable CSD? Most DEs/WMs out-of-the-box should respect an application's request for CSD, so a situation like this usually points to a misconfiguration/hack.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #2)

Please try Mozilla binaries:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries

And run on terminal with MOZ_GTK_TITLEBAR_DECORATION=system env variable, i.e.:

MOZ_GTK_TITLEBAR_DECORATION=system firefox

Thanks.

Hi, running the binary with "MOZ_ENABLE_WAYLAND=1 ./firefox -ProfileManager -no-remote", results in Firefox running with the desired single title bar.

Adding "MOZ_GTK_TITLEBAR_DECORATION=system firefox" reproduces the problem I have with the Debian repository and Snap versions of Firefox. Setting the decorations to client removes the second title bar again.

As far as I understand my issue is with KDE's settings for GTK applications.

Flags: needinfo?(kphoitinga)

(In reply to QwertyChouskie from comment #3)

By any chance, do you have gtk3-nocsd or any other similar hacks to force-disable CSD? Most DEs/WMs out-of-the-box should respect an application's request for CSD, so a situation like this usually points to a misconfiguration/hack.

Nope, just a fresh Debian 12 installation.

My issue has been solved by creating a new profile (in the snap version of Firefox). Apparently Firefox defaults to MOZ_GTK_TITLEBAR_DECORATION=client, but my profile was somehow configured with MOZ_GTK_TITLEBAR_DECORATION=system.

I don't know why, certainly not a conscious decision on my part.

(In reply to kphoitinga from comment #6)

My issue has been solved by creating a new profile (in the snap version of Firefox). Apparently Firefox defaults to MOZ_GTK_TITLEBAR_DECORATION=client, but my profile was somehow configured with MOZ_GTK_TITLEBAR_DECORATION=system.

I don't know why, certainly not a conscious decision on my part.

Interesting, Thanks. Yes, Firefox switched to client decorations long ago, glad you solved it.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.