Closed Bug 640951 Opened 13 years ago Closed 4 years ago

Status panel border is corrupt when shown over a windowed plugin

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jimm, Unassigned)

Details

Attachments

(2 files)

Attached image 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.
Attached file test case
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.
(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.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: