Open Bug 106687 Opened 23 years ago Updated 2 years ago

Context menu on outliner should not change selection?

Categories

(Core :: XUL, defect)

x86
Windows 95
defect

Tracking

()

mozilla1.0.1

People

(Reporter: neil, Unassigned)

References

(Blocks 2 open bugs)

Details

This is a spin-off from bug 104808.

The outliner context menu changes the selection.
This is unsuitable for the folder pane's "Open folder in new window" option.
However, it is useful in the thread pane.

In comparison, Outlook Express's tree view appears to temporarily change the
selection during the context menu event, restoring it afterwards.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
See also bug 30560, "right-clicking mail message/folder should not display it".

How should this work on Mac, where a common way to get a context menu is to 
hold the (left) mouse button for about a second?
*** Bug 113415 has been marked as a duplicate of this bug. ***
I think I have a fix for this.  However, the seletion does change, but it does
not load the folder (in the folder pane) or the message (when in the thread pane).

The fix make mailnews behave like outlook express.  The patch is in bug 30560.
Right now, the selection changes when I right-click, and then it tries to change
back when I close the context menu.  Besides looking silly, the feature doesn't
work: if I right-click outside of an existing multiple selection, only one of
the messages because selected after I dismiss the context menu.

IMO, dismissing the context menu should display the message unless I select
"delete" in the context menu.
> How should this work on Mac

Long-click should change the selection, while Ctrl+click should work as 
proposed in comment 4.
Blocks: 158011
See also bug 95916 -- apparently the exact opposite behavior is standard on MacOS.
Blocks: 95916
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
Assignee: hyatt → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.