Page MenuHomePhabricator

Opening special characters toolbar blurs the document when using nullSelectionOnBlur (e.g. in DiscussionTools or VE standalone)
Closed, ResolvedPublic

Description

  1. Open VE standalone, or the DiscussionTools reply widget
  2. Click the special character button Ω

Observed

  1. The document is blurred (cursor position is lost) and the toolbar is disabled as a result:

image.png (400×715 px, 67 KB)

Expected

  1. Your cursor is left in the document and the toolbar is still enabled:

image.png (400×752 px, 73 KB)

This bug also appears in some VE integrations, such as DiscussionTools with https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/667417 applied.

Event Timeline

Esanders renamed this task from Opening special characters toolbar blurs the document in VE standalone to Opening special characters toolbar blurs the document when using nullSelectionOnBlur (e.g. in DiscussionTools or VE standalone).Oct 20 2022, 12:39 PM
Esanders added a project: DiscussionTools.
Esanders updated the task description. (Show Details)

Change 844971 had a related patch set uploaded (by Esanders; author: Esanders):

[VisualEditor/VisualEditor@master] Add setTimeout to re-focus when opening SpecialCharacterDialog

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

Test wiki created on Patch demo by ESanders (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/6bd624a6b7/w

This comment was removed by Esanders.

Change 844971 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] Add setTimeout to re-focus when opening SpecialCharacterDialog

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

Change 845043 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8fd8d1451)

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

Change 845043 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (8fd8d1451)

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

EAkinloose subscribed.

✅ Your cursor is left in the document and the toolbar is still enabled:

Screenshot 2022-10-24 at 22.35.39.png (866×2 px, 250 KB)

Screenshot 2022-10-24 at 22.04.08.png (564×2 px, 114 KB)

Test wiki on Patch demo by ESanders (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/6bd624a6b7/w/