incorrect frameless window size

Bug #1249297 reported by Ilya Kotov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Medium
Unassigned
compiz (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hello developers.
I have a problem with the latest compiz. The problem is that it spontaneously resizes frameless windows. For example, I created window with size 150x150, but compiz resized it to 152x179. I have created simple application which demonstrates this issue (See attached file). When I start it under compiz, it shows two resize events:

user@user-VirtualBox:~/test_frameless$ ./test_frameless
ResizeEvent: new size: 150x150
ResizeEvent: new size: 152x179

But same application running under openbox, kwin, xfwm shows only one resize event:

user@user-VirtualBox:~/test_frameless$ ./test_frameless
ResizeEvent: new size: 150x150

This bug affects all "framless" applications such as audacious and qmmp.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: unity 7.1.2+13.10.20131014.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic i686
.tmp.unity.support.test.1:

ApportVersion: 2.12.5-0ubuntu2
Architecture: i386
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Fri Nov 8 14:33:15 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
DkmsStatus: vboxguest, 4.3.2, 3.11.0-12-generic, i686: installed
GraphicsCard: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef] (prog-if 00 [VGA controller])
InstallationDate: Installed on 2013-11-07 (1 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-12-generic root=UUID=eb9e8fe5-195c-417a-941c-26996676172f ro quiet splash vt.handoff=7
Renderer: Software
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Fri Nov 8 13:57:31 2013
xserver.configfile: default
xserver.errors:
 AIGLX error: vboxvideo does not export required DRI extension
 AIGLX: reverting to software rendering
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.3-3ubuntu2
xserver.video_driver: vboxvideo

Revision history for this message
Ilya Kotov (forkotov02) wrote :
Stephen M. Webb (bregma)
no longer affects: unity (Ubuntu)
Changed in compiz:
status: New → Triaged
importance: Undecided → Medium
Changed in compiz (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Constantine (fe-pavel) wrote :

I have the same experience using QMMP

Changed in compiz (Ubuntu):
status: Triaged → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Doug McMahon (mc3man) wrote :

This doesn't seem to be an issue anymore in 14.04 (at least with test source adjusted for amd_64
:~/Downloads/test_frameless$ ./test_frameless
ResizeEvent: new size: 150x150

Revision history for this message
Ilya Kotov (forkotov02) wrote :

Yes, it works. Please, close this bug.

Revision history for this message
Stephen M. Webb (bregma) wrote :

Closing as requested.

Changed in compiz (Ubuntu):
status: Confirmed → Fix Released
Changed in compiz:
status: Triaged → Fix Released
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.