Wallpaper Engine

Wallpaper Engine

Audio Scratchboard
Prinz 11 Sep, 2017 @ 10:45am
Error Logs
So, I keep getting onMouseUP (index.html:2102:18): Failed to save. I can only reason that this is because of the complexity of the wallpapers I'm running. Any way I could disable this from popping up? Or is something else entirely going on here.
< >
Showing 1-12 of 12 comments
Squee  [developer] 11 Sep, 2017 @ 1:46pm 
That would the autosave feature ( that you can't toggle off because i didn't forsee this to become a problem ) ..

The wallpaper saves an autosave + the 3 storage slots in what is called localStorage in javascript, which by default is limited to 5Mb I believe. I believe several webwallpapers also share this same storage, so it could be another wallpaper filling up the store, or I have a mistake in mine thats causing it to fill up.

I do wonder how complex your drawing has become as I remember ( but i could remember incorrectly ) that I test the storage usage and I believe I ended up with the conclusion that it has to be really extreme to become a problem. You are the first even even report that popup.

I will look into this as I can only imagine how annoying it becomes, and will look into adding an ok/cancel style dialog to disable autosave once per instance ( instead of just a message as it is now ) as well as an option to just disable it in general .. I think I can have an update out by tomorrow or wednesday evening. Should be a small patch.


Prinz 12 Sep, 2017 @ 7:38am 
the largest wallpaper I have is only 1.5mb. it seems to happen with any wallpaper greater than 100kb in size (the svg file that is), and this is the only web wallpaper I have on my computer currently, so I suspect something else is an issue. Being able to simply disable the autosave would be sufficent. I tried to find the code myself but had no such luck.
Last edited by Prinz; 12 Sep, 2017 @ 7:39am
Squee  [developer] 12 Sep, 2017 @ 9:09am 
Could you upload one of those complex ones to svgur or some site? Maybe there is a bug in my import somehow ..

I will still work on getting some disable auto save function up first, but can't hurt to double check some things as well..
Last edited by Squee; 12 Sep, 2017 @ 9:10am
Prinz 12 Sep, 2017 @ 10:01am 
http://svgshare.com/s/30b here is one of the larger files I use. I traced and imported everything according to your directions. High details will cause issues haha. Side note, if I disable drawing it seems to reduce/eliminate the errors after I set my desired svg
Last edited by Prinz; 12 Sep, 2017 @ 10:07am
Squee  [developer] 12 Sep, 2017 @ 2:12pm 
Thanks for the example. Really helped a lot and I've been able to improve the import.

When I wrote the import I had simpler graphics in mind and wrote it to try and keep as much detail as possible .. In your svg example I needed the reverse, remove unneeded details that wouldn't be missed. As such I have added an option in the import to remove short line segments ( default value works well on your example svg ).

I would suggest trying the import with that small addition and you can keep the autosave on. The data size went from 8mb to 0.5mb just by removing very small segments. And the most specks are still visible then.

But there is also an option to disable autosave at the bottom of the wallpaper settings.

The update has been uploaded, but might take a bit before steam updates everyone
Last edited by Squee; 12 Sep, 2017 @ 2:14pm
Prinz 12 Sep, 2017 @ 3:50pm 
Alright. Really appreciate your work with this. I'll play around and see if I cant break it anymore ;)
Prinz 12 Sep, 2017 @ 6:45pm 
when I go to import, the dropdown menu only has the one option. Is that intentional or were there to be more. Already though you have resolved the error issues I was experiencing.
Squee  [developer] 13 Sep, 2017 @ 8:49am 
after the update import should be like this: https://imgur.com/a/JWVBJ
Prinz 13 Sep, 2017 @ 8:05pm 
in order for me to see that I have to click on it, then right click somewhere else, and that only works half the time. Clicking or double clicking doesnt work
Squee  [developer] 14 Sep, 2017 @ 8:47am 
Hrm, spent an hour on testing before deciding on that input , and I am sure it worked for me as I was testing/tweaking for an hour before publishing the update... but .. Now I am having problems with it too .. I can't even manage to get the same example as in that screenshot.

Will check tonight..
Last edited by Squee; 14 Sep, 2017 @ 8:48am
Prinz 14 Sep, 2017 @ 12:56pm 
Also maybe moving the box location from where windows by default stacks it icons? Could make it difficult for other users to get to the dropdown otherwise, or the ability to move it.
Squee  [developer] 14 Sep, 2017 @ 2:25pm 
Thats a nice idea, maybe something for a future update .. I was not able to reproduce the bug every time which made it hard to pinpoint so opted to try and adjust it a little in the hopes it works better now ..
< >
Showing 1-12 of 12 comments
Per page: 1530 50