The latest version of Firefox (116.0.2) on my Linux Mint doesn’t have the button to close the window in the top-right corner anymore. This is very annoying because I’m used to moving the mouse to the top-right corner and click to close the window. Now I have to move the mouse pointer a little lower to do so, just clicking the top-right corner doesn’t work anymore.
According to another community volunteer who tried to reproduce the issue, if you hide the title bar, then the vertical area of the x button will reduce massively, and the bug has existed at lease since 2022/8.
Now the best way to resolve it is to run mozregression by yourself and to find out which commit is causing this issue and report it as a regression bug on bugzilla.mozilla.org
I’m not familiar with mozregression but when I run it I get: “/usr/share/tcltk/tcl8.6/init.tcl: version conflict for package “Tcl”: have 8.6.10, need exactly 8.6.12”
I don’t know what “Tcl” is or how to change it’s version.
I actually managed to solve this, it seems that Firefox doesn’t look for userChrome.css by default anymore and I had to enable this by setting toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config as described here
This page also describes how to find/create the correct location for the userChrome.css file. This is the code I’m using: