Closed
Bug 120779
Opened 23 years ago
Closed 22 years ago
Theme buttons/scrollbars jiggle
Categories
(Core :: XUL, defect, P5)
Tracking
()
RESOLVED
FIXED
mozilla1.0
People
(Reporter: mikepinkerton, Assigned: mikepinkerton)
References
Details
(Keywords: topembed+)
Attachments
(1 file, 1 obsolete file)
777 bytes,
patch
|
Details | Diff | Splinter Review |
The new theme implementation of aqua widgets exhibits jiggling hover. This is caused by the theme code being given different rects to draw in at different times, offset by a pixel or two from one time to the next. I'm pretty sure it's a transformation/rounding problem, but I haven't been able to prove it yet.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
sounds like other platforms (those where the twips/pixel is different from win32) are having problems just like these.
Depends on: 97861
Assignee | ||
Comment 2•23 years ago
|
||
we need to ensure that mPixelsToTwips is integral. This patch (taken from an old gtk patch) will do that. However, it still doesn't fix the issues with jiggling scrollbars.
Assignee | ||
Comment 3•23 years ago
|
||
can i get some r/sr love on this patch? dcone, care to look at the deviceContext changes? they mimic what dbaron did last year on gtk.
Comment 4•23 years ago
|
||
sr=hyatt
Does int/double produce int, or double? Don't you need to round the first line to really ensure it's an integer? BTW, October 1999 was more than two years ago. :-)
Assignee | ||
Comment 6•23 years ago
|
||
make sure we round.
Attachment #66015 -
Attachment is obsolete: true
Assignee | ||
Comment 7•23 years ago
|
||
dbaron: better? i verified in the debugger (even before i added the explicit rounding) that mPixelsToTwips is 15.0.
sure, r=dbaron either way (although the second might be clearer). I just wasn't sure what double/int division does.
Comment 10•23 years ago
|
||
int/double or double/int promotes the other operand to double, and the result is double. /be
Updated•23 years ago
|
Keywords: mozilla0.9.8+
Assignee | ||
Comment 11•23 years ago
|
||
where did 099 go? was i asleep? was i dreaming? this is not my beautiful house. this is not my beautiful wife.
Target Milestone: mozilla0.9.9 → mozilla1.0
Comment 12•23 years ago
|
||
nsbeta1+/topembed+ per ADT triage team/Chris Saari. How did I get here?
Assignee | ||
Comment 13•23 years ago
|
||
this will go away as part of the scrollbar rewrite in 115758
Depends on: 115758
Priority: P1 → P5
Assignee | ||
Comment 14•22 years ago
|
||
fixed with native widgets in 121440
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•