Modify ↓
Opened 10 years ago
Closed 10 years ago
#12461 closed defect (fixed)
[patch] repaint map after opening file
| Reported by: | kolesar | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 16.02 |
| Component: | Core | Version: | tested |
| Keywords: | Cc: |
Description
What steps will reproduce the problem?
- Create a new data layer.
- Open a GPX layer.
- Close GPX layer.
- Open it again.
What is the expected result?
Map shows GPX layer again.
What happens instead?
Nothing is shown. Data appears only on first zoom/pan.
Please provide any additional information below. Attach a screenshot if possible.
There is no explicit repaint after file opening. Map view is adjusted to file bounds that triggers repaint if view has changed, but if no change needed, there is no repaint after opening.
Attachments (2)
Change History (6)
by , 10 years ago
| Attachment: | RepaintMapAfterFileOpen.patch added |
|---|
comment:1 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 10 years ago
| Milestone: | → 16.02 |
|---|
comment:3 by , 10 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
Main.map can be null when multiple layers are loaded from session after fresh start of JOSM. This causes NPE. Attached fix.
by , 10 years ago
| Attachment: | RepaintMapAfterFileOpen.fix.patch added |
|---|
Note:
See TracTickets
for help on using tickets.



In 9688/josm: