Community
Participate
Working Groups
Build Identifier: 20110916-0149 I have dark editor background in Eclipse, and Lion is set to show scrollbars only when I'm scrolling. Eclipse really shows the scrollbars, but as they are dark as well, they cannot be seen easily. They blur with the background. I think they should be of opaque colour than the background of the editor. Also, please note that there is a small area in the bottom where there are some remaining gray instead of normal background. See the screenshot, please. Reproducible: Always Steps to Reproduce: 1. Set the Lion scrollbars to hide (Show scrollbars when scrolling in system prefs) 2. Set the Eclipse editor background to something dark. #0c162c (12,28,60) in my case 3. Try to scroll in the editor.
Created attachment 206769 [details] Screenshot of the problem
*** This bug has been marked as a duplicate of bug 352990 ***
Moving to SWT for the hardly visible scrollbar. I guess we don't have control over the scrollbar color. At least SWT clients shouldn't have to care about this, but I also think SWT shouldn't have to do anything special. Looks like a bug for Apple. The OS should deal more gracefully with this situation. Spawned bug 363482 for the gray box in the line number ruler.
.
If you open http://www.w3schools.com/cssref/css_colors.asp in Safari and reduce the window width, you can see that Apple doesn't address this problem in a general way. But in Terminal.app, they make the scroll bars gray when the background is too dark.
(In reply to comment #3) > Moving to SWT for the hardly visible scrollbar. > > I guess we don't have control over the scrollbar color. At least SWT clients > shouldn't have to care about this, but I also think SWT shouldn't have to do > anything special. Looks like a bug for Apple. The OS should deal more > gracefully with this situation. I was looking into Cocoa docs, and there is just one possibility how to handle this - setKnobStyle (see the link bellow). So, it's possible just to set light/dark scrollbar. And this is how I think it should be handled. If you have dark background colour, set the know style to light. But maybe, it might be handled SWT. http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html#//apple_ref/occ/cl/NSScroller
(In reply to comment #5) > If you open http://www.w3schools.com/cssref/css_colors.asp in Safari and reduce > the window width, you can see that Apple doesn't address this problem in a > general way. Yeah, that's true. It looks like they don't handle the scrollbar colour by the content, but by colour of the background...
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.