Opened 13 years ago
Closed 13 years ago
#7972 closed enhancement (fixed)
Background downloads
Reported by: | anonymous | Owned by: | Gnonthgol |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin continuosDownload | Version: | tested |
Keywords: | Cc: |
Description
Would be nice to have these downloads in the background, so that the editing isn't interupted for each move of the screen.
Also it would be nice to tuggle this feature on and off, as well as allowing it do download gpx tracks
Attachments (0)
Change History (8)
follow-up: 2 comment:1 by , 13 years ago
Status: | new → assigned |
---|
comment:2 by , 13 years ago
Replying to Gnonthgol:
A more quiet place for the progress bar then a modal window would be better for a lot of tasks in josm.
I agree, we have several enhancement requests for this. A new system to handle background tasks and non-modal notifications in JOSM would be great.
follow-ups: 4 5 comment:3 by , 13 years ago
Continuous Download could be integrated in the core, and thus get access to gpx downloads too
comment:4 by , 13 years ago
Replying to anonymous:
Continuous Download could be integrated in the core, and thus get access to gpx downloads too
This is nothing I want to see in core. If people start to use such features on large scale, then we will create a lot of server loads and get troubles.
Improved progress bar somewhere in status line is another topic.
comment:5 by , 13 years ago
Replying to anonymous:
Continuous Download could be integrated in the core, and thus get access to gpx downloads too
The plugins have access to everything in the core, except changing the code. The problem is that now the information of what areas you have downloaded the gpx tracks in are discarded (unlike what areas you have downloaded the osm data in). That information is not possible to recover, even for core features. To fix this you have to change a lot of core code.
As for integrating the plugin in the core that is a discussion for another time. Potlatch 1 and 2 does have this feature in its core and they use a variation of the same algorithm.
follow-up: 7 comment:6 by , 13 years ago
A progress monitor in the status bar is already implemented, see MapStatus.BackgroundProgressMonitor.
comment:7 by , 13 years ago
Replying to bastiK:
A progress monitor in the status bar is already implemented, see MapStatus.BackgroundProgressMonitor.
Yes, there is an implementation of it. But it is not possible to use that since it does not implement a ProgressMonitor. So all the functions that takes an ProgressMonitor can not take a BackgroundProgressMonitor.
comment:8 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I have now released a version that have the ability to use the NullProgressMonitor. This have the disadvantage of not showing you any progress and not being able to cancel the download.
This obtion is off by default. To enable it you have to go into settings in expert mode and tick a box.
I will accept patches that does this better.
That is on my todo list, but I am waiting for a more permanent solution then just not showing the progress bar. A more quiet place for the progress bar then a modal window would be better for a lot of tasks in josm.
It is possible to toggle the continuous download on and off. There is a button in the file menu, and you can also add it to the toolbar if you want (that one will not show any indication if it is on or off).
The ability to download gpx tracks is also a limitation of the core. There is no way to get a list of what areas the tracks are already downloaded like you can with osm data. This would be a nice feature but is not possible today.