hakaishi / nobleNote

Program to make and manage notes
Other
30 stars 4 forks source link

if a synchronization software creates a copy of a note after a synchronization conflict, two files with the same uuid exist in the same dir #178

Open nebomuk opened 11 years ago

nebomuk commented 11 years ago

You cannot open both files at the same time because both have the same uuid.

hakaishi commented 9 years ago

Will the file always be an exact copy, even the file name? If not, we could delete one of them. A dialog to ask the user to choose the file he wants to keep and delete the other might be a nice to have. Would it be practicable to open both in a seperate editor (not "Note") to show the differences? We could also implement an editor to show differences (or simply delete the copy if the content is the same at that point). We would have to compare the strings and then highlight the differences (might be complicated though...).

nebomuk commented 9 years ago

there are already existing libraries and algorithms to show the difference between two files.