Open Bug 1832975 Opened 1 year ago Updated 1 year ago

firefox themes don't match my mac buttons in linux, they are windows buttons

Categories

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

Firefox 112
defect

Tracking

()

UNCONFIRMED

People

(Reporter: alenertz, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image Screenshot_20230513_170559.png (deleted) —

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

Steps to reproduce:

I downloaded firefox themes from mozilla.org for the title bar of firefox.

Actual results:

I'm using macos themes in linux. After the firefox theme (for instance "Mac OSX Iridescence") was activated, I saw that the macos buttons were converted to windows buttons. All other themes I downloaded show the same behaviour. Only the default themes in Firefox respect my mac buttons.

Expected results:

When I download a firefox theme it should respect my buttons in macos style (close,minimize,maximize). Attached a screenshot marked with a red line under the buttons.

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

Is that a recent regression? Can you try mozregression tool to find broken commit?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Use_Mozregression_tool
Thanks.

Flags: needinfo?(alenertz)
Blocks: gtktitlebar
Priority: -- → P3

This is intentional, see bug 1718846. Without drawing our own buttons we can't guarantee contrast.

We could try to make the non-native buttons closer to native but other than that...

Type: enhancement → defect
Keywords: regression
Regressed by: 1718846

I'm Alex and I received an email to add more information about that bug.
I use EndeavourOS with the KDE desktop and a MacOs-Layout. I reported that bug about 3 weeks ago, a bug that I detected in Firefox 112 and 113, perhaps already in 111. Knowing of that bug, I made some tests the last few days.

First I followed a link to fedoraproject.org and the only useful infos that I found were commands about missing titlebars in firefox and I applied the commands. When I typed the command MOZ_GTK_TITLEBAR_DECORATION=system firefox and hit enter, a titlebar suddenly appeared on top of the Firefox window above the firefox theme Mac OSX iridescence that contains the windows buttons (close,maximize,minimize). And the titlebar showed the mac buttons on the left. But when I closed Firefox and reopened it, the titlebar had disappeared.

Yesterday I installed EndeavourOs with the Xfce desktop to exclude a possible bug in a McOs kde theme (Xfce is a Gtk desktop). When I opened Firefox for the first time, the Welcome Menu appearing, what a surprise: Even the default firefox theme directly showed windows buttons too. Applying other firefox themes showing the same result. Of course before opening Firefox I applied Mac themes there. So, I was sure the issue is in Firefox.

Then an idea came into my mind: "What about an older version of Firefox like Firefox-Esr, that is default in Debian. So today in the afternoon I installed Debian 11 onto an external HDD. It took very long to install it. After the installation after applying a Monterey Global Theme, the first what I did was to open Firefox-Esr with the version 102.11. And with the blink of an eye, when Firefox opened I saw immediately within a second the problem, its cause and the solution:

Firefox-Esr had a titlebar, with the mac buttons on the left side, moreover the default firefox theme and later the theme "Colorful Abstract Neon" showed NO windows buttons at all, in contrast to Firefox 112 and 113.

So, I conclude: the titlebar is MISSING in Firefox, that shows the title of the app in the centre and on the left or right the appropriate buttons, be it mac buttons or windows buttons or other ones according to themes a user does use.

WHAT TO DO:

Bring the titlebar back to Firefox and remove those windows buttons in all firefox themes. It seems for me to be a plan from Firefox to impose that windows buttons to all users. What would think a Mac user that has his MacBook Pro, installs Firefox and finds himself with windows buttons on top of Firefox. He would not be amused to see this. And in Linux there's a philosophy; "All in Linux is Choice, total freedom of a user to choose and decide according to his needs and wishes how to configure his desktop. Linux respects the free will of its users, mostly !

Flags: needinfo?(alenertz)
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: