GNOME Bugzilla – Bug 748347
files does not present the desktop when running under wayland
Last modified: 2017-05-01 03:55:43 UTC
When running under wayland, nautilus does not create the desktop area. This might be a duplicate or a blocker for bug #746286. Sorry for the clutter
This will likely need the application/desktop split described in bug 712620 to be possible.
There are no plans for now to support the desktop in Wayland, since it requires few things that only compositors or window managers have access to, like lowering the window on the stack.
(In reply to Carlos Soriano from comment #2) > There are no plans for now to support the desktop in Wayland, since it > requires few things that only compositors or window managers have access to, > like lowering the window on the stack. What is the best ticket on bgo to watch if users are interested in having desktop icons on Wayland? We have some Fedora users who are interested in keeping their desktop icons and this is clearly an upstream "issue". This was the best ticket I could come up with but it's a bit unsatisfactory referring to a "RESOLVED WONTFIX" ticket from the Fedora bug tracker. I understand that you are not interested in implementing this yourself. However there are quite a few users who are interested in the feature so I'd like to see one ticket which tracks the (lack of) progress. Maybe we could reopen this ticket?
(In reply to Felix Schwarz from comment #3) > (In reply to Carlos Soriano from comment #2) > > There are no plans for now to support the desktop in Wayland, since it > > requires few things that only compositors or window managers have access to, > > like lowering the window on the stack. > > What is the best ticket on bgo to watch if users are interested in having > desktop icons on Wayland? We have some Fedora users who are interested in > keeping their desktop icons and this is clearly an upstream "issue". > > This was the best ticket I could come up with but it's a bit unsatisfactory > referring to a "RESOLVED WONTFIX" ticket from the Fedora bug tracker. I > understand that you are not interested in implementing this yourself. > > However there are quite a few users who are interested in the feature so I'd > like to see one ticket which tracks the (lack of) progress. Maybe we could > reopen this ticket? You can use this one, reopened.
Just for reference: downstream Fedora issue is https://bugzilla.redhat.com/show_bug.cgi?id=1280195
*** Bug 775608 has been marked as a duplicate of this bug. ***
(In reply to Carlos Soriano from comment #2) > There are no plans for now to support the desktop in Wayland, since it > requires few things that only compositors or window managers have access to, > like lowering the window on the stack. I don't know what I'm talking about, but maybe it would be better to delegate the "show icons on desktop" task to gnome-shell instead of nautilus? I would say that it doesn't matter if the style of icons will be different between nautilus and the desktop icons. It may even be better to have completely different systems for that (as one may want to have different stuff on their desktop, like notes or a calculator or a clock, not just files and folders). If the idea is reasonable, I may also try to contribute to making it happen (I don't really know where to start but I know JS and C++).
Good points :) Are you subscribed to the GNOME Shell mailing list? I think it might be a good idea to start a discussion there.
Created attachment 341570 [details] [review] desktop: Force X11 backend At least for the time being, desktop icons are not supported on wayland. This may or may not change, but in the meantime we can still meet user expectations by forcing the supported backend instead of failing with an unsupported one.
Thank you for the patch! I applied it. I now have the desktop icons again. I just needed to restart nautilus and set "show desktop icon" to false and then to true again.
Review of attachment 341570 [details] [review]: wait... is this going to make nautilus-desktop use xwayland on startup?
(In reply to Carlos Soriano from comment #11) > wait... is this going to make nautilus-desktop use xwayland on startup? Yes. (Not quite sure what you mean by "on startup", the method allows to influence the backend selection if called before GTK+ is initialized. In this case, it prevents GTK from using any backend but the x11 one, which I think is OK given that nautilus-desktop doesn't do anything besides printing a warning in that case anyway. It doesn't stop being a hack though of course.)
right, this is what I meant. I didn't really think about executing using xwayland at all, that's actually a good idea!
Review of attachment 341570 [details] [review]: LGTM, thanks for the idea (+ patch) Florian! Can you commit to 3.22 too?
Attachment 341570 [details] pushed as 2ce1635 - desktop: Force X11 backend
Sure!