Closed Bug 1344504 Opened 7 years ago Closed 7 years ago

When event listener tooltip is already open, clicking on the next event listener doesn't display the tooltip

Categories

(DevTools :: Inspector, defect, P3)

50 Branch
defect

Tracking

(firefox51 wontfix, firefox52 wontfix, firefox-esr52 wontfix, firefox53 wontfix, firefox54 wontfix, firefox55 fixed)

RESOLVED FIXED
Firefox 55
Tracking Status
firefox51 --- wontfix
firefox52 --- wontfix
firefox-esr52 --- wontfix
firefox53 --- wontfix
firefox54 --- wontfix
firefox55 --- fixed

People

(Reporter: epinal99-bugzilla2, Assigned: jdescottes)

References

Details

(Keywords: regression)

Attachments

(3 files)

Attached file testcase-event.html
STR:
1) Click on event listener 1
2) Click on event listener 2

Result: tooltip for event listener 2 is not displayed.

Reg range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=249d57fa78a0522f63a5b1ed1fdda55f383156e0&tochange=f8bdceb55c9d191380176ab25e2385737bd9e1ab

Regressed by bug 1266450.
Blocks: 1266450
Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(jdescottes)
Keywords: regression
Too late for 51 and 52 will be released this week. Mark 51 won't fix.
Blocks: 1344423
By configuration, the event listener popup is consuming outside clicks, which is why clicks performed while the tooltip is opened are just closing the tooltip and not performing any additional action.

The event details tooltip instance is created by the markup view at http://searchfox.org/mozilla-central/rev/e844f7b79d6c14f45478dc9ea1d7f7f82f94fba6/devtools/client/inspector/markup/markup.js#169. We should simply try adding "consumeOutsideClicks: false" to the configuration of this tooltip.

We should add a mochitest to check this, based on the ones found in devtools/client/inspector/markup/test/browser_markup_events*

(marking as wontfix for 52, timeframe is too short)
Flags: needinfo?(jdescottes)
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: -- → P3
Attachment #8847697 - Flags: review?(gl)
Comment on attachment 8847712 [details]
Bug 1344504 - handle rejected promise when showing/hiding box model in markup view;

https://reviewboard.mozilla.org/r/120640/#review123422
Attachment #8847712 - Flags: review?(gl) → review+
Comment on attachment 8847697 [details]
Bug 1344504 - do not catch click events closing the event tooltip;

https://reviewboard.mozilla.org/r/120610/#review123424
Attachment #8847697 - Flags: review?(gl) → review+
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d29aa1530b0d
handle rejected promise when showing/hiding box model in markup view;r=gl
https://hg.mozilla.org/integration/autoland/rev/916169e1e3ee
do not catch click events closing the event tooltip;r=gl
https://hg.mozilla.org/mozilla-central/rev/d29aa1530b0d
https://hg.mozilla.org/mozilla-central/rev/916169e1e3ee
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
I can't to add Bug 1349416 in the "See also" field, but it seems that it appeared after this bug was fixed.
Should we consider backporting this to Aurora/Beta? ESR52 doesn't seem worth it, though (unless you feel strongly to the contrary).
Flags: needinfo?(jdescottes)
Given that this has apparently introduced a small regression (Bug 1349416) I wouldn't uplift for the time being.
Depends on: 1349416
Flags: needinfo?(jdescottes)
No longer blocks: 1344423
Wontfix for 53, let's give some time to catch and fix any further regressions.
(In reply to Julian Descottes [:jdescottes] from comment #13)
> Given that this has apparently introduced a small regression (Bug 1349416) I
> wouldn't uplift for the time being.

That bug is marked P3, so I assume it's not going to get any attention any time soon. Should we just wontfix this for 54 then?
Flags: needinfo?(jdescottes)
Yes, marking as wontfix for 54.
Flags: needinfo?(jdescottes)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: