Windows disappear if resolution is changed to something smaller than window size

Bug #414134 reported by Kai Jauch
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: compiz

If the display resolution is set to something smaller than the size of an existing window, the window disappears from screen and window list, although it is still running.

Example:
- Open firefox and set window size to something greater than 1440x900
- Switch resolution to 1440x900
- the firefox window disappears

If I then run "firefox about:blank" the window appears in the window list, but not on my screen. If I click it, the window partially appears in the upper left corner of my desktop (see attached screenshot), from where I can drag it down via alt-leftclick. The window then contains the original tabs and about:blank as an additional one.

Metacity does not show this behaviour. Metacity resizes the window to the maximum size that is possible with the current resolution. If the resolution is changed back to the original, larger one, metacity restores the original window size.
Changing the resolution back to the original one when compiz was running had no effect.

ProblemType: Bug
Architecture: amd64
CompizPlugins: [core,ccp,dbus,place,mousepoll,gnomecompat,move,resize,decoration,png,svg,imgjpeg,text,neg,video,wall,snap,animation,scale,scaleaddon,expo,staticswitcher,regex,resizeinfo,workarounds,ezoom,vpswitch,extrawm,fade,session]
Date: Sat Aug 15 18:40:15 2009
DistroRelease: Ubuntu 9.10
MachineType: Dell Inc. Latitude E6400
Package: compiz 1:0.8.2-0ubuntu15
PackageArchitecture: all
PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-5-generic root=UUID=8a24f1b2-f134-4248-b51f-c06d4095205f ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
SourcePackage: compiz
Uname: Linux 2.6.31-5-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 05/11/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA14:bd05/11/2009:svnDellInc.:pnLatitudeE6400:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude E6400
dmi.sys.vendor: Dell Inc.
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-5-generic

Revision history for this message
Kai Jauch (kaijauch) wrote :
description: updated
Revision history for this message
Anders Olsson (anders-anderso) wrote :

I see the exact same behavior, when I switch to a lower resolution certain windows disappear from the window list and from the desktop. I did not realize before reading this bug that the ones that disappear are those that are larger than the resolution I'm switching to (maximized windows do not disappear though).

I can also confirm that it only manifests itself in compiz, the workaround I'm using to get my windows back is using the effects tab in the appearance settings window (not sure what the exact English names are) and switching to none and then back to the normal setting.

I experience the exact same thing on two different computers, one Dell D620 and one MacBook Pro, both with Nvidia graphics and I'm using the nvidia-settings application to switch resolutions. It seems that Kai is using Intel graphics so this should not be hardware dependent. The MacBook is using a fresh install of 9.04 amd64 and the Dell has been upgraded from 8.04 or 7.10 or similar. This problem has existed on my Dell since atleast 8.10.

Revision history for this message
Travis Watkins (amaranth) wrote :

Confirmed, sort of. If the window is maximized it doesn't go away but if it is not maximized but still bigger than the new resolution it flies off to another viewport.

Changed in compiz (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in compiz (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Travis Watkins (amaranth) wrote :
Revision history for this message
Erkin Bahceci (cornelius1) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.8.3+git20091005-0ubuntu5

---------------
compiz (1:0.8.3+git20091005-0ubuntu5) karmic; urgency=low

  * New snapshot from upstream stable git:
     - compiz.real crashed with SIGSEGV in blurDrawWindow()
       (LP: #353236)
     - Windows disappear if resolution is changed to something smaller
       than window size (LP: #414134)
     - compiz.real crashed with SIGSEGV in handleEvent() (LP: #430518)
     - Windows that span screen width or height cannot be resized
       in that dimension (LP: #137134)
     - Reducing number of workspaces leaves windows inaccessible
       (LP: #189259)
     - "Snap Inverted" in Wobbly Windows compiz plugin broken
       (LP: #366822)
     - Problem when resizing and the Panels
       (LP: #408030)
  * debian/control:
    - make compiz package depend on compiz-gnome | compiz-kde (LP: #172385)
  * debian/patches/015_draw_dock_shadows_on_desktop.patch:
    - fix clock/calendar shadow not going away (LP: #428783)
      thanks to Erkin Bahceci
  * debian/patches/029_default_options:
    - add a focus prevention match to allow polkit windows to steal focus
      otherwise they never get focus (LP: #436852)
  * debian/compiz-gnome.gconf-defaults:
    - change /apps/gwd/blur_type to all since it only does anything if blur
      is enabled and is usually what is wanted (LP: #158376)
    - turn constrain_y back on (LP: #82654)
  * debian/rules:
    - add commands plugin to default active_plugins (LP: #355018)

 -- Travis Watkins <email address hidden> Mon, 05 Oct 2009 15:42:00 +0200

Changed in compiz (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Anders Olsson (anders-anderso) wrote :

I no longer have this problem now that I have upgraded to karmic so the fix seems to have worked for me.

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.