Page MenuHomePhabricator

Transclusion dialog's "Add more information" button responds to right-click but should not
Closed, ResolvedPublic1 Estimated Story Points

Description

Add more information element

At the bottom of the Cite web UI is an element "Add more information".

In Chrome, a right-click on "Add more information" correctly has no effect.

But in Firefox, a right-click "Add more information" has the same effect as a left-click, triggering the action.


Version: unspecified
Severity: minor

Attached:

Screen_Shot_2014-08-07_at_12.29.08_PM.png (502×628 px, 34 KB)

Details

Reference
bz69230

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:42 AM
bzimport set Reference to bz69230.
Krenair renamed this task from Firefox: Cite/Add more information responds to right-click but should not to Firefox: Transclusion dialog's "Add more information" button responds to right-click but should not.Jan 22 2015, 12:38 AM
Krenair set Security to None.

Looks like this is because of the focus event handler on $more in MWParameterPage. Firefox fires focus on right click here, Chrome does not

Jdforrester-WMF renamed this task from Firefox: Transclusion dialog's "Add more information" button responds to right-click but should not to Transclusion dialog's "Add more information" button responds to right-click but should not.Apr 17 2015, 8:10 PM
Jdforrester-WMF triaged this task as Low priority.

Not Firefox specific any more.

I can't reproduce this today.

The <div class="ve-ui-mwParameterPage-more"> has a 'focus' handler, but it can't actually be focussed, as far as I can tell.

The <div class="ve-ui-mwParameterPage-more"> has a 'focus' handler, but it can't actually be focussed, as far as I can tell.

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

Jdforrester-WMF set the point value for this task to 1.