7 ms·
“We would be willing to set up a $2,500 bounty to implement scrollbar styling”
- wodenokoto 12y agoPlease link to the actual place on the page you are referring to. The discussion spans 14 years. https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c188 https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c188
- scrollaway 12y agoI realized my mistake as soon as I pressed send. I can't find a way to edit it. Mods?
- raldi 12y agoI like it better as-is. As the top HN comment mentions, it's very interesting to skim the whole history, and see how times have changed. And how they haven't.
- Aldo_MX 12y ago> The discussion spans 14 years. And this is basically why I hate the obstinacy of Mozilla. It is not difficult to find discussions that spans more than one decade, where the official consensus is "web authors: get screwed, we would rather die than to add X feature". Yet, I will never understand why Mozilla decided to implement some -webkit-prefixes to Firefox not that long ago, since their arguments can be reused in any neverending bug report like this one. I'm against the webkit/blink monoculture that many web authors wished we had, but at this point I don't know what to expect. One part of me applauds whenever a new website (ex. Mega or WhatsApp Web) launches without support for Firefox at day one, because ignoring Firefox is the way Mozilla will eventually stop their obstinacy. But other part of me gets sad, because Firefox is the only feasible alternative the web has against webkit/blink, and the web can't afford to have a weak alternative against a monoculture. I can only hope IE/Spartan to become a feasible alternative, because I can't expect Mozilla to stop their obstinacy until they have no choice.
- mmarx 12y ago> It is not difficult to find discussions that spans more than one decade, where the official consensus is "web authors: get screwed, we would rather die than to add X feature". And yet, this doesn't appear to be the case here: > People, people. We already know what the solution is to be -- binding XBL to pseudo-elements. There is no point commenting here. We all know you want it. If you're not volunteering to fix it, please don't comment at all.[0] Rather, nobody seems to have stepped up to actually implement the feature for the past decade, wich isn't all that surprising since implementing this seems to be quite the effort: > (1) this is a pretty involved bug; it would take weeks to months of work for a full-time engineer[1] [0] https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c125 https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c125 [1] https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c173 https://bugzilla.mozilla.org/show_bug.cgi?id=77790#c173
- frozenport 12y agoShould we consider an anti-bounty system where we agree to pay more to the foundation for not implementing a `feature`? I personally, don't like websites breaking the 4th wall.
- jsprogrammer 12y agoScrollbar style is the 4th wall? How arbitrary can you get?
- sergiotapia 12y agoThe scroll bar is (or should be!) OS-controlled. Why give people the opportunity to muck up the scroll bar and add their crazy ideas. The browser belongs to the user, not the website.
- scrollaway 12y agoYes, those crazy ideas, like styling buttons and text areas. I'm sorry, I can't take this sort of complaint seriously...
- thristian 12y agoAny kind of power, including the ability to style buttons, text-areas or scroll-bars, can be abused. There's always some people that (quite reasonably) feel that widespread abuse of that power justifies withdrawing it, and some people that (quite reasonably) feel that the few really good uses outweigh the potential for abuse.
- scrollaway 12y agoAnd what, exactly, is going to happen if people "abuse" scrollbar styling? Or button styling? Are we here to fight lame design fads by preventing people from building cool apps?
- 12y ago
- SwellJoe 12y agoI was reading through this, just laughing and laughing at how ridiculous it was that people in 2001 thought changing the color of the scroll bar was somehow important or useful. I was all, "Hahah, people were very silly in 2001, and the web was a very silly place." Then, as the years crept ever forward, I began to realize this isn't a blast from the past...it's not like a discussion about the blink tag. It's a real thing that people still actually give a shit about 14 years later! My whole perspective on the thread changed. I'm just gonna say that I have never once, in my entire 20+ years of building things on the web, wanted to change the color of the browser scroll bar. Until I read this thread I wouldn't have even realized someone would want to change the scroll bar. It seems like such an odd thing to do, and I'm imagining it looking silly, like something out of a 2001 page design (but maybe it doesn't look silly when done well). But, I'm not a designer. Maybe I just don't get it. Either way, I use Firefox, and I do not care whether the scroll bar color can be changed. Edit: I don't mean to insult folks who do think this is a useful feature. I'm really just expressing my genuine surprise at the entire tone of the linked thread. I don't oppose inclusion of this feature, and lots of people have mentioned valid reasons why they want it. I will likely never truly understand it, or share that desire, but I'm certainly not gonna get scrappy about it. And, I probably wouldn't even notice, if it did become available in Firefox tomorrow.
- bhouston 12y agoWe do find it useful on http://Clara.io http://Clara.io in the editor (you have to be logged in to see them) -- we have a complex UI and the standard thick scroll bar is ugly and much too large. So we thin them down and simplify the styling so that they fit more into the overall UI. It is a very pleasing difference.
- esrauch 12y agoThis is just my one experience (and you certainly know better the needs of your own product) but you are gaining "that looks nice" in exchange for "this is harder to use because the target is smaller and harder to click".
- 12y ago
- mynegation 12y agoTo the naysayers: styling scrollbars has a very valid use-case. Two IDEs that I use most at work are Visual Studio 2012 and JetBrains PyCharm. I always switch to the dark theme on both, and try to use dark styling whenever possible. Simply because the amount of light from two 24" displays can be overwhelming. Both IDEs style the scrollbars to conform to the dark theme. You cannot do that in browser, unless you resort to emulating the scrollbar, like e.g. CodeMirror did. Light grey scrollbars on otherwise dark screens are immediately noticeable and distracting.
- Swizec 12y ago> Simply because the amount of light from two 24" displays can be overwhelming. Have you ever tried f.lux? Or maybe monitors with variable brightness? (Apple's Thunderbolt displays have a light sensor and adjust automatically, probably others as well)
- scrapcode 12y agoMay I also add that Redshift is an alternative on Linux and there are multiples on iOS and Android. These apps and bright light therapy have done numbers on my shift-work disorder.
- mynegation 12y agoThank you for recommendation, for whatever reason I did not know (forgot) that f.lux works on Windows. f.lux changes color temperature, not brightness. I tried changing overall brightness level with controls, but that unavoidably reduces contrast which is just as bad.
- eru 12y agoOn Linux, you are looking for `redshift'.
- jbeda 12y agoI remember when we first did this on IE5.5. It fell out naturally from some improvements to the rendering system and a dev (forgot his name! Don?) prototyped it to show off his new subsystem. It eventually got supported because, at the time, we would do anything we could to differentiate. Long time ago...
- whoopdedo 12y agoScroll bars stand in an uncomfortable place with one foot on the WM side and the other in the application. The user wants to be able to control the size, scale, and position of the window without asking permission from the app. (And who was the evil programmer who gave web sites the ability to disable zooming? But I digress.) But an app that's at the mercy of the operating system for drawing its scroll bars is going to lose usability if it wants to provide infinite scrolling, or simulate a slide-show with vertical position. In those cases it would be better to let the app control the appearance of the scroll bars. Which is to say, the regular window scroll bar that we're familiar with is being overloaded for two different purposes: to interact with the app and to interact with the WM. Perhaps we should have two scroll bars to avoid this confusion?
- radley 12y agoI think the simple solution is adding a "light/dark" setting for browsers. We certainly don't need every color of the rainbow (omg gross), but this simple option could be universal and solve most requests.
- mikelat 12y agoBetter yet, the browsers should easily be able to predict the dominant color of the page by parsing the CSS file and most of the DOM, and pick a complimentary scrollbar contrast accordingly. Maybe do that and allow override to light/dark.
- jsprogrammer 12y agoOr, just allow the element to be styled like every other thing on the page. Because...why not again? Imaginary 4th wall that the bar is the only thing on the page that should not be stylable? So that it can match the scroll bars of native applications?
- radley 12y agoYou think users want the browser window scroll to change color / shape / width per web page? Wouldn't that get confusing?
- jsprogrammer 12y agoYou think users want their browser text to change color / shape / width per web page? Page scroll is not the only place scrollbars are useful. If you have an overflowing div in the middle of the page, a fat white/grey scrollbar is confusing.
- derefr 12y agoI don't think anyone who wants this wants to change the color. They want to change the shape (border-radius), or make the scrollbar "flat" (no 3D "groove" border), or translucent, or thinner, or etc. etc. etc.
- rappo 12y agoThe bounty should be posted on Bountysource, https://www.bountysource.com/issues/10530078-style-the-scrollbar-binding-moz-horizontal-scrollbar-to-xbl https://www.bountysource.com/issues/10530078-style-the-scrol...
- msie 12y agoIf web apps are to be like native apps then this is something that has to be done.
- userbinator 12y agoIt's worth noting that Firefox's scrollbars, at least on Windows, don't truly behave exactly like the native ones either: https://bugzilla.mozilla.org/show_bug.cgi?id=38467 https://bugzilla.mozilla.org/show_bug.cgi?id=38467
- rasz_pl 12y agorandom website on the internet controlling UI of my client application? where do I _not_ sign up?