XUL Menulist (menupopup) appears incorrectly when using CSS visibility

NEW
Unassigned

Status

()

Core
XUL
--
major
14 years ago
8 years ago

People

(Reporter: Derek Seymour, Unassigned)

Tracking

({testcase})

Trunk
x86
All
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(4 attachments, 2 obsolete attachments)

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
(Reporter)

Description

14 years ago
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
(Reporter)

Comment 1

14 years ago
Created attachment 143382 [details]
Testcase #1
(Reporter)

Comment 2

14 years ago
Created attachment 143383 [details]
CSS for Testcase #1
(Reporter)

Comment 3

14 years ago
Created attachment 143384 [details]
JavaScript for Testcase #1
(Reporter)

Comment 4

14 years ago
Created attachment 143386 [details]
Revision: Testcase #1

Updated URLs in testcase.
Attachment #143382 - Attachment is obsolete: true
(Reporter)

Comment 5

14 years ago
Created attachment 143391 [details]
Testcase #1 (Revision 2)

Yet another revision of the first testcase.

Corrected an XML parse error.
(Reporter)

Updated

14 years ago
Attachment #143386 - Attachment is obsolete: true
(Reporter)

Comment 6

14 years ago
*** Bug 236474 has been marked as a duplicate of this bug. ***
(Reporter)

Updated

14 years ago
Severity: normal → major
(Reporter)

Comment 7

14 years ago
Created attachment 143635 [details]
Screenshot of Testcase #1
(Reporter)

Comment 8

14 years ago
Not only is the menu drawn incorrectly, but it also doesn't function properly
(it will not allow you to select an item).
(Reporter)

Updated

14 years ago
Keywords: testcase

Comment 9

14 years ago
I see this on LInux 2004040808
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
(Reporter)

Comment 10

14 years ago
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
(Reporter)

Comment 11

13 years ago
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

Updated

10 years ago
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: shrir → xptoolkit.widgets

Updated

8 years ago
Assignee: hyatt → nobody
(Reporter)

Comment 12

8 years ago
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
You need to log in before you can comment on or make changes to this bug.