You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modify the DF in p2 in any way (I created an abs with a const of zero)
switch to project p1 (expected -> The content of 1 from p1 replaces the content from p2)
switch back to project p2
--> The content of 1 from project p1 has overwritten the content of 1 from p2. The contents of the file in p2 have been destroyed. Undo can sometimes undo this change.
Proposed Fix
Make the editor force clear the selected file on project switch. Though this issue and #457 really point towards a general design flaw with the editor being global instead of actually file specific.
Another consideration would be to introduce an explicit save button. The current instant autosaving is prone to overwriting files with the current issues.
The text was updated successfully, but these errors were encountered:
misode
changed the title
[DF Generator] Switching between projects containing files with shared name and path can overwrite files.
Switching between projects containing files with shared name and path can overwrite files.
Feb 1, 2024
Replication Steps
p1
p1
and save it as1
p2
p2
and also save it also named1
p2
in any way (I created an abs with a const of zero)p1
(expected -> The content of1
fromp1
replaces the content fromp2
)p2
--> The content of
1
from projectp1
has overwritten the content of1
fromp2
. The contents of the file inp2
have been destroyed. Undo can sometimes undo this change.Proposed Fix
Make the editor force clear the selected file on project switch. Though this issue and #457 really point towards a general design flaw with the editor being global instead of actually file specific.
Another consideration would be to introduce an explicit save button. The current instant autosaving is prone to overwriting files with the current issues.
The text was updated successfully, but these errors were encountered: