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

Unable to open multiple instances with unique scripts #239

Closed
videosmith opened this issue Jan 5, 2024 · 6 comments
Closed

Unable to open multiple instances with unique scripts #239

videosmith opened this issue Jan 5, 2024 · 6 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@videosmith
Copy link

Bug Description
Upon saving a second instance of QPROMPT with a unique script, the first instance changes to match the second.

Expected behavior
Instances should preserve unique contents like multiple Word documents.

Device information

  • QPrompt Version: 1.2 r6
  • Operating System: Raspberry Pi Bookworm, latest updates.
@Cuperino
Copy link
Owner

Cuperino commented Jan 5, 2024

When you say unique script, you mean these scripts have been saved to uniquely different files? I see no reason why this should happen when working on separate files, because each instance of QPrompt is completely independent from the others.

Assuming that what you say is correct, I suspect that the two instances might have both opened the same file at some point of their execution, and later opened a different file on at least one of the instances. That would mean there's a bug with the file watcher.

Does my hypothesis match your experience?

@videosmith
Copy link
Author

videosmith commented Jan 5, 2024 via email

@videosmith
Copy link
Author

It seems to occur when scripts have been previously loaded and edited/saved.

@videosmith
Copy link
Author

Perhaps linked to the ability to load the last script upon launching somehow? Even though the app instances are already launched?

@Cuperino
Copy link
Owner

Cuperino commented Jan 7, 2024

Perhaps linked to the ability to load the last script upon launching somehow? Even though the app instances are already launched?

I think this could be it. Making as a bug for now, tho I haven't had the chance to replicate.

@Cuperino Cuperino self-assigned this Jan 7, 2024
@Cuperino Cuperino added the bug Something isn't working label Jan 7, 2024
@Cuperino Cuperino added this to QPrompt Jan 7, 2024
@github-project-automation github-project-automation bot moved this to Uncategorized Issues in QPrompt Jan 7, 2024
@Cuperino Cuperino added this to the 1.2 milestone Jan 7, 2024
@Cuperino Cuperino moved this from Uncategorized Issues to Bugs in QPrompt Jan 7, 2024
@github-project-automation github-project-automation bot moved this from Bugs to Done in QPrompt Sep 28, 2024
@Cuperino
Copy link
Owner

Cuperino commented Sep 28, 2024

Issue replicated and fixed for v2.0

Cuperino added a commit that referenced this issue Dec 1, 2024
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
Status: Done
Development

No branches or pull requests

2 participants