Page MenuHomePhabricator

Template parameter titles can't be selected in VE dialog
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Open the template dialog
  • Double-click or triple-click on a parameter title

What happens?:
The parameter description is selected, but not the title:

image.png (295×626 px, 42 KB)

What should have happened instead?:
Should have selected the title and not the description.

Event Timeline

thiemowmde subscribed.

A solution for this exists as a side-effect in patch https://gerrit.wikimedia.org/r/804576. Unfortunately we never merged that patch for other reasons.

The issue appears to be related to collapsible descriptions. It does not only block double and tripple clicks, but also single clicks. A single click should put the focus in the input field. I found a float: left in the code that appears to be misplaced. Probably a now unused fragment from the old design. When I remove this it works as it should.

Change 827519 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/VisualEditor@master] Fix parameter labels not being clickable

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

thiemowmde set the point value for this task to 2.
thiemowmde moved this task from Incoming to In progress on the WMDE-TechWish-Maintenance board.

Change 827519 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Fix parameter labels not being clickable

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