Open Bug 432460 Opened 12 years ago Updated 7 years ago

Showing panel with noautohide = "true" and transparent background is bugged

Categories

(Toolkit :: XUL Widgets, defect, major)

x86
Windows XP
defect
Not set
major

Tracking

()

UNCONFIRMED

People

(Reporter: gothic.quark, Unassigned)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050606 Minefield/3.0pre XPCOMViewer/1.0a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050606 Minefield/3.0pre XPCOMViewer/1.0a1

When the panel shows with "noautohide" attribute set to true and style="background: transparent" it behaves unexpectivly...

Reproducible: Always

Steps to Reproduce:
Get http://www.in-maydan.com/tmp/panelBug.xul

I can't reproduce it by opening in browser. Use extension developer tools' XUL Editor (load file) or create testing extension to reproduce this bug...
Actual Results:  
Rendering issues

Expected Results:  
Panel with transparent background
Version: unspecified → Trunk
The same thing when setting -moz-border-radius...
Unable to reproduce this, seems to work fine for me.

Please in the future provide testcases as attachments and when there are problems actually describe them so testers will know what to look for.
Component: General → XUL Widgets
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
I'm new to bugzilla... sorry...

I've made some screenshots:

Before: panel is created and spawned.
http://hotimg17.fotki.com/a/194_44/130_38/BeforeFF.jpg 

After: i clicked a button. some content was added to the panel and called "openPopup". Main window became hidden... (i've increased panel's padding to make it more understandable)
http://hotimg18.fotki.com/a/194_44/130_38/AfterFF.jpg 
And two more screenshots with XULEditor and example .xul file:

http://hotimg3.fotki.com/b/194_44/130_38/XULEdBefore.jpg
http://hotimg12.fotki.com/a/194_44/130_38/XULEdAfter.jpg
Use it with XULEditor or in an extension
Attachment #319746 - Attachment description: Sample code that provides a bug → Sample code that provides a bug.
Attachment #319746 - Attachment mime type: application/vnd.mozilla.xul+xml → text/plain
Attachment #319746 - Attachment description: Sample code that provides a bug. → Sample code that provides a bug. Use it with XULEditor or in an Extension.
It is really a but, when set the panel's backgound color as transparent or apply the "-moz-opacity:0.3" on the element. I have written the test xul code. in the test application, you fist click the "first click" button ,then the panel with transparent backgound show, then click the "second click" button(this action is maximize the window), the main window will show incorrectly. please check it. 
Comment on attachment 330185 [details]
window will show incorrectly when the panel apply "background-color:transparent;"

><?xml-stylesheet href="chrome://global/skin" type="text/css"?>
><?xml-stylesheet href="main.css" type="text/css"?>
><parsererror xmlns="http://www.mozilla.org/newlayout/xml/parsererror.xml">XML解析错误:未定义的实体 
>位置:https://bugzilla.mozilla.org/attachment.cgi?id=330185 
>行:8,列:1:<sourcetext>&lt;window id="main" title="&amp;main.title;"
>^</sourcetext></parsererror>
Duplicate of this bug: 436003
Note that this bug is Windows-only (see bug 436003 comment 1 for when I dug into this for a bit; has to do with how a parent window is determined on Windows)
I cannot reproduce this on Windows 7 ... can anybody else reproduce it?
You need to log in before you can comment on or make changes to this bug.