Modify

Opened 9 years ago

Closed 9 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:

Description

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: http://josm.openstreetmap.de/svn
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
URL: http://josm.openstreetmap.de/svn/trunk
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/JOSM.app/Contents/MacOS, -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, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Dataset consistency test: No problems found

Attachments (0)

Change History (4)

comment:1 by Don-vip, 9 years ago

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 by Zverikk, 9 years ago

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 by Don-vip, 9 years ago

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

ok thanks

comment:4 by Don-vip, 9 years ago

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
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.