Closed Bug 365183 Opened 18 years ago Closed 12 years ago

Right-clicking in an editor should select word on OS X

Categories

(Core :: DOM: Selection, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 695984

People

(Reporter: stuart.morgan+bugzilla, Unassigned)

References

Details

Right now, right-clicking in a text field/area doesn't do anything to the caret or the selection, which is unexpected on OS X where the behavior is to select the target word, as a double-click would. It's especially noticeable when using the inline spell-checker, since it means that instead of selecting the range any correction would replace, as would be the case in a native system text field, there's no obvious indication of what will change when a correction is selected.

(Filing UNCO since I'm not sure which component this belongs in).
Assignee: nobody → selection
Component: General → Selection
QA Contact: general
Status: UNCONFIRMED → NEW
Ever confirmed: true
To be more precise: the behavior is to do nothing to the selection if the click is within an existing selection, but to select the word if it isn't.
I've reported a related type of issue on bug 372956, where context/control click should also select a descriptionitem (i.e. for Thunderbird attachment icons), like it does when context-clicking icons in the Finder, and as it does in Windows attachments.

I've put up a simple hack on there to address that specific case, but if anyone has any insight into a more general solution (or even whether there *should* be a more general solution), I'd appreciate it :)
This applies to all text on a page, not just editable text. cf. Safari or Mail.app.
Karsten, is this within your expertise?
Assignee: selection → nobody
QA Contact: selection
Depends on: 783531
Status: NEW → RESOLVED
Closed: 12 years ago
No longer depends on: 783531
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.