black7375 / Firefox-UI-Fix

🦊 I respect proton UI and aim to improve it.
Mozilla Public License 2.0
5.24k stars 184 forks source link

URL bar highlighting is lost after entering full screen mode #832

Open AuRiMaS666 opened 7 months ago

AuRiMaS666 commented 7 months ago

Describe the bug

After entering full screen, domain isn't highlighted properly anymore, the whole URL is in one single color. It happens the moment you hit F11, even before the UI is fully hidden away. Highlighting can only be regained by clicking inside the URL bar and then somewhere else on the page.

This isn't exactly a new issue, as I remember noticing this for quite a long time.

Expected behavior

No response

Screenshots

Before entering full screen:

before

After entering full screen:

after

OS

Windows 11

OS - Others

No response

Firefox Version

120.0

Distribution

Theme

Theme - More Info

No response

user.js setup

Default Original Lepton.

Additional context

No response

black7375 commented 7 months ago

I checked that the problem occurs on this line. https://github.com/black7375/Firefox-UI-Fix/blob/08079e8989d9c11dc2ccae410578dc5c9dd4e22a/src/fullscreen/_overlap.scss#L2

This is a little tricky because we can't specify colors with CSS selectors. image


As a temporary solution, you can disable userChrome.fullscreen.overlap to false.

AuRiMaS666 commented 7 months ago

Thank you! The workaround works and doesn't sacrifice anything much for me personally with slightly different animation style.