Closed Bug 1538420 Opened 5 years ago Closed 5 years ago

Right-clicking a page using a trackpad often causes 'incorrect' context menu to appear

Categories

(Core :: DOM: Selection, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 135813

People

(Reporter: dw, Unassigned)

Details

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

Steps to reproduce:

  1. Right-click on page to navigate back using the fancy modern-ish next/prev buttons on the page context menu

  2. Accidentally double tap before successfully right-clicking, or drag tap, or otherwise make typical use of a slightly imperfect trackpad

Actual results:

Selection context menu appears

Expected results:

(suggested) if area right-clicked was not the selected area, page context menu appears.

I hit this maybe 10 times a day.. would it perhaps be safe to tweak this so right click copy must occur on the selected text itself?

This would be a noticeable change in behaviour, and it would likely annoy me initially too, but I think the retraining is minimal considering a genuine copy operation generally involves a precision trackpad movement already -- requiring precise right-click is a minor extension.

This of course assumes the common case of right clicking the page is to access the page context menu -- Mozilla probably know whether or not that's actually true

Summary: Right click copy trackpad → Right-clicking a page using a trackpad often causes 'incorrect' context menu to appear
Has STR: --- → yes

Hi reporter,

Thank you for taking the time to add this report. This seems to be more of an enhancement than an issue in my opinion.

If my interpretation about the report you provided is correct, you claim that if you ''accidentally double tap" or "drag to top" before the right click, the menu that gets displayed is the selection context menu, even though the click is not actually performed on the "accidentally" selected area, and that your expectation would, therefore, be to have the ''regular" context menu displayed instead.

In other words, you would like to suggest that the Selection Context menu should be displayed only if the right-click is performed on the actual selected area rather than anywhere on the page (after the selection).

I am assigning this to Core: XUL component to this issue in order to involve the development team and get an opinion on this. If this is not the proper component, please feel free to change it to a more appropriate one.

Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Untriaged → XUL
Ever confirmed: true
Product: Firefox → Core
Version: 65 Branch → Trunk

Hi Paul, your interpretation looks correct. I neglected to specifically mention this relates to the context menus present on web content, within the main web page view. I'm not sure if XUL is the correct component.

Thanks for investigating this

Status: NEW → RESOLVED
Closed: 5 years ago
Component: XUL → Selection
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.