Opened 6 years ago

Closed 6 years ago

#11362 closed defect (fixed)

On Mac OS X, JOSM asks twice to overwrite a file

Reported by: Zverikk Owned by: team
Priority: normal Milestone: 15.04
Component: Core Version: tested
Keywords: Cc:


Create a layer, "File", "Save As", choose an already existing file. The file dialog asks if you want to overwrite it. Answer "Yes".

Then JOSM asks the same question with a little clumsy dialogue. That is clearly redundant.

Revision: 8159
Repository Root:
Relative URL: ^/trunk
Last Changed Author: stoecker
Last Changed Date: 2015-03-29 14:37:50 +0200 (Sun, 29 Mar 2015)
Build-Date: 2015-03-30 01:30:55
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8159

Identification: JOSM/1.5 (8159 ru) Mac OS X 10.10.2
Memory Usage: 466 MB / 910 MB (276 MB allocated, but free)
Java version: 1.8.0_45, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.library.path=/Applications/, -DLibraryDirectory=/Users/ilyazverev/Library, -DDocumentsDirectory=/Users/ilyazverev/Documents, -DApplicationSupportDirectory=/Users/ilyazverev/Library/Application Support, -DCachesDirectory=/Users/ilyazverev/Library/Caches, -DSandboxEnabled=false, -Dapple.laf.useScreenMenuBar=true,,,,]
Dataset consistency test: No problems found

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by Don-vip

Owner: changed from team to Zverikk
Status: newneedinfo

Is it the same behaviour with both native and Java file choosers? (see my comment in #11363)

comment:2 Changed 6 years ago by Zverikk

No, Java file chooser doesn't ask to overwrite a file. So there must be a check, I guess: if the native dialog is used, assume user already answered the question.

comment:3 Changed 6 years ago by Don-vip

Milestone: 15.04
Owner: changed from Zverikk to team
Status: needinfonew

ok thanks

comment:4 Changed 6 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 8248/josm:

fix #11362 - do not confirm overwrite for OSX native file dialogs which already ask for it

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.