Pressing Enter in thread pane while root of a thread selected causes the thread expanded/collapsed state to toggle

VERIFIED WORKSFORME

Status

defect
--
minor
VERIFIED WORKSFORME
10 years ago
10 years ago

People

(Reporter: sid0, Unassigned)

Tracking

({regression})

Bug Flags:
wanted-thunderbird3 +

Firefox Tracking Flags

(Not tracked)

Details

An example of this bug causing problems is:
STR:
1. Run with the patch from bug 467768.
2. Make sure that on double-click/Enter, messages are opened in a new tab.
3. Switch to threaded mode.
4. Expand a thread and and select its root.
5. Press Enter. (double-click doesn't cause this bug, only enter does)

The summary's displayed instead of the message.

This happens because <http://mxr.mozilla.org/comm-central/source/mozilla/toolkit/content/widgets/tree.xml#699> toggles the state from expanded to collapsed after we're done with the event handling.

Two potential workarounds:
1. Do a toggle ourselves, so that the two toggles cancel each other out.
2. (suggested by smaug on #developers) -- add a capturing listener to the tree's parent, and stop propagation there.

ccing Magnus and philor for ideas.
Flags: wanted-thunderbird3+

Updated

10 years ago
Severity: normal → minor
Keywords: regression
I can't reproduce this anymore.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
I don't see it either, when set to "open in new tab".  "open in new window" however expands the thread
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.