Closed
Bug 398471
Opened 17 years ago
Closed 17 years ago
Widgets translated incorrectly when there is a complex transform.
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: cbarrett, Assigned: cbarrett)
References
Details
Attachments
(2 files)
1.30 KB,
text/xml
|
Details | |
2.08 KB,
patch
|
vlad
:
review+
vlad
:
approval1.9+
|
Details | Diff | Splinter Review |
See testcase. Notice how the dropdown's widget does not match up with its text.
The fact that it draws incorrectly is different bug (will be fixed by using NSCell), as is the push button not drawing right (we should be doing the scaling for buttons using a scale transform, not an offscreen buffer).
Attaching patch shortly.
Assignee | ||
Comment 1•17 years ago
|
||
Instead of modifying the origin of macRect, apply a transform with the offset first. This results in further rotates correctly being applied to the device offset.
Should vlad look at this too?
Attachment #283460 -
Flags: review?(joshmoz)
Attachment #283460 -
Flags: review?(joshmoz) → review?(vladimir)
Attachment #283460 -
Flags: review?(vladimir)
Attachment #283460 -
Flags: review+
Attachment #283460 -
Flags: approval1.9+
Assignee | ||
Comment 2•17 years ago
|
||
Checking in widget/src/cocoa/nsNativeThemeCocoa.mm;
/cvsroot/mozilla/widget/src/cocoa/nsNativeThemeCocoa.mm,v <-- nsNativeThemeCocoa.mm
new revision: 1.61; previous revision: 1.60
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•