Intermittent resize during maximize/fullscreen

Bug #1347904 reported by Egmont Koblinger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

When a window is maximized or made fullscreen, it is first resized to a slightly bigger size and then made maximized or fullscreen.

This intermittent step shouldn't be there, the window should be resized to its final size immediately.

To reproduce:

1. Start gnome-terminal, xterm, or any other terminal emulator
2. Launch zsh (or bash <= 4.2, but beware, Ubuntu Trusty ships bash 4.3 which is not good)
3. Execute this command: trap 'stty size' SIGWINCH
4. Verify that upon manual resize the new size indeed immediately appears in the terminal area
5. Make the window maximized (using WM controls) or fullscreen (F11 in gnome-terminal)
6. Notice that there's an intermittent size which is about 2 lines taller than the starting one. E.g. with the default 24x80 size, you might see a 24x80 -> 26x80 -> 58x227 transition instead of the expected 24x80 -> 58x227.

Reproducibility: around 90%, so it's buggy most of the time, but not always.

Notice that the smaller the font size inside the terminal, the more terminal rows are added. Looks like the window's inner area temporarily occupies what previously belonged to WM decoration.

The bug is reproducible with plain Compiz as well as Unity+Compiz, but not with Gnome-shell or IceWM.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,move,resize,place,imgpng,snap,session,mousepoll,scale,resizeinfo,gnomecompat,regex,animation,expo,workarounds,ezoom,unityshell]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Wed Jul 23 22:26:49 2014
DistUpgraded: 2014-03-25 17:56:42,382 DEBUG enabling apt cron job
DistroCodename: trusty
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Samsung Electronics Co Ltd Device [144d:c606]
InstallationDate: Installed on 2012-05-30 (784 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 300E4Z/300E5Z/300E7Z
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=UUID=570ce59e-b28f-434e-9aef-b608ff12622d ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: Upgraded to trusty on 2014-03-25 (120 days ago)
dmi.bios.date: 12/14/2011
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 03QB
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 300E4Z/300E5Z/300E7Z
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr03QB:bd12/14/2011:svnSAMSUNGELECTRONICSCO.,LTD.:pn300E4Z/300E5Z/300E7Z:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rn300E4Z/300E5Z/300E7Z:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 300E4Z/300E5Z/300E7Z
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
version.compiz: compiz 1:0.9.11.2+14.04.20140714-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.3-0ubuntu0.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.3-0ubuntu0.1
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3.1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Wed Jul 23 22:24:23 2014
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 12874
 vendor SEC
xserver.version: 2:1.15.1-0ubuntu2

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :
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.