Undecorated GtkWindow adds window decoration to its size.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When creating a GtkWindow with set_decorated(
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
ProcVersionSign
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: | gtk+3.0 (Ubuntu) → ubuntu |
affects: | ubuntu → compiz (Ubuntu) |
Changed in compiz (Ubuntu): | |
status: | New → Confirmed |
gerd@box01:~$ ./undecoratated.py
configure-event w=100 h=100 origin=(1, 50, 50)
configure-event w=100 h=100 origin=(1, 50, 50)
configure-event w=100 h=100 origin=(1, 50, 50)
Seems to work as expected, but I'm using gtk 3.10.0- 0ubuntu1~ saucy1 from the gnome3 ppa.
Maybe a bug in gtk 3.8.4 ??