← Back to team overview

desktop-packages team mailing list archive

[Bug 1353675] Re: _NET_WM_FULLSCREEN_MONITORS not handled correctly

 

[Impact]

 * VirtualBox and other multi-monitor full-screen applications using the
freedesktop.org standard are not displayed in a usable way when running
multi-monitor full-screen in Unity without this fix.

 * The bug makes the above set-up unusable.  Low regression potential as
this is an obvious fix for something which works correctly in other
major window managers which were tested, so applications are unlikely to
depend on the bug.

 * The proposed fix corrects an obviously incorrect use of an internal
programming interface.

[Test Case]

 * detailed instructions how to reproduce the bug

 * these should allow someone who is not familiar with the affected
   package to reproduce the bug and verify that the updated package fixes
   the problem.

[Regression Potential]

 * I do not see a likelihood of regressions, as the fix makes Unity
correctly implement a standard which other window managers already
correctly implement.  Please feel free to discuss.

 * I believe that any theoretical regressions would involve applications
running in full-screen mode.

[Other Info]
 
 * I think this process is very heavyweight for a simple bug fix which addresses what should be a very obvious programming mistake to any of your developers who cares to review it.  This does not increase my interest in contributing to Ubuntu in future.

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

Title:
  _NET_WM_FULLSCREEN_MONITORS not handled correctly

Status in Compiz:
  Fix Released
Status in Compiz 0.9.11 series:
  In Progress
Status in compiz package in Ubuntu:
  Fix Released
Status in compiz source package in Trusty:
  In Progress

Bug description:
  PrivateWindow::setFullscreenMonitors() contains the following:

          CompRect fsRect (screen->outputDevs ()[monitors->left].x1 (),
                           screen->outputDevs ()[monitors->top].y1 (),
                           screen->outputDevs ()[monitors->right].x2 (),
                           screen->outputDevs ()[monitors->bottom].y2 ());

  However, the prototype is:

  CompRect::CompRect (int x, int y, int width, int height)

  This causes Compiz to miscalculate the dimensions of a full-screen
  window when the EWMH protocol _NET_WM_FULLSCREEN_MONITORS is used.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: compiz-core 1:0.9.11.2+14.04.20140714-0ubuntu1
  Uname: Linux 3.15.8-031508-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  CurrentDesktop: Unity
  Date: Wed Aug  6 22:18:39 2014
  DistUpgraded: Fresh install
  DistroCodename: trusty
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:05cb]
  InstallationDate: Installed on 2014-08-01 (5 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Dell Inc. Latitude E7440
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.15.8-031508-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7 drm.debug=0xe
  SourcePackage: compiz
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/26/2014
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A10
  dmi.board.name: 0RYCC9
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA10:bd06/26/2014:svnDellInc.:pnLatitudeE7440:pvr01:rvnDellInc.:rn0RYCC9:rvrA00:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E7440
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.52-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
  xserver.bootTime: Wed Aug  6 15:17:04 2014
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id                                4413 
   vendor                                     AUO
  xserver.version: 2:1.15.1-0ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1353675/+subscriptions