Closed
Bug 406719
Opened 17 years ago
Closed 16 years ago
Fix window positioning and sizing under UI scaling
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Camino2.0
People
(Reporter: stuart.morgan+bugzilla, Assigned: stuart.morgan+bugzilla)
References
Details
Attachments
(2 files, 1 obsolete file)
3.94 KB,
patch
|
Jeff.Dlouhy
:
review+
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
1.33 KB,
text/html
|
Details |
Our window positioning and sizing code (both setting and reporting back to Gecko) assumes that Gecko coordinates and window frame coordinates are at the same scale factor, which they aren't under UI scaling, totally horking the calculations (see bug 406717 comment 1 for reference)
Assignee | ||
Comment 1•17 years ago
|
||
This tests basic positioning and sizing (but not any of the getters, nor all of the sizing that can be done).
Assignee | ||
Comment 2•17 years ago
|
||
This is only partially tested, but I think it's right. Posting as a reference while I get more tests together.
Assignee | ||
Comment 3•16 years ago
|
||
This is a more thorough test, covering all the things I touched.
Attachment #291383 -
Attachment is obsolete: true
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 291384 [details] [diff] [review] patch This appears to be correct for everything but screen size, which I'm about to file another bug for. Smokey, care to take it for a spin?
Attachment #291384 -
Flags: review?(alqahira)
Comment 5•16 years ago
|
||
Comment on attachment 291384 [details] [diff] [review] patch Patch fixes scaling errors for me when using a higher DPI. r=jeff
Attachment #291384 -
Flags: review?(alqahira) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #291384 -
Flags: superreview?(mikepinkerton)
Comment 6•16 years ago
|
||
Comment on attachment 291384 [details] [diff] [review] patch sr=pink
Attachment #291384 -
Flags: superreview?(mikepinkerton) → superreview+
Assignee | ||
Comment 7•16 years ago
|
||
Landed on trunk.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•