Open Bug 1539712 Opened 5 years ago Updated 2 years ago

Right click on a highlighted word automatically selects context menu entry.

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

66 Branch
Unspecified
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: PRESS_1P_START, Unassigned)

Details

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

Steps to reproduce:

I'm having this issue.

elementary OS Juno (Ubuntu 18.04) with Firefox 66.0.1 from Ubuntu repository.

Using a new profile:

1- Start Firefox. Make sure the window is not maximized.
2- Go to bugzilla search box and write a word.
3- Highlight the above word and then press right click.

Result: The word is erased instantanly because the context menu entry is automatically activated.

This issue only happens if the browser is not maximized.

Another similar issue that I found was that by setting the following about:config values to false and restarting the browser, "select all" is activated every time right click is pressed on an empty part of a page:

extensions.pocket.enabled
identity.fxaccounts.enabled

I can't reproduce this issue on other Applications.

Has STR: --- → yes
OS: Unspecified → Linux

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Build ID: 20190326175229

Hello reporter,

Thank you for taking the time to add this report.
However, I was not able to reproduce any of the behaviors you mentioned on the latest Firefox Release build or on the latest Nightly build on Ubuntu 18.04 or Windows 10.

Does this behavior reproduce for you on the latest Nightly build? (https://nightly.mozilla.org/). Could you please retest and report back the results? When doing this, please use a new clean Firefox profile, maybe even safe mode, to eliminate custom settings as a possible cause (https://goo.gl/PNe90E). If the issue does still reproduce, a short video of it would be much appreciated and any other config you might think could help us reproduce the issues.

Component: Untriaged → User events and focus handling
Flags: needinfo?(PRESS_1P_START)
Product: Firefox → Core

(In reply to Paul_B from comment #1)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Build ID: 20190326175229

Hello reporter,

Thank you for taking the time to add this report.
However, I was not able to reproduce any of the behaviors you mentioned on the latest Firefox Release build or on the latest Nightly build on Ubuntu 18.04 or Windows 10.

Does this behavior reproduce for you on the latest Nightly build? (https://nightly.mozilla.org/). Could you please retest and report back the results? When doing this, please use a new clean Firefox profile, maybe even safe mode, to eliminate custom settings as a possible cause (https://goo.gl/PNe90E). If the issue does still reproduce, a short video of it would be much appreciated and any other config you might think could help us reproduce the issues.

You mention 18.04. Is CSD enabled? Because on elementary when I enable CSD this problem stops.

Ubuntu seems to enable CSD by default, something that doesn't happen on elementary since there is some issues with window buttons position.

setting "ui.context_menus.after_mouseup" to true makes my issue go away.

Flags: needinfo?(PRESS_1P_START)
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.