Closed Bug 13073 Opened 25 years ago Closed 25 years ago

[Tree] Double-clicking adds twisty even though no children

Categories

(SeaMonkey :: MailNews: Message Display, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: lchiang, Assigned: alecf)

References

Details

Attachments

(1 file)

Double-clicking on server name in folder pane adds a twistie when there are no
children

1999090208 release build
Win32
Setup:  You have a news server which don't have any subscribed newsgroups (ie.
top level with no children)

1) Start Messenger
2) Double click on the news server in the folder pane
3) You will see the twistie appear with a -

This should not occur.  There are no children to expand or collapse.
Target Milestone: M14
targetting p3 for m14
Blocks: 15008
Assignee: hyatt → putterman
reassiging to putterman per hyatt, sounds like bad style rules.
Assignee: putterman → alecf
Summary: Double-clicking on server name in folder pane adds a twistie when there are no children. → Tree: Double-clicking adds twisty even though no children
Taking this tree bug. (and shortening the description)
Status: NEW → ASSIGNED
Summary: Tree: Double-clicking adds twisty even though no children → [Tree] Double-clicking adds twisty even though no children
Triage tree bugs. These to M13
Priority: P3 → P2
This looks like either the nsRDFGenericBuilder is adding the wrong attribute
(such as "iscontainer") or the CSS is broken.
QA Contact: lchiang → huang
Change QA contact to me and Cc: Lisa.
*** Bug 20131 has been marked as a duplicate of this bug. ***
Note: The same thing happens in the Address Books pane.  Double click, or click
to the left of the address book icon, and you get a downward triangle.
I'm pretty sure I know the style rule that is causing this but I need to finish
my build before I can try it out.
Hyatt, can you review this checkin since it's in global.css?  Basically I
changed the style rule to check if the container is empty before putting on a
twisty.  I will add the diff after this.
cool.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I checked in the fix for this.
After I've checked this in, I'm wondering if maybe the real problem is that the
tree shouldn't be in this state in the first place.  That maybe when you open a
tree, it shouldn't open if it's empty?  Right now my solution is to go through
all css files and make sure that rules with [open="true] also have
[empty="false"].  But if they could never get into this state, perhaps that
would be better?
Status: RESOLVED → VERIFIED
Verified on 12-15-08/09-M12 all platforms.
The twistie not appear with - anymore.
Mark as verified.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: