Closed Bug 575406 Opened 14 years ago Closed 14 years ago

Installing Persona turns Aero custom titlebar window corners square

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 4.0b5
Tracking Status
blocking2.0 --- final+

People

(Reporter: mozbugz, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a6pre) Gecko/20100628 Minefield/3.7a6pre Firefox/3.6.6
Build Identifier: 

Preview/Installing persona on Aero Glass with custom App menu drawing in the titlebar turns the window border corners from round to square.

Reproducible: Always

Steps to Reproduce:
1. Disable Menu Bar to show App Menu button
2. Turn on Aero Theme Glass if that is not enabled.
3. Go to URL
4. Hover over a persona

Actual Results:  
Corners are turned square

Expected Results:  
Corners are rounded or match Aero theme design.
Blocks: 513162
Blocks: 513170
No longer blocks: 513162
Thanks for moving this over to right bug.  I noticed something, when you mouse over a personas off and on, it looks like something is drawing in the top half of each border edge.
I filed another bug, not only does it do that, but I also lose the min/max/close buttons too. Odd.
(In reply to comment #3)
> I filed another bug, not only does it do that, but I also lose the
> min/max/close buttons too. Odd.

Probably bug 574833, though it was for painting over the controls, but they might be gone now too see that bug for more.
(In reply to comment #2)
> Thanks for moving this over to right bug.  I noticed something, when you mouse
> over a personas off and on, it looks like something is drawing in the top half
> of each border edge.

A few people have noticed that as well. Some sort of a drawing artifact. When the personas folks get to updating personas to support the new titlebar, I'm sure they'll address it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Depends on: 574833
(In reply to comment #5)
> When the personas folks get to updating personas to support the new titlebar,  > I'm sure they'll address it.

Well, I'm not. Because this has nothing to do with the persona. It has to do with firefox. And proof of that is, that even before it downloads the picture, it's squared. (it just changes the background color - of the square). Although, what I think you should do to bug 574833, you should do here also - tell the painter never to paint out of those edges.
(In reply to comment #6)
> (In reply to comment #5)
> > When the personas folks get to updating personas to support the new titlebar,  > I'm sure they'll address it.
> 
> Well, I'm not. Because this has nothing to do with the persona. It has to do
> with firefox. And proof of that is, that even before it downloads the picture,
> it's squared. (it just changes the background color - of the square). Although,
> what I think you should do to bug 574833, you should do here also - tell the
> painter never to paint out of those edges.

This has something to do with us painting an opaque background to the top of the window. Originally the plan was to paint personas across the entire surface, including borders, and solve the rounding problem then, maybe using a region in widget when we paint. I'm not sure if that's a goal for Fx 4 at this point. If it is, we would address this after that work completes. If not, we'll have to find some sort medium ground. Personally I'm leaning toward pushing persona skinning down off the window border. Although I'm not sure we can do that to background-images via css.
blocking2.0: --- → final+
Fixed by patch from bug 574833

(For the record, the issue was that the top glass margin needs to have a minimum height to show the rounded borders)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: