Page MenuHomePhabricator

Text field seems to lose focus, selection not possible any more
Closed, ResolvedPublic

Description

When "deselecting" the text field of the visual editor (e.g. by clicking into the summary field) it seems to somehow loose focus.

It's then not possible to directly select text (with the mouse) anymore. One needs to first click one time into the text field to be able to normally select text again.


Version: unspecified
Severity: minor

Details

Reference
bz48576

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:43 AM
bzimport added a project: CodeEditor.
bzimport set Reference to bz48576.
bzimport added a subscriber: Unknown Object (MLST).

Could you please provide browser information?

I'm using Firefox 21 on Windows 7.

I think I can replicate this bug, but I'm not sure I entirely understand the whole problem.

If I select some text in the CodeEditor box, then click into another input element on the page to move focus there, then click back into to the CodeEditor, the cursor position within the text area does not change to the place I just clicked at and the selected text remains selected. I would expect it to deselect all text and move the cursor position to where the mouse cursor is. Major -> Minor

Is this the same issue as bug 50722?

Wait, this is in the CodeEditor extension group, but people are talking about the 'visual editor'. Did the reporter originally file it under the wrong Extension ?

Eduard, can you clarify please ?

I d'not know why I ever wrote VisualEditor but this definitely is about CodeEditor. And it definitely is fixed now!

Thanks for bringing it up again (I remember you adding the PATCH_TO_REVIEW) but it wasn't merged back then so I couldn't test if the bug was really fixed) so we can close it for good.