muckSponge / MaterialFox

A Material Design-inspired userChrome.css theme for Firefox
MIT License
1.94k stars 149 forks source link

[Bug] Urlbar constantly expanding and shrinking on typing. #223

Open LouShy opened 4 years ago

LouShy commented 4 years ago

Sanity checks (must complete)

Describe the bug Urlbar is changing width while typing.

Screenshots KmSceMSac8

System info

Aire-One commented 4 years ago

We briefly discussed this very issue in #207.

The workaround we find waiting for a proper fix is to disable flexible spacer next to the urlbar.

SaucySauce commented 4 years ago

https://lifehacker.com/how-to-disable-firefox-75s-new-address-bar-1842728031 this should do it.

SaucySauce commented 4 years ago

I only changed browser.urlbar.openViewOnFocus to false and it was enough.

muckSponge commented 4 years ago

Can confirm, the problem is only present with flexible spacers in the nav bar. If you're ok with it, remove these and the urlbar will stop expanding. If you really need those spacers, you'll need to wait for a fix. I tried the suggested browser.urlbar.openViewOnFocus = false workaround but the problem persists for me. This config setting only changes the behaviour of when the urlbar view pops up. On focus is the new default and disabling this still makes it pop up while typing.

To remove the spacers, do the following:

image image
muckSponge commented 4 years ago

Dup #237 has some good videos so referencing it here.

muckSponge commented 4 years ago

Should be fixed. position: relative was causing some odd behaviour. Can't guarantee this will work properly with non-default about:config urlbar tweaks.