Open Bug 932620 Opened 11 years ago Updated 2 years ago

Double click a word includes trailing

Categories

(Firefox :: General, defect)

25 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: scootergrisen, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 20131025151332

Steps to reproduce:

Double click a word where there is a trailing space.



Actual results:

Trailing space gets included in the selection.


Expected results:

Only select the word without the trailing space.
There is a pref which controls this behavior (layout.word_select.eat_space_to_next_word). My understanding is that the default value is set to match platform convention (which, on Windows, is to include the trailing space).
Thanks.
I guess it makes a little sense to have it the same way as the rest of the OS.
But i think that way sucks in windows.

Internet explorer have a awful way of selecting text with the same space problem and automatically selecting whole words and having to move the cursor both ways in order to stop the selection in the middle of a word.

So i dont think it a good idea to follow that way of making it harder to select what you want.

It might be a good thing if you want to delete a word in the middle of a line and safe a keypressing.
But how often do you want to delete a words+space on a website which mostly is readonly compared to how often do you want to copy a word, email address, number, etc.
I agree that copying the trailing space is really annoying.  Yes it is mimicking the the OS behavior, but I'm not sure that in this case FF should mimic a Windows behavior.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think that default should be OS's behavior.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.