Skip to content
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

Scrollbars autohide even with System PreferencesGeneralShow Scroll Bars set to "Always" #19

Closed
Wowfunhappy opened this issue Oct 27, 2024 · 23 comments

Comments

@Wowfunhappy
Copy link

Wowfunhappy commented Oct 27, 2024

In OS X's "General" Preference Pane, there is a setting called "Show scroll bars" with three options (not in the below order):

  1. When Scrolling. Scrollbars will hide and show automatically, a la iOS.
  2. Always. Scrollbars will always be visible, a la most desktop operating systems prior to the late 2000s.
  3. Automatic. The default setting. Acts like #1 if a trackpad is connected, otherwise like #2.

In Firefox Dynasty, scrollbars always hide automatically regardless of which option is selected or what input device is in use.

@RJVB
Copy link

RJVB commented Nov 8, 2024

I guess that's because of layout.testing.overlay-scrollbars.always-visible in about:config . Set it to True and your scrollbars remain visible.

That said, in my Waterfox-G3 browser the same option exists but keeping it to "false" doesn't force the scrollbars to hide.

Does stock FF on 10.15+ do the right thing or is this indeed FF not respecting an OS setting?

@Wowfunhappy
Copy link
Author

Does stock FF on 10.15+ do the right thing or is this indeed FF not respecting an OS setting?

Stock FF 78 definitely respected OS settings, so I assumed it still does. Unfortunately I don't have easy access to vanilla modern Firefox. If this is in fact an upstream issue I'll close the ticket.

@RJVB
Copy link

RJVB commented Nov 8, 2024 via email

@Wowfunhappy
Copy link
Author

But from what I understand an application that uses this system API doesn't have the option to set scrollbars to hide automatically, only to set them to a legacy (pre-10.7) style instead of overlay style.

The "overlay" style means autohiding, aka what FF Dynasty does at the moment. But I assume Firefox doesn't literally use the system scrollbar, it draws its own to mimic the system one.

@RJVB
Copy link

RJVB commented Nov 8, 2024 via email

@RJVB
Copy link

RJVB commented Nov 8, 2024 via email

@Wowfunhappy
Copy link
Author

Apparently it does, and this is the 1st revision where it sets the preferred scroll style to "overlay":

Wow!!! Thank you for checking this. I'm sorry, I should have done that myself, it just never occurred to me Firefox would be this stupid.

@Wowfunhappy
Copy link
Author

Wait I misunderstood, you were just saying it uses the system scrollbar, not that this problem necessarily exists in upstream Firefox.

I'm still going to leave this issue closed until I'm sure this isn't an upstream problem.

@RJVB
Copy link

RJVB commented Nov 8, 2024 via email

@Wowfunhappy Wowfunhappy reopened this Jan 2, 2025
@Wowfunhappy
Copy link
Author

I was able to confirm this is not an issue in upstream Firefox.

@RJVB
Copy link

RJVB commented Jan 2, 2025

Auto-hide how/when?

They don't for me (10.9.5):
Screen Shot 2025-01-02 at 22 56 02

@Wowfunhappy
Copy link
Author

Wowfunhappy commented Jan 2, 2025

@RJVB Wow! That's so weird! For me they hide a few seconds after I stop scrolling, as if on mobile (or, as is expected on macOS 10.7+ when System PreferencesGeneralShow Scroll Bars is set to When Scrolling).

I've tested in a clean VM, many times!

@RJVB
Copy link

RJVB commented Jan 2, 2025 via email

@Wowfunhappy
Copy link
Author

Maybe that's the reason? I suppose there's not a single form of hardware acceleration in the VM host you're using?

Well, it doesn't work outside the VM either.

@Wowfunhappy
Copy link
Author

@RJVB I hate to ask but I am immensely curious if the scrollbars still show up for you in a fresh profile. Like if you run in Terminal:

/Applications/Firefox.app/Contents/MacOS/firefox --profile $HOME/Desktop/deleteMeLater

Do the scrollbars show up?

@RJVB
Copy link

RJVB commented Jan 3, 2025 via email

@Wowfunhappy
Copy link
Author

Huh! What is going on?

Can anyone else on Mavericks chime in? Do the scrollbars appear permanently when you change the setting in System Preferences?

@i3roly
Copy link
Owner

i3roly commented Jan 3, 2025

you're the greediest person i know @Wowfunhappy. you really earned the "wow" in your name.

peep the latest 134 and it should be fixed.

@i3roly
Copy link
Owner

i3roly commented Jan 3, 2025

yo @bag-xml i know you gonna bob ya head to this one

IMAGE ALT TEXT HERE

i have a fringe theory that CANADIAN scott storch was the ghost pianist. it reeks of him. post-2001 after still dre. it has to be him. no one else could do it at that time.

don't let the bubbling sounds at the beginning give you any ideas lol!

@bag-xml
Copy link

bag-xml commented Jan 3, 2025

lol 😭

@RJVB
Copy link

RJVB commented Jan 3, 2025 via email

@Wowfunhappy
Copy link
Author

Yes it's fixed! Thank you!

(I guess we don't know why RJVB's Firefox had magic powers?)


you really earned the "wow" in your name.
(let's hope the 2nd component is "fun" and not just "f" ? ^^)

Fun fact, I came up with this username on a whim when I was 11 years old. Now it's my online identity and I can't change it. A warning to any child reading this, pick your username carefully!!!

@RJVB
Copy link

RJVB commented Jan 3, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants