Modify ↓
Opened 4 years ago
Closed 21 months ago
#19219 closed enhancement (fixed)
[Patch] Save session: Sessions without data layer should always be savable as .jos
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 22.03 |
Component: | Core | Version: | |
Keywords: | template_report session file extension | Cc: |
Description
What steps will reproduce the problem?
- Have some imagery layers and a data layer
- Save session as
- Deselect all data layer and press "enter"
- Look at the file extension and its options in the next dialog
What is the expected result?
.jos
should be default or at least available
What happens instead?
Only .joz
available
Please provide any additional information below. Attach a screenshot if possible.
The file type needs to be chosen after the user's decision of layers
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-05-10 15:58:34 +0200 (Sun, 10 May 2020) Revision:16402 Build-Date:2020-05-11 01:30:50 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (0)
Change History (8)
comment:1 Changed 4 years ago by
Type: | defect → enhancement |
---|
comment:2 Changed 2 years ago by
Owner: | changed from team to Bjoeni |
---|---|
Status: | new → assigned |
comment:3 Changed 23 months ago by
Milestone: | → 22.02 |
---|---|
Owner: | changed from Bjoeni to team |
Status: | assigned → new |
Summary: | Save session: Sessions without data layer should always be savable as .jos → [Patch] Save session: Sessions without data layer should always be savable as .jos |
comment:6 Changed 22 months ago by
Milestone: | 22.02 → 22.03 |
---|
comment:7 Changed 21 months ago by
Note: See
TracTickets for help on using
tickets.
src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
// TODO: resolve dependencies for layers excluded by the userList<Layer> layersOut = layers.stream().filter(layer -> exporters.get(layer) != null && exporters.get(layer).shallExport()).collect(Collectors.toList());Remaining issue: Sessions that include marker layers can still not be saved as *.jos, even if the GPX file is saved as a local file. See #21813