Closed
Bug 382105
Opened 18 years ago
Closed 18 years ago
Double click selection extends beyond punctuation with new textframe
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
VERIFIED
FIXED
People
(Reporter: RyanVM, Assigned: roc)
References
Details
Attachments
(2 files)
2.11 KB,
image/png
|
Details | |
4.07 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
On builds with the new textframe enabled, double clicking text (say the "mozilla" in mozilla.org in the location bar) results in "mozilla." being selected instead of "mozilla".
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Reporter | ||
Comment 1•18 years ago
|
||
This WFM now.
Reporter | ||
Comment 2•18 years ago
|
||
Filed bug 383542 for other text selection weirdness with the new textframe.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•18 years ago
|
Flags: in-testsuite?
![]() |
||
Comment 3•18 years ago
|
||
I'll reopen this, I still can see those issues on OS X.
example: in comment 0, selecting by double-click the last instance of "mozilla" selects the word, the closing " and the period.
2007060704 build with new textframe.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee | ||
Comment 4•18 years ago
|
||
I checked in a fix for this.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•18 years ago
|
||
Still seeing this with a win32 trunk build with the new textframe enabled today.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•18 years ago
|
||
What are the settings of your layout.word_select.* prefs?
Reporter | ||
Comment 7•18 years ago
|
||
layout.word_select.eat_space_to_next_word = true
layout.word_select.stop_at_punctuation = true
Assignee | ||
Comment 8•18 years ago
|
||
OK, I checked in ANOTHER fix. Should really be fixed this time :-)
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•18 years ago
|
||
Or not, I'm afraid. Attached is a screenshot of what I'm seeing now if I double click the word mozilla in the location.
Reporter | ||
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•18 years ago
|
Assignee: nobody → roc
Status: REOPENED → NEW
Reporter | ||
Comment 10•18 years ago
|
||
Also, on Linux, double-clicking mozilla leads to the period on both sides to be selected (".mozilla.").
Reporter | ||
Updated•18 years ago
|
OS: Windows XP → All
Hardware: PC → All
Comment 11•18 years ago
|
||
Even more strange: if I double-click past the end of the URL, everything *but* the last section becomes selected. This used to be a convenient way to copy a bug number ;)
This also happens with a simple testcase:
data:text/html,<input value="a b c">
Assignee | ||
Comment 12•18 years ago
|
||
1) simplify the code a bit more
2) don't check *aSawBeforeType when we're looking for punctuation
3) exit early without changing *aOffset when there's no clusters in the direction we're looking
Attachment #269163 -
Flags: review?(smontagu)
Updated•18 years ago
|
Attachment #269163 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 13•18 years ago
|
||
checked in.
Status: NEW → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•