News for hackers. Stuff that matters.
Re:“We would be willing to set up a $2,500 bounty to impleme... by SwellJoe on Sunday April 05, 2015 @10:25PM (#9326145)
I 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.

Re:“We would be willing to set up a $2,500 bounty to impleme... by thristian on Sunday April 05, 2015 @10:45PM (#9326208)
I'm not a designer either, but I can see their point of view: they're being paid to make a website internally consistent, and if they can't style scrollbars, then either they're stuck with a bland, vapid style that looks reasonable across all platforms, or they make something that's cool and awesome and makes their clients happy right up until the first scroll-bar appears, at which point it looks ridiculous (in particular, think about a <textarea> where you can style the border to match all your other form-fields, but not the scroll-bar, so you wind up with two visual styles pressed right up against one another). Being responsible for something you can't really control is frustrating for anyone, so I have a measure of sympathy for the designers who want stylable scrollbars.
Re:“We would be willing to set up a $2,500 bounty to impleme... by callmevlad on Monday April 06, 2015 @02:25AM (#9326886)
I'm the guy who offered the bounty, and for us (webflow.com) it's not about styling scrollbars on ordinary websites - it's about making sure application user interfaces are consistent across browsers.

Take a look at this comparison between Chrome and Firefox: https://cloudup.com/c8K9RMqPeDn

Webkit's ability to style scrollbars gives app developers a ton more control over a user interface. Some advantages of Webkit over Firefox here:

* Custom styling without hacky JavaScript "fake scroll" scripts

* Control over the width of a scrollbar

* Better usability for certain use cases by enabling Up and Down buttons

* Scrollbars actually look like they belong inside the application

* Doesn't remind users that they're in a web browser

In my 15+ years of building websites, I never wanted to change the color of the browser scroll bar either. But now I'm building a website that builds websites, so it's a whole 'nother ball game :)

Re:“We would be willing to set up a $2,500 bounty to impleme... by SwellJoe on Monday April 06, 2015 @03:18AM (#9327006)
"Custom styling without hacky JavaScript "fake scroll" scripts"

You've convinced me. I did have someone once send me a design patch that used a JavaScript scrolly implementation, and I found it repulsive on every level, and I immediately rolled back the change and made it clear we would never ship anything like that, ever.

I'm glad you're in a position to motivate someone to implement it with cold hard cash, and I hope it works out.

Re:“We would be willing to set up a $2,500 bounty to impleme... by popnfreshspk on Monday April 06, 2015 @10:43AM (#9328285)
I question the necessity of having to make scroll bars consistent across browsers.

Seeing as how most people only use one browser (data collected out of thin air), wouldn't changing the native styling on a browser scrollbar be confusing for people expecting the native styling?

Re:“We would be willing to set up a $2,500 bounty to impleme... by callmevlad on Monday April 06, 2015 @12:27PM (#9328962)
Please take a look at the screenshot I posted: https://cloudup.com/c8K9RMqPeDn

Assuming you were using Firefox, what would you think about those two white scrollbars that stick out like a sore thumb in a dark interface?

Re:“We would be willing to set up a $2,500 bounty to impleme... by TheLoneWolfling on Monday April 06, 2015 @04:43PM (#9330582)
First off, that doesn't work without JS. I mean really: It's a couple of screenshots.

Secondly, I prefer it. Far too many websites adjust things to the point where it's impossible to actually see. (Case in point: link styling. To the point where I have bookmarklets to remove styling from pages.)

I understand having the option to do so. But at the same time, I wouldn't use said option. To me, readability > aesthetics. And far too many websites don't respect that.

Please read JS;DR: http://tantek.com/2015/069/t1/js-dr-javascript-required-dead

Re:“We would be willing to set up a $2,500 bounty to impleme... by scrollaway on Monday April 06, 2015 @09:21PM (#9331526)
Er, what?

You need to start differenciating between "documents" and "applications". What GP linked is a full-blown application. There's no "non-javascript" version of it.

I have been watching comments here and it is absolutely infuriating how it's very obviously armchair designers with zero experience in the field who are yelling out "aesthetics don't matter, scrollbars should always look like my system's scrollbars".

First of all, that is a ridiculous statement. On Linux for example there is no "system scrollbars", the styling is up to the toolkit and it is different in every single web browser out there. There's no consistency to be had across applications.

Second of all, every other toolkit element can be styled. Buttons. Dropdown menus. Text fields. Everything. They can all be styled not so your "documents" will be less readable, but so that developers and designers are empowered to create applications that look good, feel fluid, native, consistent.

They can be styled because applications can be more than just 20-input field forms. Native applications have the power to style their scrollbars (and they do so all the time), so web applications need it too to match such capabilities. We're not talking about an unused feature here.

And to those complaining about scrolling behaviour, accessibility etc: Those are the exact reasons why we need scrollbar styling. Because when your company is hounding you to have scrollbars that don't look out of place on a major browser "and look, our competition does it", you're realistically not just going to tell them "well, uh, readability is important". You're going to use fake, pure-js scrollers and accessibility will suffer. Everybody loses.

This isn't about purple scrollbars for your text documents.

Re:“We would be willing to set up a $2,500 bounty to impleme... by TheLoneWolfling on Monday April 06, 2015 @11:10PM (#9331823)
From my perspective, at the very least, the link was a means of showing a couple of screenshots.

Is it a full-blown application? Sure, I guess. But I could care less about that.

The actual content is a couple of screenshots - not exactly something that requires JS.

Also, I'm not speaking about designers at all. I am not a website designer, and never claimed to be one.

I'm speaking as someone who uses a web browser. As I said earlier: To me, readability > aesthetics. Especially as I'm often on-the-go. Things that look better but are lower contrast are often unreadable when you've got any amount of glare on the screen.

I use one web browser for the majority of my browsing. So yes, there is consistency. I'm not talking about across applications, I'm talking about within an application.

It may not be about purple scrollbars for your text documents, but that's what it will largely end up being used for.

And yes, native applications have a greater power to style things. But there is a distinction. Native applications inherently require greater trust. I'm not going to install any random application that comes my way.

Also, there are applications I stay away from precisely because of that - precisely because they have weird styling, and weird UIs. Case in point: Github's desktop application. Great program - or would be if I could get over the UI. But as is, I don't tend to use it.

That being said, it's a bit of a moot point regardless. It's just yet another thing I'll add to the list of bookmarklets to disable things to make websites readable. Along with many of the other things you mention as people being able to style as features.

Re:“We would be willing to set up a $2,500 bounty to impleme... by scrollaway on Tuesday April 07, 2015 @01:13AM (#9332130)
> It may not be about purple scrollbars for your text documents, but that's what it will largely end up being used for.

Taking away freedoms from developers should only ever be done for security reasons. Not because you're scared they'll "misuse it and make ugly apps". Who cares about "ugly apps"? They are weeded out over time by natural selection.

Re:“We would be willing to set up a $2,500 bounty to impleme... by dangrossman on Sunday April 05, 2015 @10:49PM (#9326224)
If you'd like to know what a custom CSS scrollbar looks like in practice, in 2015, log in to your Google Analytics account (I noticed you use it on your website) with Chrome. Not only do people want to change the scroll bar, but probably half the internet-using population sees custom scroll bars daily, since Google uses them heavily (Gmail, Docs, etc as well).
Re:“We would be willing to set up a $2,500 bounty to impleme... by dredmorbius on Monday April 06, 2015 @08:58AM (#9327812)
Google's screwing with scrollbars, especially, making them so damned tiny I cannot use them, is among the reasons I looked up how to style scrollbars -- so I could set my own local default style in a user stylesheet and override idiot Web designers (or their idiot clients) who think they know better than I do what I want.

What I've ended up with is actually fairly close to the Mac OS X scrollbar, though I kind of got there by accident.

And no, in general, I wouldn't impose this on other people on a site I built. Leave stock UI interfaces alone.

http://codepen.io/dredmorbius/pen/azrmZW

Re:“We would be willing to set up a $2,500 bounty to impleme... by jsprogrammer on Sunday April 05, 2015 @11:31PM (#9326326)
I don't necessarily want to change the color (although, why not?), I mostly just want to change the width of the bar. Having a huge, fat, white and grey scroll-bar on an overflowed `div` right in the middle of my sleek, dark-themed site with integrated 3D (both CSS and WebGL) elements just sticks out more than a huge, swollen thumb. For now I've set `direction: rtl;` so that it blends into the left-side of the page and is hopefully overlooked by most people.
Re:“We would be willing to set up a $2,500 bounty to impleme... by bhouston on Sunday April 05, 2015 @10:36PM (#9326174)
We do find it useful on 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.
Re:“We would be willing to set up a $2,500 bounty to impleme... by esrauch on Sunday April 05, 2015 @10:41PM (#9326194)
This 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".
Re:“We would be willing to set up a $2,500 bounty to impleme... by NathanKP on Sunday April 05, 2015 @11:30PM (#9326325)
The action of clicking the scrollbar is more of an edge case than a significant design cornerstone these days. Most people are going to be scrolling with a mouse wheel, or a two finger swipe on their touchpad, etc. Clicking and dragging a control is slower, and a fundamentally bad experience in the first place.

The only practical purpose of the scrollbar in modern design is to serve as a visual indicator that an area can be scrolled, and to show location and scale.

If you have a reasonably complicated web app there is a good chance you are going to need a scrolling view inside your page. You still need a scrollbar to show that the area can be scrolled, but using the default control styling looks really ugly.

Re:“We would be willing to set up a $2,500 bounty to impleme... by DanBC on Monday April 06, 2015 @06:30AM (#9327376)
> edge case

A large chunk of those edge cases are people with disabilities.

I have colleagues with a variety of learning disabilities. They strongly reject the label "disability".

"Dan, when someone gives me a document that I can't understand, and I tell them that I can't understand it, they often say 'well, of course you dont understand it, you are learnig disabled'. So what they're doing is transferring the blame for the lack of understanding from them to me. It's somehow my problem that I don't understand this document. But here's the thing: it's not my job to understand that document. I don't get paid to understand that document. It is their job to provide information in a meaningful accessible way, and they've failed. In this country they might even have a legal duty to make the information accessible. Or they might be paid from public funds to make the information accessible. I'm not disabled unless you chose to disable me."

This strong challenge echoes what some people with physical disabilities say: "my wheelchair is not the problem. You putting a step in front of your shop is the problem; you holding meetings in inaccessible buildings is the problem."

This kind of styling makes things slower, harder to use, more expensive to build and maintain. Just worse overall. The web would be a better place if people stopped doing it.

Re:“We would be willing to set up a $2,500 bounty to impleme... by regularfry on Monday April 06, 2015 @02:17AM (#9326869)
> Most people

Really? Have you got any numbers for this, or are you actually saying "this is how I use it, and I presume most people are like me"? Because what you're saying simply isn't true for me.

When I'm reading a long block of content, I'll often click the scroll thumb and keep it clicked, using either the mouse or trackpad (or trackball, for that matter) to seek proportionally through the page. You don't get that proportionality of motion with either the mouse wheel or the two-finger trackpad gestures which mimic it.

The "most people" argument you're making is what leads to broken ideas like infinite scrolling, which appeals to one subset of the population who assume that everyone else uses their UI in precisely the same way that they do.

Re:“We would be willing to set up a $2,500 bounty to impleme... by NathanKP on Monday April 06, 2015 @11:59AM (#9328773)
So given that you like to use the scrollbar in that matter which would you rather see:

1) A native scrollbar that is restyled to match the colors of the webpage it is in? 2) A janky web view with scrollbars hidden and then reimplemented in JS which doesn't function they way you want it to?

Like it or not designers usually don't spend time on the subset of the audience that clicks and drags the scrollbar. They spend time drawing a pretty looking scrollbar.

When it comes to the implementation personally I think it still better to have a scrollbar that functions the way you expect it to, even if it looks a little different, rather than ending up with many different reimplementations of the scrollbar by different programmers.

Re:“We would be willing to set up a $2,500 bounty to impleme... by regularfry on Tuesday April 07, 2015 @05:31AM (#9332771)
Of the two, 1) is the less bad option. This seems obvious to me. It is wrong to treat the scroll bar as only visual element and not an input element; that's what I take issue with.

> Like it or not designers usually don't spend time on the subset of the audience that clicks and drags the scrollbar. They spend time drawing a pretty looking scrollbar.

If the designers in question, who are working on a user interface element, don't consider how users will interface with it, it's fair to criticise them for not doing their jobs.

Re:“We would be willing to set up a $2,500 bounty to impleme... by TheLoneWolfling on Monday April 06, 2015 @04:45PM (#9330593)
3) Overriding the removal of the default scrollbar so I can actually use a scrollbar that works.
Re:“We would be willing to set up a $2,500 bounty to impleme... by aptwebapps on Sunday April 05, 2015 @10:56PM (#9326245)
I don't think it's just the browser's scrollbars one the side, and sometimes the bottom, of the page. It's all scrollbars inside the page as well. They're traditionally considered part of the OS UI so are left alone. At the moment, people who really want to change the scrollbars internal to the page can replace them with js scrollbars.
Re:“We would be willing to set up a $2,500 bounty to impleme... by baby on Sunday April 05, 2015 @11:59PM (#9326410)
I'm surprised to see this point of view upvoted so much. If you browse the web through chrome you might not notice it because you can style the scrollbar in chrome.

But if you scroll the same websites in Firefox (which is my main browser), those will stand out. It's not only the scrollbar of the page, it's also any scrollbar that you can see inside a iframe or a textarea or really any divs with overflow:scroll;

If you think this is silly then you must think CSS and styling page is silly

Re:“We would be willing to set up a $2,500 bounty to impleme... by SwellJoe on Monday April 06, 2015 @12:19AM (#9326492)
I think it has to do with my approach to the web, and my preferences for web design. I like minimalism, generally speaking, and I like consistency. I think Google UIs are fine. But, I don't use Chrome, so I don't know what the difference is. Maybe it would be amazing with custom-styled scrollbars. But, I'm content with them looking like my native OS scrollbars (I use Linux/Gnome 3, so they are grey, flat, and slim; quite unobtrusive on any page, whether light or dark).

I also tend to find most dark web designs (which is what a lot of these comments are talking about) just plain ugly. So, that's another factor. I've never made a dark website or web UI.

All of this is opinion, of course. My opinion should probably matter less than someone that really cares a lot about it.

I think it's silly because I think the way so many people approach web design is silly. Standardized UI components are not a bad thing. They are a very good thing. I like it when web pages look like they belong on my computer screen.

Re:“We would be willing to set up a $2,500 bounty to impleme... by baby on Wednesday April 08, 2015 @03:37AM (#9339222)
> dark web designs

It's not only dark web designs. Actually if you look at any native application on your OS you will see "styled" scrollbars. And that never shocked you because they are styled according to the app.

> I like it when web pages look like they belong on my computer screen.

This is what "view > page style > no style" is for.

CSS was created to "style" page, and the scrollbar is part of the page. That you like CSS or not it seems silly to say that the scrollbar is the limit where you can style everything BUT the scroll bar on a page.

Re:“We would be willing to set up a $2,500 bounty to impleme... by DanBC on Wednesday April 08, 2015 @04:02AM (#9339279)
The scroll bar isn't part of the page. A scroll bar appearin or not is controlled by the window size, and that's controlled by the browser and window manager and those are controlled by the user.

The page designer has no control over the display size.

Re:“We would be willing to set up a $2,500 bounty to impleme... by baby on Friday April 10, 2015 @12:15AM (#9352548)
I understand what you are trying to say. It's hard to realize when you are not looking at it but actually, any field with "overflow:scroll" has a scroll bar. And you can control the size of those fields. If you pay attention you will see that a huge amount of websites do have scrollbars in their design, many avoid them because they can't be stylized in firefox, and many use javascript to try to style them.
Re:“We would be willing to set up a $2,500 bounty to impleme... by DanBC on Monday April 06, 2015 @06:48AM (#9327413)
The web today is two things: a document delivery system; and an app delivery system.

Sadly the two functions have merged and so people deliver their documents in their apps. It's incredibly restrictive and a step backwards. Content that would be fine with a bit of html and css and leave the browser to display it is now wrapped up in extra css and javascript just because PHBs and bad designers insist on pixel perfect cross browser design.

Re:“We would be willing to set up a $2,500 bounty to impleme... by dredmorbius on Monday April 06, 2015 @09:18AM (#9327906)
Actually, there are at least two more functions:

1. A media interface / playback system for audio/video content.

2. A commerce platform.

Arguably, a communications platform for both realtime interactive and asynchronous messaging. Some of that probably arguably does belong in the browser, though much could go elsewhere.

The problems that accompany this are not just the complexity you describe, but bloat, security nightmares, stability and interactivity issues, and more.

I started calling for at least a 4-way split about a year ago, and I suspect it may emerge, though through simplified tools (likely eBook readers) acquiring more web-like capabilities.

https://www.reddit.com/r/dredmorbius/comments/256lxu/tabbed_...

The increasing tendency of browser vendors to incorporate Readability (or similar functionality) directly into their browsers seems to be one positive sign that there's an awareness of the problem.

Re:“We would be willing to set up a $2,500 bounty to impleme... by vvpan on Sunday April 05, 2015 @11:03PM (#9326263)
So in 20+ years of building things you haven't worked with a designer who customized scroll-bars? It as if you haven't worked with a designer at all.