"Show desktop" plug-in actually works with Unity when ensured that it is loaded after unityshell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Low
|
MC Return | ||
0.9.8 |
Won't Fix
|
Low
|
MC Return | ||
0.9.9 |
Fix Released
|
Low
|
MC Return | ||
Unity |
Fix Released
|
Low
|
MC Return | ||
6.0 |
Won't Fix
|
Low
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Low
|
MC Return | ||
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Problem:
The default behaviour (before recent fixes) was loading this plug-in before unityshell, which prevented it from working correctly.
Currently it is prohibited to start this plug-in together with Unity (either showdesktop or unityshell).
Solution:
We have to make sure that showdesktop is loaded after unityshell to allow the user to use it's functionality, namely sliding windows out of view to show the desktop and sliding them back in to restore the previous state.
This effect is visually very pleasing and looks much better than Unity's standard fade out/in, so the fix should involve the possibility to enable this plug-in in CCSM together with Unity and to ensure that the plug-in is loaded after unityshell.
The "Fade to Desktop" plug-in provides essentially the same functionality like already provided by unityshell (fade to desktop), the only difference is that you can adjust the fade time with it.
Unfortunately this plug-in still makes some troubles, like a popping fade-out, so it will be best to not change current behaviour and prohibit the user using it together with Unity.
[Test Case]
Before the fix:
Testcase 1:
1. Open CCSM
2. Enable "Show Desktop"
Outcome: CCSM will tell you that the feature showdesktop is already provided by the plugin unityshell and prevents running them both
3. Cancel to enable showdesktop, because it would stop unityshell
Testcase 2:
1. Open CCSM
2. Enable "Fade to Desktop"
CCSM will tell you that the feature showdesktop is already provided by the plugin unityshell and prevents running them both
3. Cancel to enable fadedesktop, because it would stop unityshell
Testcase 3 (without Unity):
1. Open CCSM
2. Disable unityshell
3. Enable "Show Desktop"
4. Enable "Fade to Desktop"
CCSM will tell you that the feature showdesktop is already provided by the plugin showdesktop and prevents running them both
5. Choose between showdesktop or fadedesktop
After the fix:
Testcase 1:
1. Open CCSM
2. Enable "Show Desktop"
CCSM will accept your decision
3. Test showdesktop: (Press Super+D) You will see the windows sliding out of screen if you want to show the desktop and sliding back in if you restore previous state (Press Super+D again)
Testcase 2:
1. Open CCSM
2. Enable "Fade to Desktop"
CCSM will tell you that the feature fadetodesktop is already provided by the plugin unityshell and prevents running them both
3. Cancel to enable fadedesktop, because it would stop unityshell
Testcase 3 (without Unity):
Will be exactly the same like before the fix, see above (the desired behavior won't change)
[Regression Potential]
There is no regression potential.
The checks preventing the combined use of unityshell and showdesktop are new, so this just restores the same behavior like before the checks were introduced, with the only difference being that showdesktop now works for the first time together with Unity-3d, because it is ensured that the plug-in starts after unityshell.
fadetodesktop and showdesktop are still not allowed to run together (case without unityshell), because they both provide the feature showdesktop.
Ideally the fix for Compiz should go in first, then the one fixing Unity, but it will not produce any bugs if done the other way 'round either...
Related branches
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Marco Trevisan (Treviño): Approve
- Omer Akram (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedplugins/unityshell/unityshell.xml.in (+1/-1)
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Marco Trevisan (Treviño): Approve
- Omer Akram (community): Approve
-
Diff: 23 lines (+2/-0)2 files modifiedplugins/fadedesktop/fadedesktop.xml.in (+1/-0)
plugins/showdesktop/showdesktop.xml.in (+1/-0)
- Marco Trevisan (Treviño): Approve
-
Diff: 23 lines (+2/-0)2 files modifiedplugins/fadedesktop/fadedesktop.xml.in (+1/-0)
plugins/showdesktop/showdesktop.xml.in (+1/-0)
- Marco Trevisan (Treviño): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedplugins/unityshell/unityshell.xml.in (+1/-1)
- Didier Roche-Tolomelli: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedplugins/unityshell/unityshell.xml.in (+1/-1)
- Didier Roche-Tolomelli: Approve
-
Diff: 23 lines (+0/-2)2 files modifiedplugins/fadedesktop/fadedesktop.xml.in (+0/-1)
plugins/showdesktop/showdesktop.xml.in (+0/-1)
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
Changed in unity: | |
assignee: | nobody → MC Return (mc-return) |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | compiz |
Changed in unity: | |
milestone: | none → 7.0.0 |
status: | New → In Progress |
Changed in compiz: | |
status: | New → In Progress |
assignee: | nobody → MC Return (mc-return) |
milestone: | none → 0.9.8.8 |
Changed in unity: | |
importance: | Undecided → Low |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz (Ubuntu): | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in compiz (Ubuntu): | |
status: | Confirmed → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → MC Return (mc-return) |
Thanks go to megatron, who actually found a manual workaround to get showdesktop working together with Unity and made me aware of this possibility: /bugs.launchpad .net/compiz/ +bug/1063171/ comments/ 8
See: https:/