#20115 closed defect (fixed)
Create Multipolygon: Strange relation editor entries in window menu which can lead to a stall
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | critical | Milestone: | 20.11 |
Component: | Core | Version: | latest |
Keywords: | template_report relation editor deleted layer create multipolygon | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Create Multipolygon with
multipoly.show-relation-editor
- Close the relation editor
- Have mysterious relation editor entry at the bottom of the window menu
- Delete layer
- Click on relation editor entry in windows menu
- In the now open relation editor click on cancel
- In the following unsaved changes dialog click on anything
What is the expected result?
Some reaction
What happens instead?
No reaction. I cannot close the window.
Only creating more identical windows is possible and the JOSM session is unusable.
Please provide any additional information below. Attach a screenshot if possible.
I had play around with "create multipolygon" in this session and used redo/undo in different layers with possible open relation editors. I probably did even delete layers with open relation editors with unsaved changes. The relation looked like one of this relations where the layer was already deleted.
For the chance that it can help I'll attach a dump.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-11-18 20:16:58 +0100 (Wed, 18 Nov 2020) Revision:17323 Build-Date:2020-11-19 02:30:51 URL:https://josm.openstreetmap.de/svn/trunk
Attachments (1)
Change History (7)
by , 4 years ago
comment:1 by , 4 years ago
See #19966 which might well be the reason for this. If the relation editor is started in non-modal mode and opens other windows they cannot be closed normally.
comment:2 by , 4 years ago
Description: | modified (diff) |
---|---|
Keywords: | create multipolygon added |
Priority: | major → critical |
Summary: | Strange relation editor entries in window menu which can lead to a stall → Create Multipolygon: Strange relation editor entries in window menu which can lead to a stall |
I wondered about the strange relation editor entries in windows menu, in first place. So I tried to reproduce and it is quite easy. I changed the description. This is the root cause and needs to be fixed
Replying to GerdP:
See #19966 which might well be the reason for this. If the relation editor is started in non-modal mode and opens other windows they cannot be closed normally.
I cannot follow here. Did you mix up the modes?
As of #19966, this relation editor is modal or what does the menu entry represent?
- Is #19966 the reason for the missing cleanup of entries in windows menu?
- Should not all entries tied to a data layer be removed from the windows menu if the layer is deleted?
comment:3 by , 4 years ago
I think ss long as #19966 isn't fixed there is no way to use the relation editor to modify the just created relation.
comment:5 by , 4 years ago
Milestone: | → 20.10 |
---|
thread dump