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

bzimport set Reference to bz50895.
Mooeypoo created this task.Via LegacyJul 7 2013, 7:20 PM
gerritbot added a comment.Via ConduitJul 10 2013, 12:35 AM

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

gerritbot added a comment.Via ConduitJul 16 2013, 12:34 AM

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

Krinkle added a comment.Via ConduitJul 16 2013, 1:38 PM

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.