Closed Bug 390696 Opened 15 years ago Closed 15 years ago

scale thumb too narrow on Windows Vista

Categories

(Toolkit :: XUL Widgets, defect, P4)

x86
Windows Vista
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: steffen.wilberg, Assigned: enndeakin)

References

Details

(Keywords: access, testcase)

Attachments

(3 files)

The thumb on the scale widget is much too small on Windows Vista. IIRC this isn't a problem on Windows XP.
Attached file testcase
Just a vertical and a horizontal <scale>.
Attached image screenshot
Severity: normal → major
Flags: blocking1.9?
I can confirm this bug, I noticed it when using an extension with a slider bar. Specifically a mockup for the solution to Bug 389628. I'd imagine that there are several bugs that depend on this bug being fixed.
Blocks: 333484
Keywords: access
Neil, do we need to use native-theming to get the correct thumb size (can we, even)?
Assignee: nobody → enndeakin
Flags: blocking1.9? → blocking1.9+
The thumb size is a always a fixed size (30x15 or 15x30) set in css and the native theme code is just calling ::DrawEdge with that size.
Blocks: 389628
Ignore that last comment. I was looking at the wrong thing.

The scale thumb is already native themed, but it seems that GetThemePartSize on Vista returns an incorrect value. We may just want to hardcode some values here, or just disable the native theming and use the default css values.

 
Blocks: 401219
No longer blocks: 389628
Priority: -- → P4
Attachment #300657 - Flags: ui-review?(roc)
Attachment #300657 - Flags: review?(roc)
Comment on attachment 300657 [details] [diff] [review]
use a hardcoded size on Vista

booooo Vista!
Attachment #300657 - Flags: ui-review?(roc)
Attachment #300657 - Flags: ui-review+
Attachment #300657 - Flags: review?(roc)
Attachment #300657 - Flags: review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.