Closed Bug 66719 Opened 24 years ago Closed 23 years ago

Outliner is behaving weird when all columns are hidden

Categories

(Core :: XUL, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla0.9

People

(Reporter: hwaara, Assigned: dr)

References

Details

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20010126

NOTE: This is affecting *ALL* trees with the little tree-customizing-control all
over the Mozilla product!

To reproduce:

1. Find a treecontrol with editable columns (i.e the little button to the right
in the columns field)
2. Click on that little button to pop up the menu with available columns to
hide/show
3. Uncheck all menuitems
4. Watch the tree's behavior.

Now the tree's fields are all blank, but they are still selectable. That little
control is automatically moved to the left in the column-field and the rest is
just white.

This is not the expectable behaviour. I would the little control to disable the
last item which is checked to prevent the user from unchecking every column.
Confirmed even with the 2001011920 builds.  

OS: Win2k SP1
Moz Build: 2001011920 Win32 Talkback
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010119
Same here. Also tried in MailNews and the same happens.
Mozilla 2001012610 on Windows 2000 SP1 on PC.
*** Bug 66831 has been marked as a duplicate of this bug. ***
From the dup:

- This can trigger bug 66832, "column picker menu always appears left of 
widget", which makes it a little tricky to re-add columns if the column picker 
ends up near the left edge of the screen.

- Some columns in the mail thread pane have fixed width.  Removing all but 
these items causes similar strange behavior.
This was fixed for trees (can't deselect the primary column). But need to make
this is done for outliner. 
Summary: Tree is behaving weird when all columns are hidden → Outliner is behaving weird when all columns are hidden
Target Milestone: --- → mozilla0.9.1
We should just not allow the primary column to be hidden.  It shouldn't even 
show up in the column picker's list.  This can be done by patching the JS inside 
the column picker's XBL.

Reassigning to dr.
Assignee: hyatt → dr
Target Milestone: mozilla0.9.1 → mozilla0.9
Status: NEW → ASSIGNED
Priority: -- → P4
looks good to me, r=pchen
hyatt: need sr
sr=hyatt
hm. i have a merge conflict with sspitzer's fix for bug 74473. the conflict is
trivial to resolve, but i'm not certain that seth's fix is right. checking...
fixed (cvs rev 1.14)
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: