Closed Bug 1956573 Opened 29 days ago Closed 6 days ago

All possible context menu items appear in the context menu

Categories

(Firefox :: Untriaged, defect)

Firefox 136
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: adenin0177, Unassigned)

Details

Attachments

(2 files)

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

Steps to reproduce:

  1. Click with right mouse button anywhere in an HTML document.
  2. The context menu appears with every context menu item that can appear, including those not relevant to the element right-clicked.

Actual results:

The context menu has every context menu item, including those not relevant to the right-clicked element (e. g. sound-, video-, image-related items when right-clicking text).

Expected results:

Not every context menu item should appear: right-clicking images should only show the image-related items, right-clicking videos should only show the video-related items, etc.

Attachment #9474760 - Attachment description: Too many context menu items appear. (Screen resolution is 1920×1080, so the bottom items are cut off.) → Too many context menu items appear.

Bottom part of the "total" context menu.

(In reply to adenin0177 from comment #0)

Created attachment 9474760 [details]
Too many context menu items appear.

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

Steps to reproduce:

  1. Click with right mouse button anywhere in an HTML document.
  2. The context menu appears with every context menu item that can appear, including those not relevant to the element right-clicked.

Actual results:

The context menu has every context menu item, including those not relevant to the right-clicked element (e. g. sound-, video-, image-related items when right-clicking text).

Expected results:

Not every context menu item should appear: right-clicking images should only show the image-related items, right-clicking videos should only show the video-related items, etc.
Restarting Firefox apparently fixes the issue.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

Is this still happening for you?

If so, after startup, please can you go to the three-bar menu -> More Tools -> Browser Console. Then, try the right click context menu.

We would need to see the output of the error console, especially if there's any error messages listed there. You should be able to copy and paste as an attachment.

Component: Audio/Video: Playback → Untriaged
Flags: needinfo?(jmathies) → needinfo?(adenin0177)
Product: Core → Firefox

Hello! Thank you for submitting this issue I have tried to reproduce the issue on my end but unfortunately I wasn't able to with firefox 139.0a1(2025-04-17) and 137.0b8 on Ubuntu 22.04 and Windows 10
Could you please answer the following questions in order to further investigate this issue?

  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?

I have no addons installed, and the issue does not happen with a new profile.
The problem does not look able to be reproduced with 137.0.x or above, I only encountered it once on 136.

Flags: needinfo?(adenin0177)

Closing for now. Please reopen if you still see it.

Status: UNCONFIRMED → RESOLVED
Closed: 6 days ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: