#20233 closed enhancement (fixed)
Session: export/import (gpx/marker) layer color
Reported by: | Owned by: | simon04 | |
---|---|---|---|
Priority: | normal | Milestone: | 21.03 |
Component: | Core | Version: | |
Keywords: | project color joz transparency markers | Cc: |
Description
Hi,
It would be a big improvement for me, and doubtless others, if when saving a project to a joz file
the transparency of the markers in a gpx file (for wav and jpg files in particular) were also saved and reproduced when subsequently opening the joz file.
I always set the transparency to be full so that I can't see the name and description of the waypoint, most of which are identical to one another. The name and description can be very long, and when there are many markers they are far too obtrusive when not set to fully-transparent.
Please consider this as a very worthwhile enhancement. I suspect the coding and testing for it won't be too onerous.
Thanks.
Rob
Attachments (4)
Change History (15)
comment:1 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
by , 4 years ago
Attachment: | 2021-01-07 - Shuttle-Green Chain.joz added |
---|
by , 4 years ago
Attachment: | Screenshot 1.jpg added |
---|
by , 4 years ago
Attachment: | Screenshot 2.jpg added |
---|
comment:2 by , 4 years ago
I'm sorry that my ticket wasn't helpful in its current form.
I think you're saying that what I'm describing is a bug because the 'enhancement' is already in place. I hope the following may help:
The layer in question is called "Markers from [filename].gpx". When that layer is set to full transparency/zero opacity I can see the icons but not the text. This is how I want it to be when restored from the .joz file.
Instead, when restored, the text in the layer is visible (with zero transparency/full opacity).
I've looked at https://josm.openstreetmap.de/changeset/5551/josm but I don't do coding and this is all gobbledegook to me and don't know what to make of it. Same with https://josm.openstreetmap.de/ticket/4029.
I've attached an example .joz file. I assume this is the test file you're asking for. I've also attached a screenshot as it is before saving as .joz and one showing how it is on restoring from .joz. I hope this is what you were after.
Regards,
Rob
comment:3 by , 4 years ago
Well, it is still some kind of guessing and a step by step description including the status report is always helpful.
What I can say is that the color settings of the marker layer is not saved in the session file:
- Open session
- Set maker layer color to black an alpha to zero
- Save session
- Delete all layers
- Load session
- Color settings are gonne
comment:4 by , 4 years ago
@ra, please confirm that skyper's steps reproduce the behaviour you want to get fixed. Nothing is more annoying than spending some time (an hour) to fix an issue which turns out to be a different than the original reporter meant.
by , 4 years ago
Attachment: | Status report.txt added |
---|
comment:5 by , 4 years ago
Hi, and thanks for your responses.
I provided a file and screen shot as requested and regarded the other items as forming a standard reply that didn’t need repeating or adding (as the case may be). My mistake.
I’ll try and be more specific.
Thanks, simon04, for explaining that skyper was asking me to carry out those specific steps. I took it to be that he/she had carried out those steps for him/herself and found the same problem.
I did my own list of steps to send following that response and then saw your (simon04’s) last request, so I’ve gone back and done what skyper’s listed.
I’m not clear whether you want further screen shots. I’ll assume not for now.
I’m attaching the status report from my Windows 10 machine. I’ve included it all as I don’t know which part(s) of it you may need. If it’s going to help I can do the same from my old Windows XP machine, which exhibits the same problem, and on which I do most of my JOSM work.
So, as you (skyper) requested:
- Open session: Displays track and markers with icons and magenta text (as previous screenshot (which also showed aerial imagery)).
- Set marker layer colour to black and alpha to zero: Done. I also added an imagery layer to check whether the text was visible or not. Text is not visible.
- Save session: Done, as .joz file, saving all layers.
- Delete all layers: Done.
- Load session: Done, using File, Open. Displays track and markers with icons and magenta text.
- Colour settings are gone: Correct. They’ve reverted to how they were before setting the markers layer to black and transparent.
I hope this all helps to be more precise about the problem and the circumstances around it. If you need more info or tests please let me know.
Thanks to both for what you do for JOSM.
Regards,
Rob
comment:6 by , 4 years ago
Milestone: | → 21.03 |
---|---|
Owner: | changed from | to
Status: | needinfo → assigned |
comment:9 by , 4 years ago
Summary: | Saving transparency in joz file → Session: export/import (gpx/marker) layer color |
---|
comment:10 by , 4 years ago
Keywords: | color added; colour removed |
---|
Layer opacity is saved to the JOZ file, see #4029 and r5551.
Please add a test file and a screenshot.
Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.
Please add all needed information according to this list:
To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Help → Report Bug.
Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!