[regression] Restoring a maximized Gnome Terminal window with keybinding fails to restore the original geometry
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Compiz |
Medium
|
Unassigned | ||
| | compiz (Ubuntu) |
Medium
|
Unassigned | ||
Bug Description
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.
Related bugs:
* bug 1233205: maximize then unmaximize of gnome-terminal shrinks window
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.6-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-22-generic x86_64
.tmp.unity.
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
CompizPlugins: No value set for `/apps/
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
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fi_FI.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
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.
dmi.board.name: K56CM
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: K56CM
dmi.product.
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.
version.
version.
version.
version.
version.
version.
version.
| Sami Jaktholm (sjakthol) wrote : | #1 |
| Changed in compiz: | |
| milestone: | none → 0.9.9.0 |
| importance: | Undecided → Medium |
| Changed in compiz (Ubuntu): | |
| importance: | Undecided → Medium |
| Changed in compiz: | |
| milestone: | 0.9.9.0 → 0.9.9.2 |
Another way to reproduce this: (taken from bug 1138489)
To reproduce (both in currently released and trunk Unity):
1. Open gnome-terminal
2. Drag the terminal up to the panel to maximize
3. Drag the terminal down to unmaximize (or click the unmaximize button). Observe the window maintains maximized proportions
Interestingly, if you switch focus to another application after step 2, the terminal *will* restore correctly.
| Changed in compiz: | |
| status: | New → Triaged |
| importance: | Medium → High |
| summary: |
- Restoring a maximized Gnome Terminal window with keybinding fails to - restore the original geometry + [regression] Restoring a maximized Gnome Terminal window with keybinding + fails to restore the original geometry |
| Changed in compiz: | |
| importance: | High → Medium |
| Changed in compiz: | |
| milestone: | 0.9.9.2 → 0.9.10.0 |
| Matthew Eaton (powder) wrote : | #4 |
This is a very annoying bug for me. I wish it were fixed in Raring but it's not.
| Ben Gamari (bgamari) wrote : | #5 |
Does a fix for this bug currently exist in unreleased form somewhere? This is really breaking my workflow.
| Changed in compiz: | |
| assignee: | nobody → MC Return (mc-return) |
| Changed in compiz (Ubuntu): | |
| status: | Confirmed → Triaged |
| David Perkinson (davidp-reed) wrote : | #6 |
I've got the same problem with
Linux 3.8.0-22-generic #33-Ubuntu SMP Thu May 16 15:17:14 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
I fix would be *much* appreciated. Does anyone know of a temporary workaround?
| Changed in compiz: | |
| assignee: | MC Return (mc-return) → nobody |
| Changed in compiz: | |
| milestone: | 0.9.10.0 → 0.9.11.0 |
| Changed in compiz: | |
| status: | Triaged → New |
| status: | New → Incomplete |
| status: | Incomplete → Opinion |
| status: | Opinion → Invalid |
| status: | Invalid → Confirmed |
| status: | Confirmed → In Progress |
| status: | In Progress → Fix Committed |
| status: | Fix Committed → Fix Released |
| Changed in compiz: | |
| status: | Fix Released → Triaged |
| Edwin Pujols (edwinpm5) wrote : | #7 |
Still present in Saucy.
| Edwin Pujols (edwinpm5) wrote : | #8 |
Just noticed that `gtk_window_
In this bug, if I add a VteTerminal widget to a GtkWindow and use GtkWindow.
Now if I set the GdkGeometry base size to, say, 80x24, the window size will decrease/increase automatically (via the sequence of maximize/restore) iff the current unmaximized size is different than the base size (that is, the window tries to restore to the base size of the geometry hint).
Don't know if this bug has being reported, but I think is related and a possible solution could imply updating the window base size to the size before maximization, so this "restoring" effect wouldn't be perceptible. Of course, this would be just a workaround since compiz looks like the main suspect, here.
The file in gnome-terminal is `src/terminal-
| description: | updated |
| Martin Kaistra (djfun) wrote : | #9 |
cannot reproduce this in trusty anymore
| Matthew Eaton (powder) wrote : | #10 |
Fixed in Trusty for me as well.
| le_jawa (le-jawa-gmail) wrote : | #11 |
I'm experiencing this in Trusty. I thought it had been fixed a while back, but evidently not. My system has a multi-monitor configuration, which may affect this. Screenshot attached.
| Eleni Maria Stea (hikiko) wrote : | #12 |
This bug is quite old and we didn't manage to reproduce it, therefore I marked it as invalid. If you still experience the problem please feel free to re-open it and update the description! Thank you!
| Changed in compiz: | |
| status: | Triaged → Invalid |
| Changed in compiz (Ubuntu): | |
| status: | Triaged → Invalid |
| tags: | added: rls-w-incoming |


Status changed to 'Confirmed' because the bug affects multiple users.