← Back to team overview

compiz team mailing list archive

[Bug 1242625] [NEW] Undecorated GtkWindow adds window decoration to its size.

 

You have been subscribed to a public bug:

When creating a GtkWindow with set_decorated(False) the window apparently still adds title bar and frame extents to its size.
See attached python script. I expect it to open a square window of size 100,100, but what I get is a rectangular window of size 102, 129.

$ python3 undecoratated.py 
configure-event w=100 h=100 origin=(1, 51, 78)
configure-event w=100 h=100 origin=(1, 51, 78)
configure-event w=100 h=100 origin=(1, 51, 78)
configure-event w=100 h=100 origin=(1, 51, 78)
configure-event w=100 h=100 origin=(1, 50, 50)
configure-event w=102 h=129 origin=(1, 50, 50)
configure-event w=102 h=129 origin=(1, 50, 50)

This affects Onboard, but not in Saucy's default configuration where
override redirect mode is enabled. With OR disabled, the (undecoratated)
keyboard window and floating icon change size every time they are shown.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libgtk-3-0 3.8.4-0ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Mon Oct 21 11:46:57 2013
MarkForUpload: True
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy
-- 
Undecorated GtkWindow adds window decoration to its size.
https://bugs.launchpad.net/bugs/1242625
You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu.