-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox 121 title bar is not hidden #361
Comments
Hi @VoidPhantom, thanks for the report. Is firefox installed as a flatpak or snap? If it is a flatpak the “Permission denied” error is the reason why the decorations are not hidden. You can check this #303 (comment). If you want to let Firefox to hide its title bar, you can hide the decorations when maximised by following the instructions at #340. |
Firefox is installed as a snap. The userCSS solution works for now, but ideally, Unite should be able to remove the title bar itself (just as it did in the past). |
You should ask on ubuntu support channels on how to give snap permissions to The extension stopped removing the decorations because before v121, firefox was running on xwayland and unite used xprop to remove the decorations. Now firefox runs by default on wayland and unite uses css to remove the decorations, but your snap install does not have access to the css files. If you find a solution on how to give permission to snap apps, please post it here. |
you can use userChrome to make the buttons disappear when Firefox is maximised, here's how I did it (my window buttons are on the right, so you might need to tweak it a bit): #main-window[sizemode*="maximized"] #titlebar .titlebar-buttonbox {
visibility: collapse !important;
display: none !important;
}
#main-window[sizemode*="maximized"] #nav-bar {
padding-right: 3px !important;
} |
Describe the bug
Firefox has just updated to version 121 and the extension no longer hides its title bar.
To Reproduce
Expected behavior
The title bar should be hidden.
Screenshots
This is what Firefox looks like if it is maximised with a title bar:
If Firefox itself is set to hide its title bar, it puts the window controls into the tab bar, using up way too much space for controls that are, thanks to Unite, redundant since they also appear in Ubuntu’s top bar:
Environment
Logs
Additional context
For applications other than Firefox, the title bar is correctly removed.
In the logs, I spotted a strange “Permission denied” error referencing the file
/home/voidf/.local/share/gnome-shell/extensions/[email protected]/styles/gtk3/buttons-left/both.css
; there does not appear to be any reason why that file would not be openable (it is world-readable), and I do not know if it is relevant to this issue.The text was updated successfully, but these errors were encountered: