Maximize button not working properly!

Bug #953944 reported by Adrián on 2012-03-13
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Undecided
Unassigned

Bug Description

To reproduce:
1. Open terminal.
2. Drag the edge of the screen.
3. Click the Maximize button.

What will happen:
The terminal will not be full screen, and jumps to its original size.

What should happen:
The terminal will be full screen.

I attached a video:

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:0.9.7.0+bzr3035-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CompizPlugins: [core,composite,opengl,decor,compiztoolbox,grid,screenshot,gnomecompat,resize,imgpng,vpswitch,regex,place,move,mousepoll,thumbnail,unitymtgrabhandles,session,animation,workarounds,wall,wobbly,expo,ezoom,fade,scale,unityshell]
CompositorRunning: compiz
Date: Tue Mar 13 12:20:45 2012
DistUpgraded: Log time: 2012-03-13 10:54:58.702387
DistroCodename: precise
DistroVariant: ubuntu
GraphicsCard:
 Advanced Micro Devices [AMD] nee ATI RV350 AS [Radeon 9550] [1002:4153] (prog-if 00 [VGA controller])
   Subsystem: PC Partner Limited Device [174b:0200]
   Subsystem: PC Partner Limited Device [174b:0201]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: ASUSTek Computer Inc. K8N
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-18-generic root=UUID=45d596f2-82aa-49e7-9231-e863965949df ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: Upgraded to precise on 2012-03-13 (0 days ago)
dmi.bios.date: 02/16/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1011.005
dmi.board.name: 'K8N'
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1011.005:bd02/16/2006:svnASUSTekComputerInc.:pnK8N:pvrSystemVersion:rvnASUSTeKComputerINC.:rn'K8N':rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: K8N
dmi.product.version: System Version
dmi.sys.vendor: ASUSTek Computer Inc.
version.compiz: compiz 1:0.9.7.0+bzr3035-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.1-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.1-0ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901+git20120126-0ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Adrián (jaksi) wrote :
Geoff Jacobsen (geoffj) on 2012-03-14
Changed in compiz (Ubuntu):
status: New → Confirmed
Éric Piel (pieleric) wrote :

In essence, this happens when the window is "half-maximized" (i.e., vertically or horizontally maximized). Then clicking on the (un)maximize button will unmaximize completely while the user expects a full maximize behaviour.

You can reproduce this also by middle-clicking the maximize button and then left-clicking the maximize button. You get:
window normal size -> window vertically maximized -> window normal size
While you'd expect (at least me!):
window normal size -> window vertically maximized -> window fully maximized

So the (un)maximize button should treat half-maximized windows as non-maximized (but without remembering the current dimensions for when it will be normal size again).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers