JezerM / web-greeter

A modern, visually appealing greeter for LightDM.
https://web-greeter-page.vercel.app
GNU General Public License v3.0
211 stars 12 forks source link

Screen flickers before loading theme #3

Closed pwall2222 closed 3 years ago

pwall2222 commented 3 years ago

This started happening randomly, I reinstalled it and still does it. The logs say nothing about it. I wiped everything reinstalled everything and the problem still ocours. It both happens on debugging when loged in and when logging in for the first time.

JezerM commented 3 years ago

Hmm, that's weird. Can you provide screenshots or photos? Or videos.

pwall2222 commented 3 years ago

https://streamable.com/t2pxe8 A whole video with the flicker effect, it also happens when first logging in but thats too hard to capture.

JezerM commented 3 years ago

Oh, it's not screen flickering per se. The greeter shows first a white screen, like a simple browser would do, then it loads the theme. It's annoying. It could be fixable, though. Then, backgrounds "flickering" it's normal in webpages.

I'll check this out.

pwall2222 commented 3 years ago

I don't remember it doing it before though? My memory is too bad to remember though. It gets really annoying when you just got from a dark screen, and I have tried not loadings any html and the white still shows so no idea.

JezerM commented 3 years ago

The white screen is default by the greeter, so no theme would do anything to fix it. As an early idea, it would be just to change the QApplication background color to black.

JezerM commented 3 years ago

Ok, it was quite easy. I updated the master branch with this fix. If you did install the 3.0.0rc3 before, updating to 3.0.0rc4 would need to install the latest whither release.

JezerM commented 3 years ago

Should look like this: https://streamable.com/ufzmaw

pwall2222 commented 3 years ago

It works now, thank you so much!