black7375 / black7375/Firefox-UI-Fix
When the tab bar, navbar, and bookmarkbar are hidden, the title bar cannot be automatically expanded when the window is not maximized.
- Dominant language
- SCSS
- Stars
- 5.9k
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
I set these options to true:
userChrome.autohide.tabbar
userChrome.autohide.toolbar_overlap
userChrome.autohide.bookmarkbar
userChrome.autohide.navbar
When the window is not maximized, the window title bar and operation buttons are hidden. When the mouse slides over the upper border of the window, the tabbar, navbar, and bookmarkbar do not pop up.
When the window is maximized, moving the mouse upward will make these three bars pop up.
In addition, when these three bars pop up or hide, the web page will move up or down a little distance.
### Expected behavior
_No response_
### Screenshots
_No response_
### OS
Windows 11
### OS - Others
_No response_
### Firefox Version
121.0
### Distribution
- [X] [Original Lepton](https://github.com/black7375/Firefox-UI-Fix)
- [ ] [Lepton's photon style](https://github.com/black7375/Firefox-UI-Fix/tree/photon-style)
- [ ] [Lepton's proton style](https://github.com/black7375/Firefox-UI-Fix/tree/proton-style)
### Theme
- [ ] Light
- [ ] Dark
- [ ] Alpenglow (System: Light)
- [ ] Alpenglow (System: Dark)
- [X] System Default
- [ ] Others: (e.g. [Photon Colors](https://addons.mozilla.org/en-US/firefox/addon/photon-colors/), [Google Chrome Dark](https://addons.mozilla.org/en-US/firefox/addon/google-chrome-dark/), [Fairytale Of Nature](https://addons.mozilla.org/en-US/firefox/addon/fairytale-of-nature/))
### Theme - More Info
_No response_
### `user.js` setup
userChrome.autohide.back_button false
userChrome.autohide.bookmarkbar true
userChrome.autohide.fill_urlbar false
userChrome.autohide.forward_button false
userChrome.autohide.navbar true
userChrome.autohide.page_action true
userChrome.autohide.sidebar false
userChrome.autohide.tab false
userChrome.autohide.tab.blur false
userChrome.autohide.tab.opacity false
userChrome.autohide.tabbar true
userChrome.autohide.toolbar_overlap true
autohideuserChrome.autohide.bookmarkbar false
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue on Windows 11 with Firefox 121 using the listed userChrome.autohide settings, comparing maximized and non-maximized windows. Trace the SCSS rules responsible for the tab bar, navbar, bookmark bar, title bar, and page position; done means the bars appear at the upper border in both window states without shifting the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100