After you switch to another session in GDM and try to login typing a wrong password, session selected in "gear menu" is reverted
gdm 3.30.3 on Arch Linux
-
do logout
-
click on your user account
-
click on the gear icon aside "Enter" button and observe which session is currently selected
-
select another session
-
type a wrong password and press enter
-
click on the gear icon again
Result: the selected session was reverted to the initially selected session (observed in the step 3).
Expected: the session selected in the step 4 remains selected in the session menu