Closed Bug 385449 Opened 17 years ago Closed 17 years ago

In text areas, caret wraps round to beginning/end when using CTRL-left/right arrow key

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: stevee, Unassigned)

References

Details

(Keywords: regression)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/20070621 Minefield/3.0a6pre ID:2007062107

1. New profile, start firefox
2. In the search bar, write 'quick brown fox'
3. Press ctrl-right arrow

Expected
- When caret is at end of text area, ctrl-right arrow shouldn't move the caret

Actual
- Caret wraps around to the beginning of the search bar

This can be seen in regular text areas too, including going the other way (ctrl-left arrow). There is an effect in multi-line textareas too, but the behaviour seems more complicated.

(Apologies if this is in the wrong component)
Expected Behaviour:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062004 Minefield/3.0a6pre

Strange Behaviour:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062013 Minefield/3.0a6pre

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-20+03&maxdate=2007-06-20+14&cvsroot=%2Fcvsroot

I'm going to guess it was the text-frame.
Blocks: 367177
Component: General → Editor
QA Contact: general → editor
More accurate range

Works
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062012 Minefield/3.0a6pre

Broken
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062013 Minefield/3.0a6pre

http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-20+11&maxdate=2007-06-20+14&cvsroot=%2Fcvsroot
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/20070622 Minefield/3.0a6pre ID:2007062204

Hmm, this now seems to WFM.
Fixed by bug 382105?
Sounds likely.

Weirdness:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062117 Minefield/3.0a6pre

Proper behaviour:
- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a6pre) Gecko/2007062118 Minefield/3.0a6pre

http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1182470940&maxdate=1182473579

--> FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.