Bug 1184915

Summary: Session selector not reflecting previous choice for smartcard user
Product: Red Hat Enterprise Linux 7 Reporter: Michal Domonkos <mdomonko>
Component: gnome-shellAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: fred.wang, jkoten, mboisver, mclasen, mdomonko, rstrode, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-30 18:06:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Domonkos 2015-01-22 13:00:24 UTC
Description of problem:
When a user logs in using a smartcard and picks a session other than the default "gnome classic", the user's pick will be remembered for the next login, which is correct (fixed in bug 1159056).  However, the item preselected in the session menu that unfolds by clicking on the gears button would not correspond to the remembered pick and would always be "gnome classic".

Version-Release number of selected component (if applicable):
gdm-3.8.4-32.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. Insert a smartcard
2. On the PIN prompt select "gnome" from the session menu
3. Log in
4. Log out

Actual results:
The PIN prompt has "gnome classic" preselected.

Expected results:
The PIN prompt should have "gnome" preselected.

Comment 1 Ray Strode [halfline] 2015-01-22 15:19:45 UTC
we actually don't know the username until after you enter the pin so we can't show the session associated with the user.

It should have no bullet at all, not a bullet on "gnome". can you reconfirm that you see a bullet by gnome classic?

Comment 2 Michal Domonkos 2015-01-22 15:23:53 UTC
Oh, I didn't realize that.  Makes sense.

However, I do confirm that a bullet is there, at "gnome classic".

Comment 3 Florian Müllner 2015-01-22 15:42:07 UTC
(In reply to Ray Strode [halfline] from comment #1)
> It should have no bullet at all

Mmmh, that's not what I would expect from the code[0] though.

[0] https://git.gnome.org/browse/gnome-shell/tree/js/gdm/loginDialog.js?h=gnome-3-8#n462

Comment 4 Michal Domonkos 2015-05-15 10:41:27 UTC
The bullet is still there on GNOME-3.14.

The most sane behavior I can come up with in my mind is to only show the bullet in case the user explicitly selects an item in the session menu to be used for the next login and don't show it otherwise (comment 1).

Comment 5 Ray Strode [halfline] 2015-07-03 17:24:20 UTC
*** Bug 1200711 has been marked as a duplicate of this bug. ***