Open Bug 393227 Opened 18 years ago Updated 3 years ago

Double-click selection should not stop at an underscore on Mac

Categories

(Core :: Layout: Text and Fonts, defect)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: cbarrett, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: polish)

STR: 1. Type test_text into a form or the URL bar 2. Double click on the word "test" Expected results: test_text is selected Actual results: test is selected To verify that this is the correct behavior on Mac, try this in any native mac app (TextEdit, Adium, etc). Talking to Eli, nsTextFrame::PeekOffsetWord is the place to look at for this
Keywords: polish
See bug 389421, which might affect this (and the patch there changes this code quite a bit)
Depends on: 389421
I'll wait on this until bug 389421 lands, thanks roc.
This is not a regression from FF2, and therefore not a blocker IMHO, and therefore not 1.9 material. Making word selection exactly agree with each platform would be an interesting project, but I don't think it's 1.9 material; I doubt fixing this one bug will make us fully OS X compatible. Probably the "right" thing to do would be to expose native APIs for this ... however, then we'd probably have trouble with people complaining about things changing from older releases. I've found that it's hard to please everyone in this area.
From a user perspective, this has become more visible since bug 16203 was fixed. Blocking bug 73812 per bug 196175 comment 7.
Blocks: 73812
Depends on: 196175
Hardware: PC → Macintosh
Blocks: word-select
Assignee: mozcbarrett → nobody
Severity: normal → S3
See Also: → 1427430
You need to log in before you can comment on or make changes to this bug.