Closed Bug 1952856 Opened 9 days ago Closed 5 days ago

After a while, the menu stops appearing when right-click is pressed

Categories

(Core :: Widget: Gtk, defect)

Firefox 138
defect

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: paul.0000.black, Assigned: emilio)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0

Steps to reproduce:

After a while (not sure how long but probably days to weeks) with a new profile, the standard right click menu stops appearing when I right click on a word or a link. Disabling all apps doesn't bring it back, only creating a new profile. In Outlook, the right-click menu continues to appear although this is not the standard Firefox menu.

Actual results:

Nothing

Expected results:

The standard right click menu should appear

Forgot to mention: right click still works on tabs, the toolbar, bookmarks, history, customization page, etc. It's just the web page area.

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

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Browser Console shows the following when I right click:
TypeError: can't access property "getTextDirectiveRanges", this.contentWindow.document.fragmentDirective is undefined ContextMenuChild.sys.mjs:923:8

Seems disabling dom.text_fragments.enabled causes this behaviour

(In reply to Paul Black from comment #4)

Seems disabling dom.text_fragments.enabled causes this behaviour

Do I understand you modified that property and you see the error now?
Thanks.

Flags: needinfo?(paul.0000.black)

If dom.text_fragments.enabled is true (the default), right click menu appears on a right click.

If dom.text_fragments.enabled is false, the menu fails to appear on a right click.

I don't think this is worth a test tbh. We can remove the null-check
when we remove the pref.

Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/401dd8406059 Deal with text fragments disabled for now. r=jjaschke
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

Working for me. Cheers.

Flags: needinfo?(paul.0000.black)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: