Opened 15 years ago
Closed 15 years ago
#2122 closed enhancement (fixed)
[patch] Disable preset menu items depending on selected object
Reported by: | ce | Owned by: | framm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Internal preset | Version: | |
Keywords: | Cc: |
Description
In the presets we now have the "allowed" object types for each dialog. What about en- and disabling menu entries depending on the object type? For example, natural=water only is allowed for closed areas. Rises some questions, though. What if there are different elements in the selection?
Attachments (1)
Change History (6)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Owner: | changed from | to
---|
comment:3 by , 15 years ago
What about disabling the <OK> button (ugh, should be <Apply Preset> anyway)? If we know beforehand that the selection isn't suitable we should warn the user beforehand, too. (Think of someone accidentally losing his/her selection and entering all the tags just to find out it didn't apply and the fun can start again…)
by , 15 years ago
Attachment: | UI Improve Tagging.zip added |
---|
comment:4 by , 15 years ago
Summary: | Disable preset menu items depending on selected object → [patch] Disable preset menu items depending on selected object |
---|
Although this improves usability a bit, it doesn't solve the original problem.
An idea might be to add *s in front of unsuitable presets. It's already used for relation when JOSM has found an error/a problem so people might understand this.
Different elements are already filtered out. A presets only applies to correct types.
I see one problem with this thought: You cannot see the preset dialog when you have no data selected and thus it is also impossible to get the link to further information.
Maybe we can only change the appearance of the menu without disabling it totally.