Closed Bug 366116 Opened 18 years ago Closed 18 years ago

tabbox appear in incorrect place and are insensitive when "hidden" attribute changed

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 261826

People

(Reporter: pedromorgan, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

In my app I have four tabs, the last two are hidden. When these are enabled they appear in the incorrect order as 1,3,2,4, even tough in code they are correct.

Also if if the tabs are enabled with tab.setAttribute('hidden','false') instead of tab.hidden = false then they are NOT sensitive to clicks.



Reproducible: Always

Steps to Reproduce:
1. Create a tabbox with 4 tabs with hidden="true"
2. Run js to un-hide tabs
3. When unhidden they appear in the "incorrect" order
4. If un-hidden with setAttribute('hidden') then they do not respond to clicks and an error

Actual Results:  
If tab is unhidden with setAttribute() then the following error reported

Error: aNewTab has no properties
Source File: chrome://global/content/bindings/tabbox.xml
Line: 336


Expected Results:  
Tabs just to appear in the correct order

Attached is test case
Keywords: testcase
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: