#23519 closed enhancement (fixed)
[Patch] Don't automatically enlarge "Validation Results" panel
Reported by: | PPete2 | Owned by: | GerdP |
---|---|---|---|
Priority: | normal | Milestone: | 24.02 |
Component: | Core validator | Version: | latest |
Keywords: | Cc: |
Description (last modified by )
I'm using JOSM v18969 on Windows 10, installed with Windows-setup file.
Right now each time JOSM detects a validation warning, the "Validation Results" panel is enlarged. Undependend if its completely minimized, or opened with a small height.
Please keep the panel as it is before, and let the user enlarge it on its own. Reason: This panel is regularly undesiredly taking important space from other opened panels.
Attachments (3)
Change History (15)
by , 9 months ago
Attachment: | validation before.png added |
---|
comment:1 by , 9 months ago
Description: | modified (diff) |
---|---|
Type: | defect → enhancement |
Version: | → latest |
by , 9 months ago
Attachment: | validation after.png added |
---|
comment:2 by , 9 months ago
Description: | modified (diff) |
---|
comment:3 by , 9 months ago
by , 9 months ago
Attachment: | 23519.patch added |
---|
implement new preference validator.force.unfurl.window
with default value true , cleanup of duplicated / unnecessary code
comment:4 by , 9 months ago
Milestone: | → 24.02 |
---|---|
Owner: | changed from | to
Summary: | Don't automatically enlarge "Validation Results" panel → [Patch] Don't automatically enlarge "Validation Results" panel |
comment:5 by , 9 months ago
Furher thought:
A dialog that is collapsed is stored with a lastheight = 0 in the preferences, therefore it requires more code to unfurl a dialog (only) to its previous height.
comment:6 by , 9 months ago
I uninstalled JOSM, completly deleted its %APPDATA%\josm\ folder and reinsalled JOSM and all former used Plugins. Now the height of opened "Validation Results" panel is kept.
I support the idea to also keep a collapsed validation window in its collapsed state.
comment:8 by , 9 months ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
@PPete2: I am not sure if the new preference validator.force.unfurl.window
works as you intended. In the German discussion you mentioned that this happens on upload, here you didn't.
So, what should happen with validator.force.unfurl.window=false
- when there is no validator window and user starts the normal validation? With the current implementation, the validation window is not created.
- when the window is collapsed? With the current implementation, the validation window is stays collapsed.
comment:9 by , 9 months ago
I have to say, that I just "use" automated validation during upload, I hardly use manual validation. But I think both variants can be treated the same way.
a) If there's no validation panel on the right => place panel and open it
b) If there's collapsed validation panel on the right => keep it collapsed
c) If there's opened validation panel on the right => keep it openend but don't change its height
comment:10 by , 9 months ago
OK, thanks, that's good for me as well. I'll try to find a solution because a) doesn't happen now.
comment:12 by , 9 months ago
Component: | Core → Core validator |
---|
I can only reproduce that when the window is collapsed (as shown in the screen shot). When the window is opened the size is not changed.
It should be possible to add a new preference to keep a collapsed validation window in that state.