Open Bug 1535966 Opened 5 years ago Updated 2 years ago

[elementry OS 5.0] Right-click context menu and autoscroll are incorrectly offset with system titlebar enabled

Categories

(Core :: Widget: Gtk, defect, P3)

65 Branch
defect

Tracking

()

People

(Reporter: stupidtrashmails, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Attached image firefoxclick.png (obsolete) —

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

Steps to reproduce:

  1. Install Firefox on elementary OS Juno (5.0)
  2. Enable autoscroll in Firefox settings
    3a. Right click on any website to open context menu
    3b. Middle click on any (scrollable) website to activate autoscroll function

Actual results:

The context menu respectively autoscroll icon appear with an offset from the mouse click. This causes some undesired issues:

*The right click immediately triggers the context menu element where the mouse button is. It is possible to work around this by editing about:config and change ui.context_menus.after_mouseup to true
(solution from https://elementaryos.stackexchange.com/questions/17101/mouse-right-click-double-clicks )
However, this does not fix the offset issue.

*Autoscroll immediately starts scrolling after the middle click due to the offset, which is really annoying.

Expected results:

The context menu, respectively autoscroll indicator should appear at the same location where the mouse cursor is.

Attached image firefoxclick.png

middle click instead of right click in the right picture

Attachment #9051586 - Attachment is obsolete: true

Hi,

Since I don't have access to an elementary OS Juno, I tried to reproduce the above issue on an Ubuntu 18.04 on the latest Nightly 68.0a1 20190320112939 but without success.

I'm assigning a component to get a start on this, if considered wrong, please feel free to change it to a more appropriate one.

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

This is a regression introduced by elementry OS 5.0 which did not exist in elementry OS 0.4.1. It only happens in remote content, not the browser chrome or privileged about:pages. It can be avoided by going into Customize mode and disabling the system titlebar.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Right-click and middle-click offset in elementaryos Juno → [elementry OS 5.0] Right-click context menu and autoscroll are incorrectly offset with system titlebar enabled
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: