Closed Bug 563679 Opened 15 years ago Closed 14 years ago

Pressing space after using CTRL+SHIFT+X to align a text input's value right makes the cursor jump around

Categories

(Core :: DOM: Editor, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: bambenson, Unassigned)

Details

(Keywords: rtl)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729) Messing about with keyboard shortcuts, i realised you can align text to the right on text inputs. Following this discovery I noticed pressing space momentarily causes the cursor to jump to the left then return to the right. It's not a problem that would affect performance, but it doesn't look great! Reproducible: Always Steps to Reproduce: 1. Focus a text input 2. Press CTRL + SHIFT + X 3. Start typing - make sure you press space. Actual Results: The cursor jumps around. Expected Results: The cursor should stay aligned to the right.
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a5pre) Gecko/20100503 Minefield/3.7a5pre
Status: UNCONFIRMED → NEW
Component: General → Editor
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → Trunk
I think that this is a valid behavior for RTL.
Yes, this is invalid -- note that CTRL+SHIFT+X isn't intended to align the input to the right (though that happens as a side-effect) but to set the directionality of the input for entering right-to-left languages such as Hebrew, Arabic, Persian, etc. etc. If you then enter left-to-right text in the input, the cursor behaviour can be counter-intuitive.
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: rtl
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.