Closed Bug 26828 Opened 25 years ago Closed 15 years ago

Platform-specific look+feel for <scrollbar>

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pete, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: platform-parity, Whiteboard: Stage 1: [Win ???%][Mac ???%][GTK ???%])

Attachments

(1 file)

Scrollbar update. 

Now you can easily change the type of scrollbar you want to use. 

Extract this tarball at the top of your chrome directory. 

Enter the path to the desired scrollbar you would like at the very top of
xul.css ( must be the first line ). 

Here are the options: 

For Mac scrollbars you would enter this path: @import
url("chrome://global/skin/MAC/style/scrollbar.css"); 

For GTK scrollbars: @import url("chrome://global/skin/GTK/style/scrollbar.css"); 

For Win scrollbars: @import url("chrome://global/skin/WIN/style/scrollbar.css"); 

For the good old moz default: @import url("resource:/chrome/scrollbar.css"); 

This works real good for me here. And makes switching scrollbars much easier to
do. 

Next step is to incorporate this into the GUI somewhere. 

Enjoy 

pete
Ben takes UI patches.  This is really cool, and would probably work well in a 
conservative skin, when one gets off the ground.
Assignee: hyatt → ben
erm.. my "conservative" skin is not designed to match any native set exactly... 
I'm going to assign this back to the reporter rather than close as "WONTFIX" 
because if we are presented with a native skin(s), we'll gladly accept them. 
Assignee: ben → pete
hyatt is right, this is cool, so cc'ing self on this.
Well one way we can think of it is the start of a "native" widget library to add
to the existing xptoolkit lib.  An extension so to speak.

This way there is more stuff xul authors can dip into when building UI's so they
don't have to keep making things from scratch. Or keep grabbing stuff from the
ng's.

Also to ease the pain of those who would like to see a "native looking" widget
library get off the ground.

Having this code around shouldn't get in the way of things i think.
This scrollbar package could be the first step towards this direction.
Right now it is pretty modular.

Like i said in the UI ng, i will take on all bugs associated with these
particular scrollbars.

Thoughts??

pete
Ben, a conservative skin which does not use native-look-and-feel widgets is not 
a conservative skin. Anything except the native look and feel, which people are 
used to from clicking on thousands and thousands of times, is extremely 
*radical*. Dissident, even.

As for setting the scrollbar style via a pref in the UI, I really doubt that 
more than 0.1 percent of users would want to use (for example) Windows scroll 
bars on MacOS. So, to avoid adding clutter and confusion for the other 99.9 
percent, this pref should not be in the UI; it should be one you have to edit 
the prefs.js manually for.
I am accepting this bug. I am not to sure if i should be though?
Status: NEW → ASSIGNED
spam, open xptoolkit qa contact moving over to jrgm
QA Contact: paulmac → jrgm
*** Bug 22769 has been marked as a duplicate of this bug. ***
Blocks: 39375
Keywords: pp
OS: other → All
Hardware: Other → All
Summary: GFX scrollbars do not reflect "native" scrollbars → Platform-specific look+feel for <scrollbar>
Whiteboard: Stage 1: [Win ???%][Mac ???%][GTK ???%]
Depends on: 16277
Depends on: 35996
For GTK at least, a mozilla-GFX-scrollbar simulation of the `native' scrollbar
is not good enough.  Many people using GTK use themes which make the scrollbar
look quite different than the (rather clunky) default, and these faux native
scrollbars are even more jarring in this context than the default mozilla ones
(after all, at least the default mozilla scrollbars match the other mozilla
widgets)!
Does this still work? I asked for something similar in bug 83311 (use fake
native scrollbars in Modern theme) but it was rejected.
I doubt it, i made these scrollbars in Feb 2000. 

--pete
Blocks: 64866
is this bug still relavent?
I very much doubt this bug is still relevant.
Assignee: pete → general
Status: ASSIGNED → NEW
QA Contact: jrgmorrison → ian
Not an XBL core issue.  Just an issue with an XBL consumer.
Assignee: general → jag
Component: XBL → XP Toolkit/Widgets
QA Contact: ian → jrgmorrison
Assignee: jag → nobody
Given that we've had native-theme scrollbars for years, I think this is WORKSFORME.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: