-
Notifications
You must be signed in to change notification settings - Fork 344
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
Missing window close button #142
Comments
Looks like the issue is on |
That's pretty much intentional. There's no way to create space in the nav-bar for the window controls only when there is only one tab. So, for simplicity sake I've opted to not show window controls at all when there's only one tab. However, using the setup you mentioned works fine on my system, for me window controls are shown regardless of if the tabs toolbar is collapsed or not. |
hmm but the button is there actually. I can click on it and close the window. Just the image for the icon that is missing. I noticed that Following is the screenshot from a private window with the Setup:
|
Hmm, thanks foe all the info. I need to do some further testing on Linux - I think the issue you face might just not happen on Windows.
|
By the way, does the close button appear correctly if there are multiple tabs (so the toolbar is not collapsed) when you only use hide_tabs_with_one_tab.css? |
Looking at this, it's indeed Linux specific, or at least Win10 is not affected. The problem is how the window control buttons are drawn on Linux. I don't think there is any way to make the style work, sadly. However, you can use hide_tabs_with_one_tab_w_window_controls.css which should work fine. The issue with that is that the placeholder space for window controls will always be present in nav-bar, but maybe that's not such a big deal for you if you are only showing the close button. |
Private mode indicator is working now! :)
Hey, that is how it looks using only this CSS (multiple tabs): Single tab: |
No problem at all, I appreciate your support! I can live without the X icon, button works if I needed it anyway. :)
Yea, it is too much empty space. And still, no X icon though if I click in the button it works like in the other CSS. |
So, hide_tabs_with_one_tab_w_window_controls doesn't work either for you? That's interesting, because it worked fine for me on my linux machine which is running pretty much standard Fedora. |
@MrOtherGuy hmm looks like I didn't make a test with hide_tabs_with_one_tab.css ALONENo close button at all. (two tabs) (one tab) hide_tabs_with_one_tab.css COMBINED with tabs_on_bottom.cssClose button works, but X icon is invisible and over the menu button (I can't easily click in menu button) hide_tabs_with_one_tab_w_window_controls ALONEClose button works. Requires extra css for better position it. hide_tabs_with_one_tab_w_window_controls.css COMBINED with tabs_on_bottomIf
Now I just need to add a margin between menu and close buttons (any tips?). |
hide_tabs_with_one_tab_w_window_controls.css requires window_control_placeholder_support.css and it mentions that. That should work fine since tabs_on_bottom.css also requires it so you should try this setup:
|
and bingo! with the help of
(two tabs) (one tab) |
Yea, I forgot about that... I have removed it for the tests. |
Cool. So the thing is working for you then, right? |
Yes! Thank you very much. Maybe it is missing just a comment about having |
Hello!
Any idea how to fix this?
Window close button disappears when I'm using the settings below. I'm on Firefox 92, GNOME 40 and Debian. Same happened on Firefox 91 and GNOME 38.
Thanks!
The text was updated successfully, but these errors were encountered: