context menu appears on wrong monitor when window is on rightmost of 3 monitors

Bug #1485024 reported by Nathaniel W. Turner
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

This is a triple-head setup with 3 monitors arranged horizontally.

When the chromium window is on either the left or middle monitor, right-clicking on a tab or normal web page displays a context menu at the mouse pointer (i.e. normal context menu behavior).

When the chromium window is on the right monitor, right clicking on a tab or page displays a context menu on the right edge of the middle monitor (but at the expected vertical location). This is the bug.

Interestingly, if the mouse pointer is close enough to the right edge of the right monitor when right clicking, the context menu appears in the expected place (on the right monitor near the mouse pointer, but "pushed in" so the whole menu fits on the screen without overflowing off the right edge).

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: chromium-browser 43.0.2357.130-0ubuntu0.15.04.1.1174
ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
Uname: Linux 3.19.0-25-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
DRM.card0.DP.1:
 edid-base64:
 dpms: On
 modes:
 enabled: disabled
 status: disconnected
DRM.card0.HDMI.A.1:
 edid-base64: AP///////wAEafEkAQEBASIUAQOANR547sT2o1dKnCMRT1S/7wBxT4GAgUCVAKlAswDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/QA4TB9TEQAKICAgICAgAAAA/ABWSzI0NgogICAgICAgAAAA/wBBOExNUVMwMzU3NzgKAIo=
 dpms: On
 modes: 1920x1080 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1152x864 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 enabled: enabled
 status: connected
DRM.card0.HDMI.A.2:
 edid-base64: AP///////wAEacEkAQEBARMXAQOANR546pJlplVVnygNUFS/7wBxT4GAgUCVAKlAswDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/QAyTB5TEQAKICAgICAgAAAA/ABWSzI0OAogICAgICAgAAAA/wBENUxNUVMwMjE5MDIKAJE=
 dpms: On
 modes: 1920x1080 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1152x864 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 enabled: enabled
 status: connected
DRM.card0.HDMI.A.3:
 edid-base64: AP///////wAEafIkAQEBAQ8WAQOANR547sT2o1dKnCMRT1S/7wBxT4GAgUCVAKlAswDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/QA4TB9TEQAKICAgICAgAAAA/ABWVzI0NgogICAgICAgAAAA/wBDNExNUVMwMjAyMzkKAZ0CAx7xS5AFBAMCARESExQfIwkHB4MBAABlAwwAEAAaNoCgcDgeQDAgNQATKyEAABpmIVaqUQAeMEaPMwATKyEAAB4BHQByUdAeIG4oVQATKyEAAB6MCtCKIOAtEBA+lgATKyEAABgBHYAYcRwWIFgsJQATKyEAAJ8AAAAAAAAAOQ==
 dpms: On
 modes: 1920x1080 1920x1080 1920x1080 1920x1080i 1920x1080i 1920x1080 1920x1080i 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1366x768 1152x864 1280x720 1280x720 1280x720 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 720x576 720x480 720x480 640x480 640x480 640x480 640x480 640x480 720x400
 enabled: enabled
 status: connected
DRM.card0.VGA.1:
 edid-base64:
 dpms: On
 modes:
 enabled: disabled
 status: disconnected
Date: Fri Aug 14 11:24:58 2015
Desktop-Session:
 'ubuntu'
 '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg'
 '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/'
DetectedPlugins:

EcryptfsInUse: Yes
Env:
 'None'
 'None'
Load-Avg-1min: 0.69
Load-Processes-Running-Percent: 0.1%
MachineType: ASUS All Series
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-25-generic root=UUID=cd444f9d-672e-4d7b-aea8-657fff0ea1f4 ro quiet splash crashkernel=384M-:128M crashkernel=384M-:128M crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M nomdmonddf nomdmonisw crashkernel=384M-:128M vt.handoff=7
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/27/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2401
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z97-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2401:bd04/27/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ97-PRO:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
gconf-keys: /desktop/gnome/applications/browser/exec = b'/opt/google/chrome/google-chrome\n'/desktop/gnome/url-handlers/https/command = b'/opt/google/chrome/google-chrome %s\n'/desktop/gnome/url-handlers/https/enabled = b'true\n'/desktop/gnome/url-handlers/http/command = b'/opt/google/chrome/google-chrome %s\n'/desktop/gnome/url-handlers/http/enabled = b'true\n'/desktop/gnome/session/required_components/windowmanager = b'compiz\n'/apps/metacity/general/compositing_manager = b'false\n'/desktop/gnome/interface/icon_theme = b'ubuntu-mono-light\n'/desktop/gnome/interface/gtk_theme = b'Radiance\n'
modified.conffile..etc.default.chromium.browser: [deleted]

Revision history for this message
Nathaniel W. Turner (nturner) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Jani Uusitalo (uusijani) wrote :

I can reproduce this on a two-monitor setup: right-clicking in Chromium on the right monitor brings up context menu on the left monitor. Right-clicking on the left monitor works as expected.

I cannot reproduce the workaround: here the context menu opens on the left monitor no matter how close to the right edge of the right monitor I right-click Chromium.

I recently upgraded from 12.04 to 14.04, and this issue appeared with the upgrade. 12.04 currently has Chromium 37.0.2062.120, whereas 14.04 has version 44.0.2403.89.

Upstream has a similar bug report about right-clicking links [1], but for me at least right-clicking links is *not* affected: the issue occurs only for the tabs' context menu and for web page right-clicks outside links, whereas the context menu of links opens on the right monitor.

Also, LP bug #1430393 [2] looks related, and is also reproducible here: (left-clicking) the main menu button also opens the menu on the wrong monitor.

* [1] https://code.google.com/p/chromium/issues/detail?id=409287
* [2] https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1430393

Revision history for this message
Jani Uusitalo (uusijani) wrote :

Spoke too soon: looks like the context menu for links just also turned affected. I swear they worked fine when I was writing the previous comment!

Changed in chromium-browser (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jani Uusitalo (uusijani) wrote :

With more testing I found that the context menu position depends (perhaps solely) on whether my mouse pointer is on the left side or the right side of the horizontal half of the rightmost monitor: if you imagine a vertical line dividing the rightmost monitor's display area into two equal-sized halves, right-clicking anywhere on the left side of that line brings up the menu on the correct display, whereas right-clicking anywhere on the right side brings it up on the wrong display.

(That is why I first made the mistake of thinking links weren't affected: the ones I tried first just happened to be on the left side.)

Unfortunately I don't have a third display to verify that I'm really seeing a different manifestation of the same bug as Nathaniel, of one that depends on the monitor count.

Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu and Chromium since that time.

Do you still see a problem related to the one that you reported using currently supported versions of Chromium and Ubuntu? Please let us know if you do and in which version of Ubuntu otherwise this report can be left to expire in approximately 60 days time.

Thank you for helping make Ubuntu better.

Paul White
[Ubuntu Bug Squad]

Changed in chromium-browser (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul White (paulw2u) wrote :

Bug report did not expire due to bug watch
Upstream report marked as duplicate of #378945
which closed as being fixed in September 2015
No reply to comment #6 or any other comment for
over 3 years so closing as fixed.

Changed in chromium-browser (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.