Page MenuHomePhabricator

VisualEditor: Document selection should be nullable
Closed, ResolvedPublic

Description

Despite the fact that you can have the appearance of the document being blurred and having no active selections, we will always keep the last valid range as the current selection. This is a case of the model not matching the view.

The other solution (as used by Google Docs) is to always render a selection even when the document is unfocused, but as we are using native selections this may not be possible.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=62410

Details

Reference
bz59868

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:33 AM
bzimport set Reference to bz59868.

What's the status of this? Did your work on cursor selections last week relate?

Change 121534 had a related patch set uploaded by Esanders:
Detect document focus properly and allow null selection in model

https://gerrit.wikimedia.org/r/121534

Change 121534 merged by jenkins-bot:
Detect document focus properly and allow null selection in model

https://gerrit.wikimedia.org/r/121534

Change 124359 had a related patch set uploaded by Esanders:
Detect document focus properly and allow null selection in model

https://gerrit.wikimedia.org/r/124359

Change 124359 merged by jenkins-bot:
Detect document focus properly and allow null selection in model

https://gerrit.wikimedia.org/r/124359