parsify-dev / desktop

Next generation notepad-based calculator, built with extendibility and privacy in mind.
https://parsify.app
214 stars 2 forks source link

Opening a second tab overwrites its file with the first tab's file #81

Open SquareBottle opened 1 year ago

SquareBottle commented 1 year ago

Describe the issue If you already have a tab open and then try to open another file in a new tab, then the contents of the file you're trying to open will immediately and irrevocably be replaced with the contents of the file you already had open.

To Reproduce (optional) Steps to reproduce the behavior:

  1. Open Parsify.
  2. Do some calculations.
  3. Save the file as "FILE-A.txt" or whatever.
  4. Close Parsify.
  5. Open Parsify.
  6. Do some different calculations.
  7. Save the file as "FILE-B.txt" or whatever
  8. Try to open "FILE-A.txt" in a second tab.
  9. Observe that the contents of "FILE-A.txt" are now the same as what you have open in "FILE-B.txt" in your first tab.

Short-term recommendation Disable tab functionality until this is fixed.

Device (please complete the following information):

Additional context This is happening on my brand new work laptop (2021 MacBook Pro), but also happened on my personal laptop (2019 MacBook Air).

xxczaki commented 1 year ago

Thanks for your patience; I just released v2.0.0 and am unable to reproduce this issue on it. Could you please give it a go?