#1937 closed enhancement (fixed)
[PATCH] Finish last step of modeless editing: Draw command
Reported by: | anonymous | Owned by: | framm |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Currently only one step for modeless editing is missing: The draw command.
A possible suggestion would be
- call draw command
- draw nodes and ways until the last node is pressed twice which ends drawing.
This Potlatch like style would allow to draw nodes and ways easily.
Attachments (4)
Change History (14)
comment:1 by , 16 years ago
Summary: | Finish lst step of modeless editing: Draw command → Finish last step of modeless editing: Draw command |
---|
comment:2 by , 16 years ago
Type: | defect → enhancement |
---|
by , 16 years ago
Attachment: | modelessdrawing.patch added |
---|
comment:4 by , 16 years ago
Summary: | Finish last step of modeless editing: Draw command → [PATCH] Finish last step of modeless editing: Draw command |
---|
comment:5 by , 16 years ago
We also need a command for this which returns to select mode after finishing to get really modeless (i.e. like DELETE key compared to delete mode).
comment:6 by , 16 years ago
Yeah going to select mode when a way is finished and going to draw mode if clicking no-where in select mode should pretty much make it modeless. The only case left is where a node is selected and the user wants to draw a way from it. Potlatch uses "Shift+Click" to do this, but my take is that switching draw modes (i.e. pressing "a") is on par here.
Still, one step at a time, this is no trivial change.
comment:8 by , 16 years ago
Summary: | [PATCH] Finish last step of modeless editing: Draw command → Finish last step of modeless editing: Draw command |
---|
by , 16 years ago
Attachment: | take that potlatch.patch added |
---|
comment:9 by , 16 years ago
This makes draw/select behave like Potlatch and thus really modeless. It also fixes the "doesn't work for nodes" bug if it's enabled. I'd prefer to keep mode drawing at least as hidden variable, so I'll see if I can fix that, too.
by , 16 years ago
Attachment: | look ma, no modes!.patch added |
---|
comment:10 by , 16 years ago
Summary: | Finish last step of modeless editing: Draw command → [PATCH] Finish last step of modeless editing: Draw command |
---|
This patch makes mode drawing as well as modeless drawing work fine. Adding single nodes by double clicking now works for both. If you want to continue drawing from a selected mode, you need to select draw mode then click (Potlatch: Shift+Click).
Normally I'd prefer using the same modifier keys, but shift is already taken for add to selection which is a nice and important feature, too. Pressing A, then Click is equal to holding Shift and then Click so that's no disadvantage.
Modeless defaults to off and should be for a while in case errors or bad behaviour are found. We could announce it in the MOTD so get feedback from interested users, though.
comment:11 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I added a preferences option for it :-)
I did a quick test with all the cases I could make up and it worked fine.