﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13119	Can't clear imagery cache from inside JOSM	rickmastfan67	wiktorn	"Steps to reproduce:
1. Load an OSM file and activate any imagery source as a background.
2. After you let the imagery source download the images, close both the data and imagery layer (but not JOSM).
3. Preferences > Imagery Preferences > Cache contents
4. Hit the clear button on which ever type of imagery you loaded. (Please note the # that's in the ""Object Count"" column before clearing that entry.)
5. Notice it now says '0' in the ""Object Count"" column for that imagery source.
6. Close & restart JOSM.
7. Once JOSM has been restarted, Preferences > Imagery Preferences > Cache contents

What happens:
The imagery layer that you 'cleared' in Step 4 has the same # as before you 'cleared' it.

What should happen:
The imagery source shouldn't even be listed anymore since you supposedly cleared all it's files back in Step 4.

This ""Clear"" button had been working in the past, but it's now obviously no longer working. :(  Only workaround for this is to manually go to the folder where the files are stored for the imagery downloads and manually delete all of the files.  That's the only way currently to clear them out.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-07-08 03:20:06 +0200 (Fri, 08 Jul 2016)
Build-Date:2016-07-08 01:33:09
Revision:10521
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10521 en) Windows 7 64-Bit
Memory Usage: 574 MB / 1820 MB (377 MB allocated, but free)
Java version: 1.8.0_77-b03, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

Plugins:
- OpeningHoursEditor (32309)
- buildings_tools (32309)
- measurement (32324)
- osmarender (32309)
- reverter (32309)
- turnlanes-tagging (1467927825)
- turnrestrictions (32386)
- undelete (32309)
- utilsplugin2 (32333)
}}}"	defect	closed	major	16.07	Core imagery	latest	fixed	regression jcs blockdiskcache	Klumbumbus
