[josm-dev] Starting a new way with one selected

David Earl david at frankieandshadow.com
Mon May 19 16:33:49 BST 2008


Sorry, one more thing. I know that ALT does this, but _that_ only works 
when a way _is_ selected. I can't see any reason why that also shouldn't 
work when a way isn't selected.

All would then be consistent. But ALT and SHIFT would then be only 
subtly different of course. Does this tell us something?

While I'm only advocating the simple change to SHIFT-CLICK at the 
moment, I wonder whether we can push modeless operation further like this:

CLICK: select node or way, and move if dragged
SHIFT+CLICK: extend way from currently selected node to (in order of 
preference) an existing node, a new node in all nearby existing ways, or 
and a new node in open space. (i.e. what CLICK does now).
ALT+CLICK: ditto, but as a new way not an extension (similar to 
ALT+CLICK now, but without the funny jump to select an existing node, 
which would just be a CLICK now, an instead to make a new way between 
the points, something which I don't think you can do now but is more 
consistent).

and then reserve the other mode for rotation, which is a much rarer 
operation.

BTW, is CTRL+CLICK used in Draw mode. Could SHIFT+CTRL be rotate and 
ALT+CTRL be extrude and then those modes can go?

David

On 19/05/2008 16:01, David Earl wrote:
> Indeed AFAICS it is a one line change to remove the test "if 
> (selection.isEmpty()) {"
> 
> 
> On 19/05/2008 15:55, David Earl wrote:
>> At present if you are in the Draw Nodes mode and you have nothing 
>> selected, you can SHIFT+CLICK to
>> (a) add a new node in a blank area, or
>> (b) add a new node in an existing way, or
>> (c) select an existing node in the middle of a way, or
>> (d) select an existing node at the end of a way
>> and then extend from the new or existing node (in case d, extending the 
>> way, and in the others creating a new way)
>>
>> However, if you already have a way selected, cases c and d don't work.
>>
>> Can anyone think why they shouldn't? Or is this just a bug? Perhaps its 
>> that the SHIFT modifier doesn't really do anything different if nothing 
>> is already selected.
>>
>> This is the most common case where you have to still switch modes at the 
>> moment - you create a way, and come to its dead end (say), and then you 
>> want to do another starting from an existing intermediate node (case c), 
>> possibly in the way you just created, possibly in some other way. Being 
>> able to use the SHIFT modifier would remove the need to SELECT-MODE, 
>> CLICK, DRAW-NODES, would be consistent and would mean you'd hardly ever 
>> need to go into select mode when drawing ways.
>>
>> David
>>
>> _______________________________________________
>> josm-dev mailing list
>> josm-dev at openstreetmap.org
>> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
>>
> 
> 
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev
> 





More information about the josm-dev mailing list