← Back to team overview

compiz team mailing list archive

[Bug 1102024] [NEW] Restoring a maximized Gnome Terminal window with keybinding fails to restore the original geometry

 

Public bug reported:

Steps to reproduce:
1. Open Gnome Terminal
2. Maximize the window with the maximize keybinding (Ctrl+Super+Up)
3. Immidiately restore the window with the restore window keybinding (Ctrl+Super+Down)

What happens:
- Window is unmaximized but it still fills the entire desktop

What should happen:
- Window returns to the exact size it had before maximation.

Testing this with Metacity and Mutter shows that this is compiz related
(no problems there). It seems that Compiz properly restores the window
but gnome-terminal immediately resizes the window back to it's maximized
size. Gnome-terminal seems to react to focus in/out events by
recalculating its size. When compiz restores the window, GTK apparently
gives terminal the old size instead of the new one (maybe a syncing
issue between compiz/X/gtk?)

Also present in the r3569 of compiz trunk.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-22.34-generic 3.5.7.2
Uname: Linux 3.5.0-22-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
Date: Sun Jan 20 13:31:27 2013
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.4.2, 3.5.0-21-generic, x86_64: installed
 bbswitch, 0.4.2, 3.5.0-22-generic, x86_64: installed
 virtualbox, 4.1.18, 3.5.0-21-generic, x86_64: installed
 virtualbox, 4.1.18, 3.5.0-22-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:1587]
 NVIDIA Corporation Device [10de:0de3] (rev ff) (prog-if ff)
InstallationDate: Installed on 2013-01-16 (4 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: ASUSTeK COMPUTER INC. K56CM
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-22-generic.efi.signed root=UUID=a1e4abfc-dff4-4bbe-bf2b-76cfcad8ea43 ro quiet splash i915.i915_enable_fbc=1 i915.i915_enable_rc6=7 vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/21/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K56CM.206
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: K56CM
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrK56CM.206:bd08/21/2012:svnASUSTeKCOMPUTERINC.:pnK56CM:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnK56CM:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: K56CM
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz 1:0.9.8.6-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.0-0ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.0-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu6.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu3

** Affects: compiz
     Importance: Undecided
         Status: New

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug compiz-0.9 quantal running-unity ubuntu

** Also affects: compiz
   Importance: Undecided
       Status: New

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

Title:
  Restoring a maximized Gnome Terminal window with keybinding fails to
  restore the original geometry

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


Follow ups

References