Wallpaper Engine:壁纸引擎

Wallpaper Engine:壁纸引擎

Audio Scratchboard
Prinz 2017 年 9 月 11 日 上午 10:45
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.
< >
正在显示第 1 - 12 条,共 12 条留言
Squee  [开发者] 2017 年 9 月 11 日 下午 1:46 
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 2017 年 9 月 12 日 上午 7:38 
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.
最后由 Prinz 编辑于; 2017 年 9 月 12 日 上午 7:39
Squee  [开发者] 2017 年 9 月 12 日 上午 9:09 
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..
最后由 Squee 编辑于; 2017 年 9 月 12 日 上午 9:10
Prinz 2017 年 9 月 12 日 上午 10:01 
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
最后由 Prinz 编辑于; 2017 年 9 月 12 日 上午 10:07
Squee  [开发者] 2017 年 9 月 12 日 下午 2:12 
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
最后由 Squee 编辑于; 2017 年 9 月 12 日 下午 2:14
Prinz 2017 年 9 月 12 日 下午 3:50 
Alright. Really appreciate your work with this. I'll play around and see if I cant break it anymore ;)
Prinz 2017 年 9 月 12 日 下午 6:45 
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  [开发者] 2017 年 9 月 13 日 上午 8:49 
after the update import should be like this: https://imgur.com/a/JWVBJ
Prinz 2017 年 9 月 13 日 下午 8:05 
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  [开发者] 2017 年 9 月 14 日 上午 8:47 
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..
最后由 Squee 编辑于; 2017 年 9 月 14 日 上午 8:48
Prinz 2017 年 9 月 14 日 下午 12:56 
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  [开发者] 2017 年 9 月 14 日 下午 2:25 
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 ..
< >
正在显示第 1 - 12 条,共 12 条留言
每页显示数: 1530 50