#18456 closed defect (fixed)
[PATCH] validation not possible right away
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.12 |
Component: | Core validator | Version: | latest |
Keywords: | button toggle dialog regression | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- start JOSM
- create new layer
- add a new way with two child nodes
- add tag
highway=road
- open validator toggle dialog
- try to run validator by clicking on the blue check mark button in toggle dialog
What is the expected result?
The button is enabled and validator test are run
What happens instead?
The button is disabled
Please provide any additional information below. Attach a screenshot if possible.
Adding an addition node after opening the toggle dialog will enable the button.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-12-21 15:53:55 +0100 (Sat, 21 Dec 2019) Revision:15607 Build-Date:2019-12-22 02:30:55 URL:https://josm.openstreetmap.de/svn/trunk Last errors/warnings: - W: No configuration settings found. Using hardcoded default values for all pools. - W: Region [TMS_BLOCK_v2] Resetting cache
Attachments (1)
Change History (9)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
by , 5 years ago
Attachment: | 18456.patch added |
---|
comment:2 by , 5 years ago
Summary: | validation not possible right away → [PATCH] validation not possible right away |
---|
comment:4 by , 5 years ago
comment:6 by , 5 years ago
Keywords: | regression added |
---|---|
Milestone: | → 19.12 |
comment:7 by , 5 years ago
Replying to GerdP:
In 15608/josm:
Well, my example was not an empty layer, e.g. the test to check for empty data layers did/does not work/update, properly.
comment:8 by , 5 years ago
Yes, the check is only performed when a data layer is created or removed. I don't want to add another listener which would check after each change. Normally there is data in a layer.
Minimal patch (calls
updateEnabledState
on show state change, specifically onshowNotify
)