Wallpaper Engine
VU Meter
The wallpaperPropertyListener needs to be created outside onLoad event
Hey,

I have had some issues with your wallpaper where it would only start non-functionally with a completely pink screen. This is likely due to the fact that the wallpaperPropertyListener is created in the onLoad event in the index.html after the wallpaper object is instantiated. You should try and place them outside the onLoad event, since the listeners should be created immediately.
< >
Показване на 1-5 от 5 коментара
Squee  [разработчик] 3 юни 2018 в 17:01 
I feel for you for having to read through that messy code :) But well found .. Your assumption sounds very plausible, and I will update my code. I do believe I have tested this before and notice something similar in rare case either way, but can't hurt to change it.

Another possibility is that I have some bug processing the settings causing the code to stop starting. I have had that one before in another wallpaper.

Will be asking Bio this week to be sure of how it should be because if true that would mean I would have to update a lot more than just this wallpaper. Will also update this wallpaper in the coming days.
Hey Squee,
the issue with window.onload is true, but I don't think it's currently the prevalent cause. While I'm actually waiting for a 'load ended' event in C++ before sending any properties too, it is different from window.onload, so the order of things still isn't guaranteed. So it's best to just set up the listener object right away. (My understanding is that window.onload will also wait for all dependencies while the C++ callback won't.)

Since the last time I updated Chromium I noticed this happening even more often than before when switching between two web wallpapers quickly. It seems the callbacks I'm waiting for don't allow me to check whether they belong to the last page I loaded, so the properties never reach the most recently selected web wallpaper. I think I already have a work around for that issue though.
Squee  [разработчик] 6 юни 2018 в 9:34 
Woah :spazhorror: you already found me before I got to ask on forum .. spooky

Thanks for the feedback .. will update all my wallpapers to start different and not wait for window.onload.
Първоначално публикувано от Squee:
Woah :spazhorror: you already found me before I got to ask on forum .. spooky

That's because ultio is a friend of mine :eaglegag:

Thanks, I'll check it out when it's updated. Perhaps the issue is fully gone then. The changes I have on my end seem to almost fix the problem so far.
Squee  [разработчик] 6 юни 2018 в 11:39 
I have checked and updated all my wallpapers by now .. Went quick as most were setup the same.

If there are any other issues, just let me know ..
Последно редактиран от Squee; 6 юни 2018 в 11:44
< >
Показване на 1-5 от 5 коментара
На страница: 1530 50