Closed FallingSnow closed 7 years ago
Could you post the logs? Thanks.
@FallingSnow I think this has to do with your trying to use the lightdm variables before they are ready. Could you try ensuring you dont start until window load event?
Ok, seems to be fixed. I have however noticed now that a warning about the theme not working correctly with the possibility to change themes always pops up. I haven't actually tried to sign in with the material theme but it seems to functioning normally.
@FallingSnow The notice is part of a new safe guard I implemented to try and ensure that users are never stuck at the login screen unable to log in due to theme errors. If the notice is getting triggered its because there are errors being output to the console in the theme's javascript execution environment.
I see, then it appears to be working as expected.
Another issue I ran into (I'll have to double check), when using the currently released material theme you are unable to sign in. I believe this is due to the change from lightdm.start_authentication(user)
to lightdm.authenticate(user)
.
I believe this is due to the change from lightdm.start_authentication(user) to lightdm.authenticate(user).
Indeed. I think I am going to add a shim for that old method for just one release cycle since the material theme is pretty popular.
Yeah I would say just deprecate it, don't remove it.
Its actually been deprecated since version 2.0.0. I wanted to remove it for 2.2 thinking its been enough time but I guess one more cycle can't hurt.
Haha, then I guess it being in material is my fault, sorry about that.
On another note, does the fallback prompt trigger if there is a warning, because I was just prompted and the console only has a warning.
Well, ideally no it wouldnt. But there is no way to tell with any certainty the level of the message. Even though the webkit2 console api says it tells you the level I discovered that its doesnt work right. So what we're doing currently is checking for the phrase "Error" or "Exception" in any console message.
Just restarted my computer today, got to a login screen which seemed to load a mock login with Clark Kent. I'm using the material theme. It would seem that the new greeter did not load lightdm as a global variable causing the theme to believe it was in "demo mode".
Downgrading the 2.1.6-1 fixes this.