| Summary: | Scrollbars invisible on Lion | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Martin Novák <mn> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, eclipse.felipe, lshanmug, markus.kell.r, mn, Silenio_Quarti | ||||
| Version: | 3.7.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Martin Novák
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. |