Don't return empty user session if possible

Bug #1675139 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Won't Fix
Wishlist
Unassigned

Bug Description

This is not critical and is easily worked around by greeters. But if a user does not have a stored preferred session, liblightdm will return an empty string when asked for their session.

Maybe it would be nicer to greeters if liblightdm returned the default session instead in that case. I don't *think* a greeter ever would want to differentiate between those cases itself.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Marking won't fix because the current behaviour is the intended and is documented as such. Any change could potentially break a greeter. I think it is possible (though probably unlikely) a greeter might want to visually indicate you have picked a session as opposed getting whatever the default is (or the greeter might want to pick the default).

Acknowledge this is a bit harder than liblightdm doing it all for you. I think if a simpler "common behaviour" API was required this could be made in liblightdm with a SimpleGreeter class (probably not required given there aren't that many greeters).

Changed in lightdm:
status: New → Won't Fix
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.