Thank you for reporting this bug. I can confirm this on compiz 0.9.9. Seems to be something to due with the Grid plugin.
** Summary changed: - Window Management - Terminal does not restore correctly when drag-maximized + [regression] Window Management - Terminal does not restore correctly when drag-maximized ** Changed in: compiz Importance: Undecided => Medium ** Changed in: compiz Milestone: None => 0.9.9.2 ** Changed in: compiz Status: New => Triaged ** Summary changed: - [regression] Window Management - Terminal does not restore correctly when drag-maximized + [regression] Grid Plugin does not restore maximized windows correctly. ** Changed in: unity (Ubuntu) Status: New => Invalid ** Changed in: unity Status: New => Invalid ** Also affects: compiz (Ubuntu) Importance: Undecided Status: New ** Changed in: compiz (Ubuntu) Status: New => Confirmed ** Changed in: compiz Importance: Medium => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity in Ubuntu. Matching subscriptions: dp-unity https://bugs.launchpad.net/bugs/1138489 Title: [regression] Grid Plugin does not restore maximized windows correctly. Status in Compiz: Triaged Status in Unity: Invalid Status in “compiz” package in Ubuntu: Confirmed Status in “unity” package in Ubuntu: Invalid Bug description: After a terminal application is dragged to the top panel, it will not unmaximize to original proportions, but rather detach from the top panel without changing size. 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. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: unity 6.12.0daily13.02.19.1-0ubuntu1 ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0 Uname: Linux 3.8.0-7-generic x86_64 ApportVersion: 2.8-0ubuntu4 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' Date: Fri Mar 1 15:24:28 2013 InstallationDate: Installed on 2012-10-30 (122 days ago) InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5) MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: unity UpgradeStatus: Upgraded to raring on 2013-02-21 (8 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1138489/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp