Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Press return to select user with LXDE 42.1 #2303

Merged
merged 1 commit into from
Jan 12, 2017
Merged

Conversation

dzedro
Copy link
Contributor

@dzedro dzedro commented Jan 12, 2017

Copy link
Contributor

@Soulofdestiny Soulofdestiny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dzedro dzedro merged commit 1e6a16c into os-autoinst:master Jan 12, 2017
@dzedro dzedro deleted the patch13 branch January 12, 2017 11:38
@@ -23,7 +23,7 @@ sub handle_login {
if (get_var('DM_NEEDS_USERNAME')) {
type_string "$username\n";
}
if (check_var('DESKTOP', 'gnome')) {
if (check_var('DESKTOP', 'gnome') || (check_var('DESKTOP', 'lxde') && check_var('VERSION', '42.1'))) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to not check for explicit versions but use a version comparison.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean with version comparison ?
this is here only because this specific DM on lxde 42.1 does need to select user, such case is not in version before or after (It is maybe silly, but it is so)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, if it is really that silly than just keep it :-)

@@ -23,7 +23,7 @@ sub handle_login {
if (get_var('DM_NEEDS_USERNAME')) {
type_string "$username\n";
}
if (check_var('DESKTOP', 'gnome')) {
if (check_var('DESKTOP', 'gnome') || (check_var('DESKTOP', 'lxde') && check_var('VERSION', '42.1'))) {
# In GNOME/gdm, we do not have to enter a username, but we have to select it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment is wrong

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure there are gnome versions where it is true, DM is always changing, new theme or behavior, and will continue

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I mean the comment only refers to gnome but not to lxde but you are checking for this, too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will update in opened PR

@coolo
Copy link
Contributor

coolo commented Jan 14, 2017

https://progress.opensuse.org/issues/15996 -> still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants