mtkennerly / ludusavi-playnite

Playnite plugin for save backups via Ludusavi
MIT License
141 stars 9 forks source link

Right click menu items missing when only single game game is selected #40

Closed darklinkpower closed 1 year ago

darklinkpower commented 1 year ago

Right click menu items missing when only single game game is selected

Single game (missing); image

Multiple games (menu items show): image

mtkennerly commented 1 year ago

Do you have any other extensions that might be impacting this, or is there anything in the log indicating an error? It works on my end:

image
darklinkpower commented 1 year ago

There were no errors but I just uninstalled and reinstalled the extension and for some reason it shows now

image

This makes me think that this is possibly an issue in Playnite itself rather than the extension. I'll be checking and let you know if I find anything

hunkyburrito commented 1 year ago

This has also been happening to me, but the reinstall did not fix it. Checked log and I am getting this error: image

mtkennerly commented 1 year ago

Thanks for the extra info. Apparently, member dictionaries default to null rather than empty, so when you open the context menu and it tries to check the multi-backup info, it could still be null. This would happen with older Ludusavi versions (since they don't support multi-backup) or potentially if you opened the context menu really fast after opening Playnite (before it finished retrieving the multi-backup info). This should be fixed in 0.10.2 shortly.

darklinkpower commented 1 year ago

That's correct, you need to initialize the dictionaries. I wonder why I missed any error in the logs, sorry about that and thanks for the fix 👍