Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
354 stars 22 forks source link

Unable to open multiple instances with unique scripts #239

Open videosmith opened 5 months ago

videosmith commented 5 months ago

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

Cuperino commented 5 months ago

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 commented 5 months ago

Completely different files. Created the first instance, loaded/edited/saved a file. Created a second instance, loaded/edited a second file. Upon saving, both instances identical as far as i can determine. On Friday, January 5, 2024 at 12:51:49 PM EST, Javier O. Cordero Pérez @.***> wrote:

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?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

videosmith commented 5 months ago

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

videosmith commented 5 months ago

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

Cuperino commented 5 months ago

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.