Page MenuHomePhabricator

VisualEditor: Links added to captions for new images not quite working
Closed, DeclinedPublic

Description

What happens when you try to make a link. (Notice that the box is too small; that will be a separate bug in a moment.)

I can only make this happen in Safari, not Firefox, but I believe that the user reporting this was using Firefox.

Steps to reproduce:

  1. Open VisualEditor and Insert > Media.
  1. Pick and image and add a caption.
  1. Select a word and press Command-K to make an internal link.
  1. Notice that you get no search results to help you find the correct page for your link.
  1. Click inside the box. Now you have search results.

Version: unspecified
Severity: minor

Attached:

Screen_Shot_2014-08-13_at_4.47.32_PM.png (450×708 px, 35 KB)

Details

Reference
bz69510

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:27 AM
bzimport set Reference to bz69510.

I don't see a bug here? This seems to be working as expected. Have I missed something?

Experience in Safari:

  1. Open VisualEditor and Insert > Media.
  1. Pick and image and add a caption.
  1. Select a word and press Command-K to make an internal link.
  1. Notice that you get no search results to help you find the correct page for your link.
  1. Click inside the box. Now you have search results.

Experience in Firefox:

  1. Open VisualEditor and Insert > Media.
  1. Pick and image and add a caption.
  1. Select a word and press Command-K to make an internal link.
  1. Notice that you are immediately given a long list of search results, even if you don't want them.

Since they don't behave the same, then one of these two browsers isn't working as designed.

I think it is the firefox which is different from Chrome and Safari, not sure which one is correct though!And not just for a link inside image, for a link in CE too,in Chrome and Safari, you will not get any list of link target suggestions unless you click inside the box.