proof-pad-classic
proof-pad-classic copied to clipboard
Redundant "Replace existing file" dialogs
Environment: OSX Mountain Lion Version: Release Version 4, c15be
Steps to reproduce:
- Open a new window
- Save... File chooser dialog appears
- Choose a file which already exists
- "Replace
?" - Press yes
- 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.
This seems to be a platform-dependent issue.
The same issue was not reproducible on Debian Linux (Wheezy).
Also not reproducible on Windows 7.
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.