Page MenuHomePhabricator

Search text for inserting media should be selected on open
Closed, ResolvedPublic

Description

On a page such as http://en.wikipedia.beta.wmflabs.org/wiki/Media_Interface_VisualEditor_Test?veaction=edit

Click Insert/Media

Note that the default text in the search box is the title of the page.

Click inside the search box.

Default text should disappear but does not. RETURN also does not remove the default text.

Compare to the Link interface which looks similar but behaves correctly.

Event Timeline

Cmcmahon raised the priority of this task from to Needs Triage.
Cmcmahon updated the task description. (Show Details)
Cmcmahon added a project: VisualEditor.
Cmcmahon changed Security from none to None.
Cmcmahon added subscribers: Cmcmahon, Ryasmeen.

On closer examination, I believe that the default text in the media search box is briefly selected, but the selection disappears. Again, compare to Link which does the same thing correctly.

Seen in Firefox.

Cmcmahon added a subscriber: Etonkovidova.

Also seen in Chrome as of 23 January

Jdforrester-WMF renamed this task from Default text for Media should disappear upon clicking to Search text for inserting media should be selected on open.Jan 24 2015, 5:06 AM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.