Closed Bug 621152 Opened 14 years ago Closed 14 years ago

personas wrongly aligned at captions buttons

Categories

(Firefox :: Theme, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b10
Tracking Status
blocking2.0 --- -

People

(Reporter: c.ascheberg, Assigned: Felipe)

References

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0b8pre) Gecko/20101130 Firefox/4.0b8pre
Build Identifier: 

Personas are not correctly aligned at where the caption buttons are. The personas is too far on the right, though just 1px or so. The left-side border of the minimize button is hidden, while on the right of the close button the black border is just a bit to thick.

It is a regression:
works: win32 2010-11-29-03-mozilla-central 5f9204fe5cd5
broken: win32 2010-11-30-03-mozilla-central 837d7b346a64

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5f9204fe5cd5&tochange=837d7b346a64

Reproducible: Always

Steps to Reproduce:
1. choose a personas
2. see border around caption buttons
Keywords: regression
Version: unspecified → Trunk
Attached image screenshot
screenshot
top: 2010-11-29 vs. bottom: latest-trunk on Win Vista
Note: This only happens when Firefox is maximized.
Component: Personas → Theme
Product: Mozilla Labs → Firefox
Confirming, This is a code issue in Fx, using maximized windows with personas.
Blocks: 574833
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: personas → theme
blocking2.0: --- → ?
Regression, but doesn't block.
blocking2.0: ? → -
Assignee: cbeard → felipc
I'd like to renom this for blocking. Precisely carving out the caption buttons from the background image was not an easy feat because it involves getting metrics from the system and positioning a XUL element on the right position through CSS..
This, however, makes it rather fragile (this one caused by bug 606160), but if there's no unexpected trouble a patch for this should be straightforward (just changing some magic padding numbers).
blocking2.0: - → ?
Attached patch PatchSplinter Review
Trivial fix, and with bug 606160 this value actually makes sense, as there's 3px of distance between the close button and the edge of the screen.
Also tested in RTL.
Attachment #502613 - Flags: review?(dao)
Attachment #502613 - Flags: review?(dao) → review+
Comment on attachment 502613 [details] [diff] [review]
Patch

a=beltzner for Firefox 4
Attachment #502613 - Flags: approval2.0+
This still doesn't look like a blocker. Yay for getting it fixed anyway though.
blocking2.0: ? → -
https://hg.mozilla.org/mozilla-central/rev/4a5668f857fd
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b10
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: