proof-pad-classic icon indicating copy to clipboard operation
proof-pad-classic copied to clipboard

Redundant "Replace existing file" dialogs

Open grantbacon opened this issue 11 years ago • 3 comments

Environment: OSX Mountain Lion Version: Release Version 4, c15be

Steps to reproduce:

  1. Open a new window
  2. Save... File chooser dialog appears
  3. Choose a file which already exists
  4. "Replace ?"
  5. Press yes
  6. Another Replace ? dialog appears.

Expected result: You are only prompted once to replace a file

Actual result: You are prompted twice to replace a file

Important notes: The file contents are only replaced after affirmation to the second dialog box.

grantbacon avatar Sep 24 '13 01:09 grantbacon

This seems to be a platform-dependent issue.

The same issue was not reproducible on Debian Linux (Wheezy).

grantbacon avatar Sep 30 '13 20:09 grantbacon

Also not reproducible on Windows 7.

kyle921 avatar Oct 01 '13 05:10 kyle921

It's kind of dumb, because the OS X file chooser prompts you if the filename matches exactly, but not if you exclude the extension, so the prompt is sometimes necessary even on OS X. Still, it would be fixable. On Windows and Linux, I use the swing JFileChooser, which behaves more consistently but looks really bad on OS X.

calebegg avatar Oct 04 '13 20:10 calebegg