Status panel border is corrupt when shown over a windowed plugin

NEW
Unassigned

Status

()

Core
Widget: Win32
7 years ago
7 years ago

People

(Reporter: jimm, Unassigned)

Tracking

Trunk
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
Created attachment 518709 [details]
screen shot

Not sure if this is a layout or widget bug. I was under the impression the status panel wasn't it's own window, in which case I'm not even sure how this is being rendered properly. Regardless, the border around the panel is not getting rendered correctly in this case.
(Reporter)

Comment 1

7 years ago
Created attachment 518710 [details]
test case
(Reporter)

Comment 2

7 years ago
I'm guessing maybe we clip the child so that the status panel underneath is visible? That would explain the messed up border.
That status panel isn't its own widget. It is above the plugin, but because the plugin has a widget where ever it is not clipped it will show above everything else in our window. So we make all chrome display items opaque when determining the clip region of the plugin window so that they are visible (http://hg.mozilla.org/mozilla-central/rev/d01932e9114e). This was originally for tab-modal dialogs, so that a plugin wouldn't show through the effect drawn over the whole page with a tab-modal dialog up. There was no status panel when this was designed.
What's corrupt? Just that white corner?

There's not much we can do about this. If the status panel was perfectly rectangular it would look OK, maybe we should do that.
(Reporter)

Comment 5

7 years ago
(In reply to comment #4)
> What's corrupt? Just that white corner?
> 
> There's not much we can do about this. If the status panel was perfectly
> rectangular it would look OK, maybe we should do that.

Yes. I was thinking the best fix would be to replace the panel with an actual child window (like a tooltip).
That would be a bit scary and add overhead. I'd prefer to just leave this alone or make the status panel perfectly rectangular.
You need to log in before you can comment on or make changes to this bug.