2014-09-02 05:34:06 |
Jack Hou |
bug |
|
|
added bug |
2014-09-02 05:34:06 |
Jack Hou |
attachment added |
|
Minimal repro https://bugs.launchpad.net/bugs/1364225/+attachment/4192966/+files/hello-x.c |
|
2014-09-02 05:34:55 |
Jack Hou |
attachment added |
|
Screenshot as produced by code in original report. https://bugs.launchpad.net/unity/+bug/1364225/+attachment/4192967/+files/shaped_windows.png |
|
2014-09-04 19:25:10 |
Launchpad Janitor |
unity (Ubuntu): status |
New |
Confirmed |
|
2014-09-19 19:32:47 |
Marco Trevisan (Treviño) |
tags |
|
decorations |
|
2014-09-19 19:34:12 |
Marco Trevisan (Treviño) |
tags |
decorations |
new-decorations |
|
2014-09-19 19:36:32 |
Marco Trevisan (Treviño) |
unity: status |
New |
Triaged |
|
2014-09-19 19:36:34 |
Marco Trevisan (Treviño) |
unity (Ubuntu): status |
Confirmed |
Triaged |
|
2014-09-23 17:36:32 |
Marco Trevisan (Treviño) |
unity: status |
Triaged |
In Progress |
|
2014-09-23 17:36:35 |
Marco Trevisan (Treviño) |
unity: assignee |
|
Marco Trevisan (Treviño) (3v1n0) |
|
2014-09-23 17:36:39 |
Marco Trevisan (Treviño) |
unity: importance |
Undecided |
Medium |
|
2014-09-23 17:36:41 |
Marco Trevisan (Treviño) |
unity (Ubuntu): importance |
Undecided |
Medium |
|
2014-09-23 17:36:43 |
Marco Trevisan (Treviño) |
unity (Ubuntu): assignee |
|
Marco Trevisan (Treviño) (3v1n0) |
|
2014-09-23 17:36:49 |
Marco Trevisan (Treviño) |
unity: milestone |
|
7.3.1 |
|
2014-09-23 17:36:56 |
Marco Trevisan (Treviño) |
unity (Ubuntu): status |
Triaged |
In Progress |
|
2014-09-23 17:37:05 |
Marco Trevisan (Treviño) |
unity/7.2: importance |
Undecided |
Medium |
|
2014-09-23 17:37:05 |
Marco Trevisan (Treviño) |
unity/7.2: status |
New |
In Progress |
|
2014-09-23 17:37:05 |
Marco Trevisan (Treviño) |
unity/7.2: milestone |
|
7.2.3 |
|
2014-09-23 17:37:05 |
Marco Trevisan (Treviño) |
unity/7.2: assignee |
|
Marco Trevisan (Treviño) (3v1n0) |
|
2014-10-01 16:03:13 |
Launchpad Janitor |
branch linked |
|
lp:~3v1n0/unity/decoration-edges-improvements |
|
2014-10-19 03:11:38 |
Marco Trevisan (Treviño) |
unity: status |
In Progress |
Fix Committed |
|
2014-10-19 03:12:49 |
Marco Trevisan (Treviño) |
unity (Ubuntu): status |
In Progress |
Fix Released |
|
2014-10-30 19:27:47 |
Marco Trevisan (Treviño) |
unity/7.2: milestone |
7.2.3 |
7.2.4 |
|
2014-12-08 22:39:12 |
Launchpad Janitor |
branch linked |
|
lp:~unity-team/unity/trusty-1276177 |
|
2014-12-15 19:19:39 |
Launchpad Janitor |
branch linked |
|
lp:~unity-team/unity/7.2.4 |
|
2015-01-06 14:54:26 |
Stephen M. Webb |
branch unlinked |
lp:~unity-team/unity/trusty-1276177 |
|
|
2015-01-06 16:12:07 |
Stephen M. Webb |
nominated for series |
|
Ubuntu Trusty |
|
2015-01-06 19:33:53 |
Stephen M. Webb |
description |
When using the XShape APIs*, windows that have a rectangular shape are treated like normal windows (they get a title bar and shadow) even if the rectangular region is much smaller than the window.
When a non-rectangular window changes its shape to be rectangular, it gains a shadow that remains even after changing its shape back to be non-rectangular.
Ideally there would always be a shadow that matches the shape of the window.
In the mean time, the correct behavior might be to remove the shadow whenever a shape is applied. If the application wishes to remove an applied shape, they could do something like:
XShapeCombineMask(d, w, ShapeBounding, 0, 0, None, ShapeSet);
Please let me know if you need any more details, or if I'm missing something. (Unfortunately, the ubuntu-bug tool wouldn't work when filing this bug).
* http://www.x.org/releases/current/doc/xextproto/shape.html |
[ Impact ]
Non-standard windows of a non-rectangular shape end up with rectangular shadows drawn behind them by Unity.
It is better to have no shadow at all for these windows rather than an incorrect rectangular shadow.
[ Test Case ]
C code for a test case is attached to this bug. It needs to be compiled and run to demonstrate the problem and solution.
[ Regression Potential ]
Any code change to the Unity desktop shell could introduce a new crash or hang.
A possible regression in this particular fix is a lack of shadows when expected, or a non-standard non-rectangular window still having a shadow as before.
[ Additional Info ]
The Unity SRU fix for Ubuntu 14.04 LTS was cherry-picked from Ubuntu 14.10 where it has been in production use for some time without regression. |
|
2015-01-06 19:34:14 |
Stephen M. Webb |
attachment added |
|
debdiff between unity_7.2.3+14.04.20140826-0ubuntu1 and unity_7.2.4+14.04.20141217-0ubuntu1 https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1364225/+attachment/4293139/+files/unity_7.2.4%2B14.04.20141217-0ubuntu1.debdiff |
|
2015-01-14 17:43:06 |
Chris J Arges |
bug task added |
|
unity (Ubuntu Trusty) |
|
2015-01-14 17:57:30 |
Chris J Arges |
unity (Ubuntu Trusty): status |
New |
Fix Committed |
|
2015-01-14 17:57:33 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-01-14 17:57:35 |
Chris J Arges |
bug |
|
|
added subscriber SRU Verification |
2015-01-14 17:57:38 |
Chris J Arges |
tags |
new-decorations |
new-decorations verification-needed |
|
2015-01-17 15:43:26 |
Mateusz Stachowski |
tags |
new-decorations verification-needed |
new-decorations verification-done |
|
2015-02-04 16:50:58 |
Launchpad Janitor |
unity (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2015-02-04 16:55:21 |
Chris J Arges |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-02-11 16:14:59 |
Stephen M. Webb |
unity: status |
Fix Committed |
Fix Released |
|
2015-02-11 17:27:44 |
Stephen M. Webb |
unity/7.2: status |
In Progress |
Fix Committed |
|
2015-03-11 02:45:03 |
Stephen M. Webb |
unity/7.2: status |
Fix Committed |
Fix Released |
|
2015-10-14 13:35:42 |
Marco Trevisan (Treviño) |
tags |
new-decorations verification-done |
new-decorations rls-w-incoming verification-done |
|