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

Description

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

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

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

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

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