← Back to team overview

desktop-packages team mailing list archive

[Bug 1383321] [NEW] Support XDG DesktopNames field in session files

 

Public bug reported:

[Impact]
LightDM doesn't support the XDG standard "DesktopNames" field in session .desktop files. Instead we only support X-LightDM-DesktopName which was used before the standard was set. Newer sessions might expect DesktopNames to work.

[Test Case]
1. Install a session which has DesktopNames set in /usr/share/xsessions/name.desktop. i.e. DesktopNames=GNOME;Unity;
2. Start this session
Expected result:
XDG_CURRENT_DESKTOP is set to GNOME:Unity
Observed result:
XDG_CURRENT_DESKTOP is not set

[Regression Potential]
Low. This feature is only activated if the field is set.

** Affects: lightdm
     Importance: Medium
         Status: Fix Released

** Affects: lightdm/1.10
     Importance: Medium
         Status: Fix Committed

** Affects: lightdm (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: lightdm (Ubuntu Trusty)
     Importance: Medium
         Status: New

** Affects: lightdm (Ubuntu Utopic)
     Importance: Medium
         Status: Fix Released

** Also affects: lightdm (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: lightdm (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: lightdm (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Changed in: lightdm (Ubuntu Utopic)
       Status: New => Fix Released

** Changed in: lightdm (Ubuntu Utopic)
   Importance: Undecided => Medium

** Changed in: lightdm (Ubuntu Trusty)
   Importance: Undecided => Medium

** Also affects: lightdm/1.10
   Importance: Undecided
       Status: New

** Changed in: lightdm
   Importance: Undecided => Medium

** Changed in: lightdm
       Status: New => Fix Released

** Changed in: lightdm/1.10
       Status: New => Fix Committed

** Changed in: lightdm/1.10
   Importance: Undecided => Medium

** Changed in: lightdm/1.10
    Milestone: None => 1.10.4

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1383321

Title:
  Support XDG DesktopNames field in session files

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Committed
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Trusty:
  New
Status in “lightdm” source package in Utopic:
  Fix Released

Bug description:
  [Impact]
  LightDM doesn't support the XDG standard "DesktopNames" field in session .desktop files. Instead we only support X-LightDM-DesktopName which was used before the standard was set. Newer sessions might expect DesktopNames to work.

  [Test Case]
  1. Install a session which has DesktopNames set in /usr/share/xsessions/name.desktop. i.e. DesktopNames=GNOME;Unity;
  2. Start this session
  Expected result:
  XDG_CURRENT_DESKTOP is set to GNOME:Unity
  Observed result:
  XDG_CURRENT_DESKTOP is not set

  [Regression Potential]
  Low. This feature is only activated if the field is set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1383321/+subscriptions


Follow ups

References