← Back to team overview

compiz team mailing list archive

Re: [Bug 709461] Re: Application windows can sometimes fail to display and will mask regions of the screen


On Sat, May 28, 2011 at 10:13 AM, glennric <709461@xxxxxxxxxxxxxxxxxx> wrote:
> Sam Spilsbury:  Are you looking for a surefire way to reproduce the mouse dead zone?  Because I can tell you exactly how to do it with the default settings for either the Ubuntu Classic or the default Ubuntu desktops.
> 1.   Log in.
> 2.  Open a terminal from the menu, and move it away from the center of the screen where the switcher will appear.  Make sure that it still has focus.
> 3.  Hold down Alt-Tab to activate and show the switcher.
> 4.  While the switcher is still visible move the mouse to a point right above the very bottom of the gray switcher window.  Within a pixel or two of the bottom is sufficient.
> 5.  Click there.  You will see that the desktop does not take focus, and the terminal window still has focus.  If you run xwininfo you can click at that location and you will see information about a window that you can't see, and that is definitely not the background nautilus window.

Ah, I can see this one. Thanks. It's a different issue to the *actual*
invisible window bug (might be worth filing a separate bug over this)
but I know what's going on, thanks for that.

> I have noticed that this happens with both the "Static Application
> Switcher" and the "Application Switcher" compiz plugins, however it does
> not happen with the other switcher plugins.  Perhaps because those do
> not use override redirect windows?  It happens regardless of if you are
> using the unity-window-decorator or the gtk-window-decorator.

The switcher window is override redirect, so I don't really see the
problem here. I hink what's happening is that we don't unmap the frame
window we give it.

> Interestingly, if you repackage emerald with the current code from the
> git repository (since the package from the natty repositories
> segfaults), it is unaffected by this mouse dead zone bug.

I'm surprised that it even works with the new decoration interface.

> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/709461
> Title:
>  Application windows can sometimes fail to display and will mask
>  regions of the screen
> Status in Unity:
>  Triaged
> Status in “compiz” package in Ubuntu:
>  Triaged
> Status in “unity” package in Ubuntu:
>  Triaged
> Status in “compiz” source package in Natty:
>  Triaged
> Status in “unity” source package in Natty:
>  Triaged
> Status in “compiz” package in Fedora:
>  New
> Bug description:
>  Binary package hint: unity
>  On 2 separate machines  w/ updated as of 1/28 -
>  On rare occasions a window will open in the top left corner with top deco buried.  The most likely for this to happen is a utility window like  update manager.
>  After pulling back down into the desktop (Alt+click) it may or may not show some graphical distortion (window split in 2 parts), if so it returns to normal if opening any other window.
>  What does appear to happen is an invisible window is created in the
>  area where it was pulled down to, this only happens on the current
>  workspace, any others are unaffected
>  Attached xwininfo - first shows on affected workspace, 2nd when
>  switching to another and clicking in same spot
>  Note that this does not always happen, I'm thinking the 'buried'
>  window may need to show some distorttion, not sure yet
>  ### IMPORTANT ###
>  This can cause the central area of the screen (where the Alt-Tab switcher is drawn) to be unclickable. This also happens on Classic desktop.
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.04
>  Package: unity 3.2.16-0ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.38-1.27-generic 2.6.38-rc2
>  Uname: Linux 2.6.38-1-generic i686
>  NonfreeKernelModules: nvidia
>  .proc.driver.nvidia.version:
>   NVRM version: NVIDIA UNIX x86 Kernel Module  173.14.28  Wed Sep 29 09:47:25 PDT 2010
>   GCC version:  gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-2ubuntu1)
>  Architecture: i386
>  Date: Fri Jan 28 14:36:27 2011
>  DistUpgraded: Fresh install
>  DistroCodename: natty
>  DistroVariant: ubuntu
>  DkmsStatus:
>   nvidia-current, 260.19.29, 2.6.37-12-generic, i686: installed
>   nvidia-current, 260.19.29, 2.6.38-1-generic, i686: installed
>   nvidia-173, 173.14.28, 2.6.37-12-generic, i686: installed
>   nvidia-173, 173.14.28, 2.6.38-1-generic, i686: installed
>  GraphicsCard:   Subsystem: Dell Device [1028:0209]
>  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110120)
>  InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110120)
>  MachineType: Dell Inc. XPS M1330
>  ProcEnviron:
>   LANGUAGE=en_US:en
>   PATH=(custom, user)
>   LANG=en_US.UTF-8
>   LC_MESSAGES=en_US.utf8
>   SHELL=/bin/bash
>  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-1-generic root=UUID=28d68c1b-9e85-45a3-9ec2-ad4f992ba387 ro
>  ProcVersionSignature_: Ubuntu 2.6.38-1.27-generic 2.6.38-rc2
>  SourcePackage: unity
>  dmi.bios.date: 12/26/2008
>  dmi.bios.vendor: Dell Inc.
>  dmi.bios.version: A15
>  dmi.board.vendor: Dell Inc.
>  dmi.chassis.type: 8
>  dmi.chassis.vendor: Dell Inc.
>  dmi.modalias: dmi:bvnDellInc.:bvrA15:bd12/26/2008:svnDellInc.:pnXPSM1330:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
>  dmi.product.name: XPS M1330
>  dmi.sys.vendor: Dell Inc.
>  version.libdrm2: libdrm2 2.4.23-1ubuntu3
>  version.libgl1-mesa-glx: libgl1-mesa-glx 7.10-1ubuntu1
>  version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
>  version.xserver-xorg: xserver-xorg 1:7.5+6ubuntu8
>  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.13.2+git20110124.fadee040-0ubuntu1
>  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-1ubuntu2
>  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu1

Sam Spilsbury

You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.

  Application windows can sometimes fail to display and will mask
  regions of the screen