Evan Huff - 1 hour ago

I was able to replicate this on jEdit 5.7.0, Java 25, macOS 27.2, following the steps as written.

One additional observation: after the incorrect prompt (“The file ab.txt already exists. Are you sure you want to overwrite it?”), clicking Yes actually saves the new buffer to a.txt as intended, and ab.txt is left unchanged. So the save itself appears to work correctly; the problem seems to be that the overwrite confirmation checks/names the previously selected file rather than the name currently in the File name field.