Closed
Bug 26828
Opened 25 years ago
Closed 15 years ago
Platform-specific look+feel for <scrollbar>
Categories
(Core :: XUL, defect, P3)
Core
XUL
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)
(deleted),
application/octet-stream
|
Details |
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
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
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
Comment 3•25 years ago
|
||
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
Comment 4•25 years ago
|
||
hyatt is right, this is cool, so cc'ing self on this.
Reporter | ||
Comment 5•25 years ago
|
||
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
Comment 6•25 years ago
|
||
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.
Comment 7•25 years ago
|
||
SIGH
Reporter | ||
Comment 8•25 years ago
|
||
I am accepting this bug. I am not to sure if i should be though?
Status: NEW → ASSIGNED
Comment 9•25 years ago
|
||
spam, open xptoolkit qa contact moving over to jrgm
QA Contact: paulmac → jrgm
Comment 10•25 years ago
|
||
*** Bug 22769 has been marked as a duplicate of this bug. ***
Updated•24 years ago
|
Comment 11•24 years ago
|
||
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)!
Comment 12•23 years ago
|
||
Does this still work? I asked for something similar in bug 83311 (use fake
native scrollbars in Modern theme) but it was rejected.
Reporter | ||
Comment 13•23 years ago
|
||
I doubt it, i made these scrollbars in Feb 2000.
--pete
Comment 14•20 years ago
|
||
is this bug still relavent?
Comment 15•19 years ago
|
||
I very much doubt this bug is still relevant.
Assignee: pete → general
Status: ASSIGNED → NEW
QA Contact: jrgmorrison → ian
Comment 16•19 years ago
|
||
Not an XBL core issue. Just an issue with an XBL consumer.
Assignee: general → jag
Component: XBL → XP Toolkit/Widgets
QA Contact: ian → jrgmorrison
Updated•16 years ago
|
Assignee: jag → nobody
Comment 17•15 years ago
|
||
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.
Description
•