jurassicplayer / Weeb-Themes

A Weeaboo's Repository for Miscellaneous Things
Other
24 stars 3 forks source link

SDDM themes lagging input #12

Closed jurassicplayer closed 8 years ago

jurassicplayer commented 8 years ago

So it's been an issue since forever, but I've only recently thought of why it might actually be happening. I'm assuming that my SDDM themes are actually taking a metric fuck-ton of time to load completely since they all use stuff like music and videos. This pretty much means that you don't actually get to see the mouse or input any data into the text fields because it waits until everything loads. So there's actually a sizeable delay depending on how long it takes the computer to deal with the resources before you can even login.

Since the content of my themes are...possibly questionable for the average passerby, preferably being able to input the login info as soon as possible would be...nice.

I recently noticed that you could put focus to a certain input field, though currently the implementation waits until everything has loaded (aka, it doesn't solve shit) since I took it from the circles sddm theme. So maybe I could do something like load the huge stuff after everything else has loaded or something.

jurassicplayer commented 8 years ago

Maybe use component and loader to load the component after everything has loaded already (maybe layering issues).

jurassicplayer commented 8 years ago

Component and Loader didn't work for me with MediaPlayer (or maybe I just tried to use it incorrectly). Thankfully, it seems that just by not using autoload/autoplay and then just having them play after loading everything else pretty much fixes the issue for the Illya Dance theme, so I'm hoping it will do the same for the other themes.

One thing to note: for some odd reason, I need to mouse click one before the text input focus actually works. So it's "Click->type password->login" rather than just straight "type password->login".

jurassicplayer commented 8 years ago

Fixed the rest of the themes in the same way (loading/playing the larger resources after everything else). The focus issue is another problem though...supposedly fixed in upstream SDDM...just not released yet. Sauce: