Skip to content
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

View / persistence of plugins can get out of sync #111

Closed
ViToni opened this issue Apr 3, 2024 · 4 comments
Closed

View / persistence of plugins can get out of sync #111

ViToni opened this issue Apr 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ViToni
Copy link

ViToni commented Apr 3, 2024

It seems this issue can occur in multiple places (e.g. the folder view when moving requests), but it's easiest to reproduce with the "Plugins" dialog.

  1. Open "Plugins" dialog
  2. Click "Add Plugin".
  3. Name: "GhostPlugin", Scope: "Current Workspace"
  4. Save
  5. => Plugin appears in "Workspace Plugins" section
  6. Edit "GhostPlugin"
  7. Change Scope to "All Workspaces"
  8. Save
  9. The plugin is gone (from the view) and does not appear in "Global Plugins" section
  10. Quit Restfox
  11. Start Restfox
  12. Open "Plugins" dialog
  13. "GhostPlugin" is shown in "Global Plugins" section

Tested with Restfox 0.9.1. on MacOS Sonoma 14.4.

@flawiddsouza flawiddsouza added the bug Something isn't working label Apr 3, 2024
@flawiddsouza
Copy link
Owner

This is definitely a bug. Most likely introduced after I implemented File Workspaces. Thanks for reporting this.

@flawiddsouza
Copy link
Owner

It seems this issue can occur in multiple places (e.g. the folder view when moving requests)

Can you expand more on this? This might be a different issue. I'm asking because there's no scope dropdown in Plugins for a request or a folder.

@ViToni
Copy link
Author

ViToni commented Apr 3, 2024

It seems this issue can occur in multiple places (e.g. the folder view when moving requests)

Can you expand more on this? This might be a different issue. I'm asking because there's no scope dropdown in Plugins for a request or a folder.

I' m pretty sure I had a (seemingly) similar issue when trying to organize my requests into folders. After restarting Restfox the folder structure looked differently... By "similar" I mean that there was a discrepancy between the view before and after restarting Restfox (my assumption was that view and persisted data might diverge and there might be a general issue in the way UI changes are persisted).
But I couldn't recreate the steps to reproduce it. At least with 0.9.1 I don't see it happening again.
(If it ever occurs again I'll create a separate issue with the steps needed.)

@ViToni ViToni changed the title View / persistence can get out of sync View / persistence of plugins can get out of sync Apr 3, 2024
@flawiddsouza
Copy link
Owner

But I couldn't recreate the steps to reproduce it. At least with 0.9.1 I don't see it happening again.
(If it ever occurs again I'll create a separate issue with the steps needed.)

I'd be more than happy to fix this if I get the reproduction steps.

Will most likely push a fix for the plugins issue tomorrow. That's very reproducible. Rare bugs are very hard to catch in comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants