Closed
Bug 155053
Opened 21 years ago
Closed 17 years ago
Make the spinbuttons a real widget
Categories
(SeaMonkey :: Themes, defect)
SeaMonkey
Themes
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: john, Assigned: enndeakin)
References
(Blocks 1 open bug)
Details
Attachments
(7 files, 2 obsolete files)
82 bytes,
image/gif
|
Details | |
80 bytes,
image/gif
|
Details | |
81 bytes,
image/gif
|
Details | |
80 bytes,
image/gif
|
Details | |
30.70 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
19.36 KB,
patch
|
neil
:
review-
neil
:
superreview+
|
Details | Diff | Splinter Review |
19.32 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
spinbuttons.css refers to icons that are no longer there. In Classic, http://lxr.mozilla.org/seamonkey/source/themes/classic/global/mac/spinbuttons.css and http://lxr.mozilla.org/seamonkey/source/themes/classic/global/win/spinbuttons.css have referances like this .up { list-style-image: url("chrome://global/skin/spinbtn-up.gif") } All icons were removed from the global directory in December. No new directory was created to hold these icons. In Modern, http://lxr.mozilla.org/seamonkey/source/themes/modern/global/spinbuttons.css refers to .up { list-style-image: url("chrome://global/skin/spinbuttons/btn-up.gif"); } There is no spinbuttons directory holding these icons.
![]() |
||
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•21 years ago
|
||
This did work, I know glazou used the spinbuttons widget in his XUL application; someone broke it, and it sure wasn't me! :-) CC'ing some random people, does anyone have any idea?
Comment 3•21 years ago
|
||
Yes, I do use spinbuttons
Hakan or Daniel, can one of you guys please commit the missing images into the tree, this way we can have a go with the buttons, I don't have a clue what they do/can do yet.
Reporter | ||
Comment 5•20 years ago
|
||
Reporter | ||
Comment 6•20 years ago
|
||
Reporter | ||
Comment 7•20 years ago
|
||
Reporter | ||
Comment 8•20 years ago
|
||
Reporter | ||
Comment 9•20 years ago
|
||
I Found Copies of the missing icons and added attached them to this bug.
Comment 11•19 years ago
|
||
This should so be done with CSS borders and backgrounds.
Comment 12•19 years ago
|
||
(In reply to comment #11) > This should so be done with CSS borders and backgrounds. Right.
Comment 13•19 years ago
|
||
*** Bug 276146 has been marked as a duplicate of this bug. ***
Comment 14•19 years ago
|
||
I'm going ask for 1.1 blocking on a couple of spinbutton bugs. We have been trying to use them in our ForcastFox extension, but they won't theme correctly since we have to supply our own images.
Flags: blocking-aviary1.1?
Updated•18 years ago
|
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Comment 15•18 years ago
|
||
*** Bug 319088 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•18 years ago
|
||
Morphing this bug into one about making the <spinbuttons/> a real XUL element with propery properties, methods and events, etc.
Assignee: daniel → enndeakin
Blocks: 260487
Summary: Spinbutton icons missing in Classic and Modern skins. → Make the spinbuttons a real widget
Assignee | ||
Comment 17•17 years ago
|
||
Attachment #225034 -
Flags: superreview?(roc)
Attachment #225034 -
Flags: review?(roc)
Assignee | ||
Comment 18•17 years ago
|
||
Attachment #225036 -
Flags: review?(neil)
Comment 19•17 years ago
|
||
I can't see any code that draws the spinbuttons on Windows 2000 or BeOS?
Assignee | ||
Comment 20•17 years ago
|
||
Added to Windows spinbuttons.css, but otherwise unchanged. The only issue is that for xpfe, the spinbuttons appears too tall, but I can't figure out what the reason for that is. Different images, maybe?
Attachment #225036 -
Attachment is obsolete: true
Attachment #226165 -
Flags: review?(neil)
Attachment #225036 -
Flags: review?(neil)
Comment on attachment 225034 [details] [diff] [review] native theme changes for spinbuttons mostly a rubber-stamp...
Attachment #225034 -
Flags: superreview?(roc)
Attachment #225034 -
Flags: superreview+
Attachment #225034 -
Flags: review?(roc)
Attachment #225034 -
Flags: review+
Comment 22•17 years ago
|
||
(In reply to comment #20) >The only issue is that for xpfe, the spinbuttons appears too tall, but I can't >figure out what the reason for that is. Different images, maybe? You're using the 11x11 arrow images that Classic has. Strangely on my XP build the spinbuttons has a height of 22. Where did the borders go? I'm worried that the native theme code is overriding the border size even when it's not painting.
Comment 23•17 years ago
|
||
I removed the -moz-appearance and it makes makes things look as expected. I'd say that's bad :-( Obviously if I was using Luna then I would expect it to override the size.
Comment 24•17 years ago
|
||
The Modern styles are forcing the image to be 2px high which seems odd.
Assignee | ||
Comment 25•17 years ago
|
||
- fix up modern theme appearance - for Classic themes, use background images for spinbuttons rather than list-style-images
Attachment #226165 -
Attachment is obsolete: true
Attachment #228842 -
Flags: superreview?(neil)
Attachment #228842 -
Flags: review?(neil)
Attachment #226165 -
Flags: review?(neil)
Comment 26•17 years ago
|
||
Comment on attachment 228842 [details] [diff] [review] fix sizing issues Well the good news is that the Modern theme looks quite nice. However, I'd say the Classic theme still has issues. * I hunted around my RH7.3 linux box for some spinbuttons and found some that were 15x22 so I'm not sure where your dimensions came from. * On Windows 2000, or Windows XP with Classic theme, the default height of the spinbuttons is zero. That's right, you don't even get any borders. * On either platform, if you disable (or don't have) themeing (I do this because I don't like the GTK native themeing) then you do get to see the borders, but you have to set a height to see the arrows. * Once I'd done that I noticed that an odd width looks better. In fact I'd say an odd width looks better in Modern too.
Attachment #228842 -
Flags: superreview?(neil)
Attachment #228842 -
Flags: superreview+
Attachment #228842 -
Flags: review?(neil)
Attachment #228842 -
Flags: review-
Assignee | ||
Comment 27•17 years ago
|
||
The spinbuttons look the right size on my FC4 system, comparing to various preference panels. Are you using gtk1?
Attachment #228991 -
Flags: review?(neil)
Comment 28•17 years ago
|
||
Comment on attachment 228991 [details] [diff] [review] Fix issues described above by setting a minimum height Still hacky but at least it works...
Attachment #228991 -
Flags: review?(neil) → review+
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 29•17 years ago
|
||
So it looks as if the problem with the Classic theme was that when Classic themeimg was first written not all of the Classic* functions were implemented for spinbuttons, in they are given neither size, border nor background.
Updated•15 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•