Closed Bug 236911 Opened 20 years ago Closed 3 years ago

XUL Menulist (menupopup) appears incorrectly when using CSS visibility

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: daseymour, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(4 files, 2 obsolete files)

41 bytes, text/css
Details
199 bytes, application/x-javascript
Details
825 bytes, application/vnd.mozilla.xul+xml
Details
4.80 KB, image/jpeg
Details
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

When the CSS property 'visibility' is initially set to 'hidden' for a XUL
menulist and some javascript changes the property to 'visible', the popup menu
appears incorrectly (appears scrambled or sometimes all black in color).

Reproducible: Always
Steps to Reproduce:
1. Open the attached XUL file -OR- goto the following url:
http://www.seymoursolutions.com/support/bugs/other/mozbug1.php
2. When the page is loaded, the menulist should be hidden.
3. Click on the 'Show' button and the menulist will appear.
4. If you click on the menulist, the popup appears incorrectly (scrambled or
sometimes black in color).

Actual Results:  
The XUL menulist popup appears incorrectly (scrambled or sometimes black in color).

Expected Results:  
The XUL menulist popup should display as any other menulist that did not
initially have the CSS property 'visibility' set to 'hidden'.

Computer configuration...
OS: Window XP Professional Version 2002 Service Pack 1
CPU: AMD Duron 950Mhz
Memory: 256 MB of RAM
Video Card: ATI 3D Rage Pro AGP 2X
Attached file Testcase #1 (obsolete) —
Attached file CSS for Testcase #1
Attached file Revision: Testcase #1 (obsolete) —
Updated URLs in testcase.
Attachment #143382 - Attachment is obsolete: true
Yet another revision of the first testcase.

Corrected an XML parse error.
Attachment #143386 - Attachment is obsolete: true
*** Bug 236474 has been marked as a duplicate of this bug. ***
Severity: normal → major
Not only is the menu drawn incorrectly, but it also doesn't function properly
(it will not allow you to select an item).
Keywords: testcase
I see this on LInux 2004040808
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Tested on FireFox 0.9, and the bug is still occurring...

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
Tested on FireFox 1.0.7, and the bug is still occurring...

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
Firefox/1.0.7
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: shrir → xptoolkit.widgets
Assignee: hyatt → nobody
Tested on FireFox 3.5.6 - doesn't appear to be occurring any longer...

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6

Marking this as Resolved > Worksforme based on comment 12. Feel free to re-open if the issue is still reproducible on your end in the latest FF versions.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: