GNOME Bugzilla – Bug 754963
desktop-background: able to get the focus, placed above desktop icons
Last modified: 2016-07-25 11:33:33 UTC
Steps to reproduce: 1. Hit Ctrl-Alt-Tab. 2. Choose gnome-flashback, which is the desktop background. 3. Now the desktop background get the focus, and placed above the desktop icons rendered by Nautilus. Tested with the current gnome-flashback git master. I think the desktop background should not be listed on the Ctrl-Alt-Tab switcher, and never should be placed above the desktop icons.
Now it should be fixed...
Unfortunately, the desktop background is still placed above the desktop icons in the following case (I could always reproduce it with gnome-flashback 3.18.1): 1. Log in into a new GNOME Flashback (Metacity) session. Don't open any windows yet. 2. Alt+Right click on the panel, and select 'Properties'. 3. Close 'Panel properties' window. As soon as the window disappeared, the desktop background image is placed above the desktop icons.
It usually happens when I close the last visible window.
Created attachment 325426 [details] [review] desktop-background: keep desktop background under all windows Can you please test this with both session? Compiz & Metacity?
I tested with Metacity, but it still doesn't work. The desktop windows disappear as soon as I close the 'Panel properties' window. The only difference with the patch is that the desktop icons sometimes appear again, when I reopen the window, and disappear again, when I close it.
Ok, thanks for testing. :) We could create desktop background window only when we need it: - when changing background image - for fade effect - when screen size changes - to recreate and reset background on root window? - when starting gnome-flashback - to set background on root window and then just destroy it and/or hide until it is needed again. No window, no problems. :) I guess it will work way better, but this will also cause problems in compiz session. I will try to fix that first and/if I will have working branch for compiz then I will push above changes.
Compiz bug: https://bugs.launchpad.net/compiz/+bug/1574866 Merge proposal: https://code.launchpad.net/~albertsmuktupavels/compiz/lp1574866/+merge/292865
If you have time please test wip/desktop-background branch. More or less this should be fixed because there will be no desktop window. It will be created only to set and/or change background. I hope this time you will not be able to find problems with this.
Thank you very much! It works better, however I could still reproduce the problem sometimes during the fade effect, e.g. when I switch the background image. When the fade effect starts, the desktop icons disappear, and become visible again when the fade effect ends. But of course, it's much better, and makes the desktop icons usable, so it's fine for me.
When icons disappear? Simply changing background image?
Yes, simply changing the background image causes this sometimes, but not always.
Can you try without last commit: desktop-background: try to keep background window under all windows But I guess it wont change anything... :(
Yes, I don't see any difference with or without the last commit.
Ok, thanks for testing. :) I have pushed all changes to master except that last commit. Right now I have no other ideas how to force window to stay bellow all other windows. :( One option could be to remove fade setting... Then desktop window would not be needed.
The desktop icons are still frequently disappear during the fade effect. I think the best would be to remove fade setting.