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

Deleting a project from "Projects Library" leads to strange behavior of "Recent Projects" list until GUI restart #3439

Open
andrei-korshikov opened this issue Feb 17, 2023 · 0 comments
Labels
Milestone

Comments

@andrei-korshikov
Copy link

After you delete a project from "Projects library" it doesn't disappear from "Recent projects" list until GNS3 restart. Or, sometimes, it disappears, but "Recent projects" list becomes strange: there is no deleted project, but one of the existed project names is duplicated.

Possible solution: automatically refresh "Recent projects" list just after deletion a project from "Projects library".

GNS3 version and operating system:

  • OS: Arch Linux (uname -sr: Linux 6.0.11-zen1-1-zen)
  • GNS3 version: 2.2.37
  • Python version: 3.10.8
  • no use of the GNS3 VM or remote server, GNS3 is installed in Python virtual environment with pip

To Reproduce

  1. Start GNS3, go to "Projects library" and delete one project (in my case it was a project with very creative name "untitled-1").
  2. You can press "Refresh list" button, it doesn't matter.
  3. Go to "New project" tab, and press "Recent projects..." button. Look, "untitled-1" is still there.
  4. Close "Project" window, and open "File" menu. "untitled-1" is there too.
  5. Restart GNS3. Now you can see, "untitled-1" disappeared from "Recent projects..." list (and from "File" menu, of course).

Now, the intermittent part of the issue. Very rare behavior, I was lucky that I was able to get screenshots.

  1. Start GNS3, go to "Projects library" and delete one project (it was "untitled-1" again).
  2. Go to "New project" tab, and press "Recent projects..." button. Look, "untitled-1" is not there, but one of the existent projects ("lab" in my case) is duplicated.
  3. Close "Project" window, and open "File" menu. Look, "untitled-1" was swapped to "lab" too.
  4. Restart GNS3. Now "Recent projects..." list looks fine.

Screenshots
Deleted "untitled-1" didn't disappear (usual behavior):
Screenshot-3

Deleted "untitled-1" was swapped with one more "lab" (rare, intermittent behavior):
Screenshot-2
Screenshot-1

@grossmj grossmj added this to the 2.2.38 milestone Feb 17, 2023
@grossmj grossmj modified the milestones: 2.2.38, 2.2.39 Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants