Modify

Opened 9 years ago

Closed 9 years ago

#12075 closed enhancement (fixed)

Warn user before closing JOSM with unsaved adjusted pictures

Reported by: skorbut Owned by: holgermappt
Priority: normal Milestone:
Component: Plugin photoadjust Version:
Keywords: Cc:

Description

If the user has moved one or several pictures without saving them and tries to close JOSM, the plugin should warn the user and give him the possibility to write changes to the files before closing JOSM.

Attachments (0)

Change History (4)

comment:1 by holgermappt, 9 years ago

Good idea. The other way to modify or set the image GPS position is to correlate with a GPX track. The JOSM default is to ignore such changes. A user who is used to that behavior might be annoyed by the additional warning. The warning could be an option that can be disabled in the preferences.

comment:2 by skorbut, 9 years ago

Actually what I did and why I was writing the ticket was the following: I correlated a series of photos using a GPX track to prepare them for a (manual) upload to Mapillary. Because I noticed that the GPX track was off in some places, I began to adjust the photos' position there. I was working on my laptop in the train and had to leave in a hurry and semi-accidentally closed JOSM, what of course caused the adjustments to be thrown away.

I can understand that having a warning for dismissing correlated positions might annoy users. JOSM might ask them a first time and give a checkbox to disable this behaviour, or not ask them at all: Correlating pictures with a GPX track doesn't take much time, whereas manually adjusting the pictures does. So a warning only in this case would also do IMHO.

comment:3 by holgermappt, 9 years ago

The warning was added in JOSM r9751 as unsaved changes dialog. That dialog is always shown if there are photos with modified GPS data. I don't think that dialog should have a ignore changes for this layer type checkbox.

comment:4 by holgermappt, 9 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain holgermappt.
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.