← Back to team overview

desktop-packages team mailing list archive

[Bug 1485024] Re: context menu appears on wrong monitor when window is on rightmost of 3 monitors

 

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


** Bug watch added: code.google.com/p/chromium/issues #409287
   http://code.google.com/p/chromium/issues/detail?id=409287

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1485024

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

Status in chromium-browser package in Ubuntu:
  Confirmed

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]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1485024/+subscriptions


References