Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
5.64k stars 158 forks source link

[Bug]: "Hide the Bookmarks Toolbar unless hovering over the navigation bar": bookmark bar shows even when hovering where the bookmark bar should be, not just on the address / tab bar. #1309

Open Tetrapak0 opened 1 month ago

Tetrapak0 commented 1 month ago

Pre-Submission Checklist

Bug Summary

The "Hide the Bookmarks Toolbar unless hovering over the navigation bar" feature which should only show the bookmark bar when the mouse is hovering over the nav / URL / tab bar of the browser also shows when the mouse is hovered over the hidden bookmark bar. This is very annoying any may make some buttons on some websites harder or impossible to click.

Reproduction Steps

  1. Enable "Hide the Bookmarks Toolbar unless hovering over the navigation bar" under Settings -> Design
  2. Hover your mouse over the now hidden bookmark bar.

Expected Behavior

The bookmark bar should only show when the mouse is hovered over the nav / URL / tab bar.

Actual Behavior

The bookmark bar shows when the mouse is hovered over its usual position.

Screenshots

https://github.com/user-attachments/assets/e09f4f00-eb55-432a-b8e1-1521b032c134

Browser Version

Floorp 11.16.0 (64-bit)

Operating System

Windows 10 Pro 19045.4651

Additional Context

I have not done some checks as they are completely unrelated to the issue.

slovia commented 3 weeks ago

This has been reported in #1097. The problem was solved for some time but came back with an update (I reported that but it seems nobody saw my comment because the topic was already closed). Anyway... the workaround described there works for me. Give it a try...

Workaround editing userChrome.css posted by @anotherwanwanyi in https://github.com/Floorp-Projects/Floorp/issues/1097#issuecomment-2058631196_

Tetrapak0 commented 3 weeks ago

That helped, thanks. Though I had to change margin-bottom to -20px instead of -28px. Another issue which has been brought by the new release actually, is some wrong CSS that adds a gap between the navbar and the bookmark bar like in the comment sample code. I use Lepton + Photon. I'll leave this open if you wish to use it for tracking. You may close it if you wish.

AerinUWU commented 3 weeks ago

Copying the code from this link, into my Firefox userChrome.css theme file worked flawlessly feel free to try it as well.