Page MenuHomePhabricator

VisualEditor: Inspector widget should not stay open when moving the cursor to similar annotation
Closed, ResolvedPublic


This happens with the Link annotation, but also happened to me with my Language annotation prototype when I play with it.

Steps to view the problem:

  1. Go to some link in the text, put the cursor on it.
  2. The 'link' button pops up, recognizing the annotation, and if you click it, the full annotation fragment is selected (expected behavior) and the input widget appears.
  3. Without closing the input widget, click on another link in the text. The widget moves to the new location with the proper data, but the text of that fragment isn't selected, and it's a bit odd to edit.

I think a better behavior may be to close the widget and have the icon pop up on the new location, as if I clicked an unrelated non-link text and then again selected a link.

(I hope this makes sense, I can post some screenshots if needed)

I use Firefox 22.0 under Ubuntu.

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:54 AM
bzimport set Reference to bz50895.

Change 72865 had a related patch set uploaded by Jforrester:
[WIP] Reset context menu on selection change while inspector is open

Change 72865 merged by jenkins-bot:
Reset context menu on selection change while inspector is open

Looks like the fix works. Can't reproduce this anymore on latest master.