Open Bug 1866618 Opened 2 years ago Updated 2 years ago

"Open Link In New Tab" Cancels If User Clicks Elsewhere Too Quickly

Categories

(Core :: Widget: Cocoa, defect, P3)

Firefox 120
All
macOS
defect

Tracking

()

People

(Reporter: willhnguyen, Unassigned)

Details

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0

Steps to reproduce:

  1. Right click a link to open up the context menu
  2. Select "Open Link In New Tab"
  3. Immediately left click elsewhere on the page

Using an online double click test, I believe steps 2 and 3 have a time diff of approximately 200 ms. If the time diff is more than 300 ms, then the new tab appears and loads as expected.

This affects Macbook Pro 2019 16" Intel. This doesn't seem to be reproducible on Windows.

Actual results:

Nothing happens. No new tab appears in the background.

The action of clicking on the page before the new tab appears seemingly cancels the desired behavior.

Expected results:

A new tab should appear in the background for the selected link.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Hello! I have tried to reproduce the issue with firefox 121.0a1(2023-11-28) on MacOs 10.15, unfortunately I wasn't able to reproduce the issue on my end. Could you please answer the following questions in order to further investigate this isssue.

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed? If yes could you please list them?
Flags: needinfo?(willhnguyen)
  1. Yes, this still happens on a new profile.
  2. Yes, this still happens on the latest nightly.
  3. Yes, but since this affects a clean profile, I'll withhold this information.

I think this affects all the context menu items. See this video which demonstrates it affecting the Create Bookmark and Inspect menu item as well: https://youtu.be/XJDkobWx_ss

Note: In the video, mouse clicks are indicated with a circle outline.

Also, the machine that experiences this behavior is an Intel Macbook Pro 2019 16" with macOS Sonoma 14.0, not macOS 10.15. Not sure why but my user agent on Firefox, Safari, and Chrome all show claim to be on MacOS X 10.15.

Flags: needinfo?(willhnguyen)

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

We can reproduce this on macOS, not on Windows or Ubuntu. Seems like a bug with the native context menu.

Component: Tabbed Browser → Widget: Cocoa
Flags: needinfo?(dao+bmo)
Product: Firefox → Core

Safari and Chrome don't show this behavior, so it must be a bug in our implementation of native context menus.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → macOS
Priority: -- → P3
Hardware: Unspecified → All
Attachment #9384701 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: