-
-
Notifications
You must be signed in to change notification settings - Fork 442
Fix Plugin manager Metadata Desynchronization #4007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Plugin manager Metadata Desynchronization #4007
Conversation
gonX
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM, will wait for @Kuuuube to test if this works as requested
Kuuuube
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is fetching the wrong metadata (not checking the supported versions?). Tested installing chatter exterm and got a version with metadata set at 0.5.0.0.
…te status & fetch the updated metadata on Update
…tDriver into plugin-manager-metadata-desync
Also add missing null check in GetUpdatedMetadatas()
|
Fixed the conflict & Added a missing check (also now re-using a linq query). I do wonder if it wouldn't be just better to have a new property that stores the updated Metadata to avoid calling GetUpdatedMetadatas twice. |
|
Gave it another test. Clicking the install button for a plugin in the plugin repo doesn't seem to do anything. Updating a plugin gives Uninstalling and installing a plugin does seem to work fine here without a restart. Test case for a plugin that can be updated through the plugin repo: Hover Distance Limiter.zip |
|
|
If anything, the message tells me that it indeed worked as it probably loaded the new instance |
|
Try this one out, doubt it will be much different. |
|
It looks mostly good now but the UX filters list (probably tools and output modes too?) doesn't update. Plugins install just fine. Plugins update fine on the daemon's side, files get replaced without any issue. Test case to easily see this:
|
|
https://i.imgur.com/nbQDgoo.png 2025-09-01.17-57-55.mp4Doesn't happen on my side, list is updated. |
|
Alright, I'll give it another test later and approve if I don't see any regressions. The list not refreshing isnt a regression since it was already broken anyways. |
|
I'm having an actual massive headache understanding this mess. Why is the Temp folder only removed if there is nothing inside. |



This fixes an issue where even after updating the plugin, it wouldn't save the metadata to a file & the UX wouldn't load the updated metadata.
Closes #720