Open Bug 1811031 Opened 3 years ago Updated 3 years ago

Broken functionality when holding mouse click down on a menu UI element, and then releasing over a menu option to trigger it

Categories

(Core :: XUL, defect)

Firefox 110
Desktop
Windows 10
defect

Tracking

()

Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- wontfix
firefox111 --- wontfix

People

(Reporter: reqqxn, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

  1. Hold down left mouse button on an UI element with a menu (e.g. titlebar menu, new tab button with containers, back/forward buttons, bookmarks menu button, bookmark folder)
  2. Move cursor so that it hovers over one of the options within the menu
  3. Release left mouse button

Actual results:

The menu option triggers inconsistently, possibly depending on how fast the actions are done. (Seems to work less when trying to do it quickly.)

Happens on Widows 10 in both 110 Beta and 111 Nightly, but not in 109 Release.

Expected results:

The menu option should consistently trigger every time.

Component: Untriaged → Toolbars and Customization
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

Hello Re Qu,
Would it be possible to make a screen recording of this issue and attach it to this bug?
That would be really helpful in order to reproduce your issue.

Flags: needinfo?(reqqxn)

Added a video of the problem as an attachment. It's pretty difficult to see because it doesn't show when I'm holding down left mouse button, but each time I start holding it above the new tab button, then move the cursor to be above the "No Container" option, and only then release left mouse button.

Flags: needinfo?(reqqxn)

Another video of the functionality working consistently on release version 109 for comparison.

I've managed to reproduce this issue on the latest version Nightly 111.0a1 on Windows 10 x64.
Moving to Core - Widget: Gtk . If this is not the correct component, please feel free to change it to a more appropriate one.

Last good revision:9d96d2c96d8fe1d9365fdaee30d8fda048c48aa1
First bad revision:13af43e59e415ec120b5116c4ce2d8e77f6bb825
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=9d96d2c96d8fe1d9365fdaee30d8fda048c48aa1&tochange=13af43e59e415ec120b5116c4ce2d8e77f6bb825

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Toolbars and Customization → Widget: Gtk
Ever confirmed: true
Product: Firefox → Core
Regressed by: 1807482

:emilio, since you are the author of the regressor, bug 1807482, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Keywords: regression

The real regressor is bug 1805414. I'll take a look anyways of course.

Component: Widget: Gtk → XUL
Regressed by: 1805414
No longer regressed by: 1807482

Hmm, so I was sure this was a regression from bug 1805414, but I can't reproduce this on Linux, at least... Ina, would it be possible to get a narrower regression range?

Flags: needinfo?(emilio) → needinfo?(epopescu)

I've managed to narrow down the regression range to the following, but the same regressor Bug 1805414 is indicated there:

Last good revision: 0c989b2bcd7882a9e7106e7879ab8933c2e09071
First bad revision: 47c002d3637247e71ee901f32421deaecc9d8ea3
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=0c989b2bcd7882a9e7106e7879ab8933c2e09071&tochange=47c002d3637247e71ee901f32421deaecc9d8ea3

Flags: needinfo?(epopescu)

Alright, let me try to investigate more on Windows.

Flags: needinfo?(emilio)

I can reproduce this on Linux. It needs to be fast focusing one menu entry and stop there to trigger.

So I'm confused. I can repro that, but it's expected and I can repro that in release, and it's this code, but my patch just moved it around.

Flags: needinfo?(emilio)
See Also: → 1815370

Version 117 seems to have broken this further, as releasing the left mouse button now opens an additional containerless tab. The original problem also still persists.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: