Closed Bug 265797 Opened 20 years ago Closed 20 years ago

Problems using control + shift + arrow to select or deselect words.

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: moggymania, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Thunderbird 10-22 branch and trunk builds

The first word (or part of a word if there's punctuation) will highlight fine,
but if I hit left-arrow again, it deselects rather than selecting the next word.
  If the first word I try to highlight has an apostrophe (i.e. "can't") then
only the text up to the punctuation will be highlighted, then hitting left-arrow
deselects everything again.  Once in a long while it will let me select several
words all at once, but for the most part, it's not.

Trying to deselect using control + shift + right-arrow after highlighting
several words is resulting in two words being deselected at a time (or
part-words if they have any punctuation) rather than one.

Reproducible: Always
Steps to Reproduce:
For the left-arrow "selection" problem:
1.  Type a sentence.
2.  Hold control and shift then hit left arrow once.  This should result in a
word (or part of a word) being highlighted.
3.  Still holding control and shift, hit left arrow again.

For the right-arrow "deselection" issue:
1a.  Type several words.  Move to rightmost point and select several words by
going to the left (using control-shift-left or left-dragging with the mouse).
1b.  Hold control-shift then hit right arrow.
Actual Results:  
Left-arrow "selection" problem: Word was deselected and cursor moved to the left
of the word.

Right-arrow "deselect" problem: Two words were deselected.

Expected Results:  
For the left-arrow issue, two words including the space between them should have
been highlighted.

For the right-arrow problem, one word should have been deselected.

The two behaviors appear to be linked -- either they both happen, or they both
don't.

App is also clearly treating punctuation as the equivalent of a "space" for
determining words, when it should be recognizing apostrophes as part of a word
as is traditional for text composition screens.  :)
I cannot reproduce the symptom with TB 0.9, Win2K.
See bug 262550 comment 2.  Do you have any extensions installed which might 
cause this interference?

(In reply to comment #0)
> App is also clearly treating punctuation as the equivalent of a "space" for
> determining words, when it should be recognizing apostrophes as part of a word
> as is traditional for text composition screens.  :)

That's a different bug; see if it's already reported; if not, open a new 
enhancement request for this feature.
Summary: Problems using control + shift + arrow to select or deselect words. → Problems using control + shift + arrow to select or deselect words.
(In reply to comment #1)
> I cannot reproduce the symptom with TB 0.9, Win2K.
> See bug 262550 comment 2.  Do you have any extensions installed which might 
> cause this interference?

Good point, I just checked -- the problem seems to be related to the TB In-Line
Spellcheck extension.  If it's installed, lines with spelling errors have
difficulty with highlighting as I described (though not necessarily *on* the
mis-spelled words themselves), while lines with no errors currently don't.  If
it's uninstalled, the bug goes away.
OK; please report this problem to the author of the extension.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.