[regression-r3635] Guake window appears placed by offset non-existent decoration
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Compiz |
Fix Released
|
High
|
Sam Spilsbury | ||
| 0.9.9 |
Fix Released
|
High
|
Sam Spilsbury | ||
| compiz (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
See MCR1's comment on https:/
==
It now opens about 5 pixels too small on both sides, seems like it would expect a decoration there, but Guake is not decorated.
Also some recent change now makes Guake open too low, like it would expect to be decorated with a title bar...
Screenshot: http://
Could ofc be that it is Guake's fault, but this problem never happened before...
Seems like the information that Guake does not use decoration gets lost somewhere now, it is rendered without it, but position and size are calculated for a decorated window...
Yakuake (sudo apt-get install yakuake), another drop-down terminal, shows similar problems.
In the case of Yakuake, setting horizontal size to 100% creates a 1920 pixel wide window, but it is shifted to the right to fit the non-existent decoration and so the right side of Yakuake gets rendered offscreen or on the second display...
The top, which should attach to the panel also shows a hole for the non-existent decoration title-bar.
review: Needs Fixing
Terra, the latest incarnation of drop-down terminal emulators, just opens with reduced horizontal size - Top and left side are placed correctly.
Screenshot: http://
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- MC Return: Approve
- Compiz Maintainers: Pending requested
-
Diff: 476 lines (+312/-93) 4 files modifiedapiplugins/place/src/constrain-to-workarea/include/constrain-to-workarea.h (+6/-0)
plugins/place/src/constrain-to-workarea/src/constrain-to-workarea.cpp (+62/-5)
plugins/place/src/constrain-to-workarea/tests/constrain-to-workarea/src/test-place-constrain-to-workarea.cpp (+235/-58)
plugins/place/src/place.cpp (+9/-30)
- PS Jenkins bot (community): Approve (continuous-integration)
- Sam Spilsbury: Approve
- MC Return: Pending requested
- Daniel van Vugt: Pending requested
-
Diff: 763 lines (+570/-102) 6 files modifiedapiplugins/place/src/constrain-to-workarea/include/constrain-to-workarea.h (+28/-0)
plugins/place/src/constrain-to-workarea/src/constrain-to-workarea.cpp (+151/-0)
plugins/place/src/constrain-to-workarea/tests/constrain-to-workarea/src/test-place-constrain-to-workarea.cpp (+333/-0)
plugins/place/src/place.cpp (+38/-102)
src/window/extents/include/core/windowextents.h (+4/-0)
src/window/extents/src/windowextents.cpp (+16/-0)
- Daniel van Vugt: Needs Resubmitting
- MC Return: Approve
-
Diff: 763 lines (+570/-102) 6 files modifiedapiplugins/place/src/constrain-to-workarea/include/constrain-to-workarea.h (+28/-0)
plugins/place/src/constrain-to-workarea/src/constrain-to-workarea.cpp (+151/-0)
plugins/place/src/constrain-to-workarea/tests/constrain-to-workarea/src/test-place-constrain-to-workarea.cpp (+333/-0)
plugins/place/src/place.cpp (+38/-102)
src/window/extents/include/core/windowextents.h (+4/-0)
src/window/extents/src/windowextents.cpp (+16/-0)
- MC Return: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Compiz Maintainers: Pending requested
-
Diff: 642 lines (+178/-158) 9 files modifiedapiplugins/decor/src/decor.cpp (+78/-38)
plugins/decor/src/decor.h (+6/-0)
plugins/place/src/constrain-to-workarea/include/constrain-to-workarea.h (+3/-6)
plugins/place/src/constrain-to-workarea/src/constrain-to-workarea.cpp (+25/-49)
plugins/place/src/constrain-to-workarea/tests/constrain-to-workarea/src/test-place-constrain-to-workarea.cpp (+4/-57)
plugins/place/src/place.cpp (+3/-8)
src/window/extents/src/windowextents.cpp (+10/-0)
tests/manual/README.txt (+9/-0)
tests/manual/plugins/decor.txt (+40/-0)
Sam, thanks a lot for the fast response :)
I will test your fix ASAP.
Sam, I've linked the MP here.
Confirming. The linked branch fixes all issues described above.
Tested Guake, Terra and Yakuake. +1
Fix committed into lp:compiz at revision None, scheduled for release in compiz, milestone 0.9.9.2
This bug was fixed in the package compiz - 1:0.9.9~
---------------
compiz (1:0.9.
[ Michael Terry ]
* [regression-r3635] Guake window appears placed by offset non-
existent decoration (LP: #1159324)
[ Ubuntu daily release ]
* Automatic snapshot from revision 3641
-- Ubuntu daily release <email address hidden> 2013年3月29日 07:23:54 +0000
Fix committed into lp:compiz at revision None, scheduled for release in compiz, milestone 0.9.10.0
Reopening; this got reverted despite what the bot claims.
This bug was fixed in the package compiz - 1:0.9.9~
---------------
compiz (1:0.9.
[ Ken VanDine ]
* Revert 3636 from lp:compiz/0.9.9 to fix Qt apps getting window decorations
placed behind the panel. (LP: #1165343)
- This reintroduces bug 1159324, Guake window appears placed by offset
non-existent decoration
* [regression-r3635] Guake window appears placed by offset non-
existent decoration (LP: #1159324)
[ Ubuntu daily release ]
* Automatic snapshot from revision 3650
-- Ubuntu daily release <email address hidden> 2013年4月18日 05:46:57 +0000
This bug was fixed in the package compiz - 1:0.9.10+
---------------
compiz (1:0.9.
[ Sam Spilsbury ]
* Bump version to 0.9.10
[ Łukasz 'sil2100' Zemczak ]
* Remove debian/
- Running the support test from compiz has bad side effects, from now
on we run it from Xsession.d
* Automatic snapshot from revision 3644
[ Iven Hsu ]
* Opacify: Only dim the windows above the active window.(LP:
#1189374). (LP: #1189374)
* KWD: Fix compile errors with KDE 4.11. The KWin developers made
kdecoration
http://
(LP: #1193792). (LP: #1193792)
[ Nikolay Martynov ]
* When static switcher is enabled and has an option to show
application icon turned on the icons are expected to be ~1/3 of a
thumbnail (48px). Instead they are displayed in 512px size and
completely cover everything. This change addresses this issue. See
LP #1173914. (LP: #1173914, #1186426)
[ BryanFRitt ]
* Fixed the non-working Annotate 'Clear' Button. Moved this option's
CCSM position upwards to keep the button shortcuts together. (LP:
#1202907). (LP: #1202907)
[ Mehrdad Afshari ]
* Added "move window to previous monitor" feature to compiz Put
plugin. (LP: #1178581)
[ Hu Kang ]
* gtk-window-
min, max) buttons on the title bar is pressed. (LP: #1101648)
* Remove redundant src/logmessage/
#1067246). (LP: #1067246)
[ Steve Langasek ]
* Fix for bug #763148 (with added test cases): when the desktop is
resized, windows should stay on their original workspace. (LP:
#763148)
[ Brandon Schaefer ]
* Unrevert 3728, fix failing tests. Change the behaviour of
undecorating windows. Previously when a window was undecorated, we
would shift it back to an appropriate position according to its
gravity member. That behaviour was problematic because in the
StaticGravity case the window has to just stay in the same place.
But then if you had a window with StaticGravity which then did get a
decoration and later removed it, it would be placed as though it was
decorated and appear to be in the wrong place. The correct behaviour
is to place all windows as though they have decorations, and then
when decorations are removed, to move the window back to the corner
as indicated in its gravity and then expand its size to cover the
obscured regions no longer hidden because the decorations went away.
(LP: #1165343). 1. Completely remove decorOffsetMove and other
related code from decor.cpp. Put the logic to handle the
window->input () - window->border () placement offset inside of
setWindowFr
offset from its original non-decorated position to the new
decorated position, rather than having to guess between
decoration sizes. 2. Make saveGeometry and restoreGeometry work
relative to window->border () a...