[josm-dev] Bug 595 - Virtual nodes - Comments requested

Maarten Deen mdeen at xs4all.nl
Mon Aug 18 18:31:48 BST 2008


Matthias Julius wrote:
> Maarten Deen <mdeen at xs4all.nl> writes:
> 
>> You have just redefined the meaning of "shift-click".
>> No key or mouse combination with a special key I know of changes when you 
>> release either key. JOSM is the first application I encounter that does so.
>> Simple example: use shift and left mousebutton to select multiple icons on your 
>> desktop (I guess X or Gnome works the same as Windows). The selection does not 
>> magically change when I release the shift.
>> To me your explanation sounds more like "it's a feature, not a bug".
> 
> - Click on an icon - it gets selected (standard behavior)
> - Shift-Click on another icon - it gets added to the selection
>   (modified behavior)
> - release Shift and click on a third icon - the other icons get
>   deselected and the third one gets selected (standard behavior)
> 
> How is that different to:
> 
> - Click somewhere - a new node is created and connected to the last
>   node (standard behavior)

Or, if not node was selected, a node with a segment is created

> - Shift-Click somewhere else - a new node is created and _not_
>   connected to the last node (modified behavior)

There is the catch. Shift-Click and a node without a segment is created. Release 
the shift and the segment is created. The only way to create a node without a 
segment is to created two nodes. Then the first is created without a segment, 
but as soon as you release the shift, a segment is added to the last nod you 
created. Try it out and you'll see!

> - Click on a third spot - a new node is created and connected to the
>   last node (standard behavior)
> 
> JOSM won't create a segment to connect a just created node when you
> release Shift after you created that node.

Yes it will! I am not going to use capitals here, but please, please, please, 
try it out for yourself! JOSM will create a segment connecting to the node you 
just created when you release shift.

Maarten




More information about the josm-dev mailing list