After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727566 - data: Add DesktopNames to the session file
data: Add DesktopNames to the session file
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: extensions
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-03 20:16 UTC by Bastien Nocera
Modified: 2014-07-18 19:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
data: Add DesktopNames to the session file (828 bytes, patch)
2014-04-03 20:16 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2014-04-03 20:16:14 UTC
.
Comment 1 Bastien Nocera 2014-04-03 20:16:17 UTC
Created attachment 273549 [details] [review]
data: Add DesktopNames to the session file

So that GDM can export the XDG_CURRENT_DESKTOP environment variable.

See also https://bugzilla.gnome.org/show_bug.cgi?id=727546
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-04-03 21:05:24 UTC
Are you sure you don't mean to modify https://git.gnome.org/browse/gnome-session/tree/data/gnome.session.desktop.in.in ?
Comment 3 Bastien Nocera 2014-04-03 22:21:30 UTC
That's the support for GNOME Classic, which is shipped in gnome-shell-extensions. The changes for the file you mentioned above are in bug 727565.
Comment 4 Florian Müllner 2014-04-28 22:20:07 UTC
Review of attachment 273549 [details] [review]:

OK
Comment 5 Bastien Nocera 2014-04-29 08:40:37 UTC
Attachment 273549 [details] pushed as 110e747 - data: Add DesktopNames to the session file
Comment 6 Vadim Rutkovsky 2014-05-05 13:54:19 UTC
This commit breaks gnome-classic session: see http://build.gnome.org/continuous/buildmaster/builds/2014/05/05/18/smoketest-classic/work-gnome-continuous-x86_64-runtime/journal.txt. The session seems to get closed for some reason
Comment 7 Bastien Nocera 2014-05-05 14:03:56 UTC
(In reply to comment #6)
> This commit breaks gnome-classic session: see
> http://build.gnome.org/continuous/buildmaster/builds/2014/05/05/18/smoketest-classic/work-gnome-continuous-x86_64-runtime/journal.txt.
> The session seems to get closed for some reason

There's really nothing to see in the logs. And as the patch is committed, and obviously correct, you should file a separate bug about whatever problem this is.
Comment 8 Adam Williamson 2014-07-18 15:57:31 UTC
One of our more gnomic testers, poma, referenced the same commit in a downstream Fedora bug about GNOME Classic not working:

https://bugzilla.redhat.com/show_bug.cgi?id=1120283

and posted this patch:

https://bugzilla.redhat.com/attachment.cgi?id=918676&action=diff

I think what he's saying is that applying that patch makes Classic work, presumably "GNOME-Classic" is not considered a valid value somewhere and that breaks stuff (or just the passing of multiple desktop names is broken, or whatever).
Comment 9 Adam Williamson 2014-07-18 19:17:26 UTC
I confirmed the problem Vadim and poma saw, and filed a new bug:

https://bugzilla.gnome.org/show_bug.cgi?id=733376