Closed Bug 1940859 Opened 2 months ago Closed 1 month ago

Context menu (on right click) lists too many options

Categories

(Firefox :: Menus, defect)

Firefox 134
defect

Tracking

()

RESOLVED DUPLICATE of bug 1940533

People

(Reporter: miles.martin, Unassigned)

References

Details

Attachments

(1 file)

Attached image preview.png

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

Steps to reproduce:

Right-clicking on any part of any website, with text selected or not. GUI components seem to be unaffected.

Actual results:

produces a context menu that lists seemingly every possible option (see screenshot)

Expected results:

Context menu opens

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

Component: Untriaged → Menus

Please can you check the browser console for any errors when you open the context menu.

Also please try restarting Firefox, and see if there's any errors on the console at startup, and if the issue persists or not.

Flags: needinfo?(miles.martin)

When right-clicking, no new lines are logged to the browser console, tested on various sites. After restarting my PC, I can no longer produce this bug. Apologies, I thought it was worth filing since menu errors were not occurring outside of Firefox.

Flags: needinfo?(miles.martin)

I'm seeing the same thing on:
Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0

Browser console logs this when opening context menu:

19:41:25.352 Uncaught TypeError: can't access property "contentWindow", window.gBrowser.selectedBrowser is undefined
    init resource:///modules/GenAI.sys.mjs:343
    init resource:///modules/GenAI.sys.mjs:342
    <anonymous> resource:///modules/GenAI.sys.mjs:1036
    task resource:///modules/BrowserGlue.sys.mjs:3156
    _scheduleStartupIdleTasks resource:///modules/BrowserGlue.sys.mjs:3258
GenAI.sys.mjs:343:23

and this when closing it:

19:41:25.712 Uncaught TypeError: can't access property "hiding", gContextMenu is null
    <anonymous> chrome://browser/content/browser-context.js:339
browser-context.js:339:7

I am seeing slight different results but I believe there is the same root cause. All Firefox menus (context menus on pages, menus in the menu bar, context menus for bookmarks, the "hamburger" menu, the extension button menu, etc.) are invisble. They are still interactable -- clicking where a menu item would be shown does in fact work -- but nothing can be seen at all. No errors in the console.

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

Slight correction: The context menu for bookmarks does work sometimes. If I open a blank tab (about:blank) and left click in the window, right clicking a bookmark will work. Right clicking anywhere else does not.

I also checked and running Firefox as Administrator had no effect. I thought this started when upgrading from v133, but downgrading to that version did not have any effect either.

(In reply to Matthew Read from comment #6)

Slight correction: The context menu for bookmarks does work sometimes. If I open a blank tab (about:blank) and left click in the window, right clicking a bookmark will work. Right clicking anywhere else does not.

Does bug 1940533 comment 15 help you here?

Flags: needinfo?(matthew.ryan.read)

(In reply to Mark Banner (:standard8) from comment #7)

(In reply to Matthew Read from comment #6)

Slight correction: The context menu for bookmarks does work sometimes. If I open a blank tab (about:blank) and left click in the window, right clicking a bookmark will work. Right clicking anywhere else does not.

Does bug 1940533 comment 15 help you here?

Ah, yes it does! In that context, worth noting I was never on 135beta and it happened prior to downgrading 134 -> 133 (this was my first time trying a downgrade).

Flags: needinfo?(matthew.ryan.read)
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 1940533
Resolution: --- → DUPLICATE
See Also: → 1942084
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: