[josm-dev] "Add nodes" functionality changed?
Martijn van Oosterhout
kleptog at gmail.com
Sun Mar 15 18:01:03 GMT 2009
On Sun, Mar 15, 2009 at 4:48 PM, Stefan Breunig
<stefan at mathphys.fsk.uni-heidelberg.de> wrote:
>> Why would I expect that to work? Shift is a modifier key; ESC is not.
>
> By a powerful gift that that goes beyond guessing you are obviously
> capable of (reading). Also, why should you expect that JOSM uses
> modifier keys at all? I certainly didn't know when first using JOSM, I
> found out in the wiki. You can keep U pressed, too, if that makes it
> less awkward :).
I think he was referring to the idea that holding down Escape will
have the same effect as holding down shift. This isn't true.
This has nothing to do with JOSM and more to do with UI interfaces.
Holding down shift generally causes nothing to happen since it's just
a modifier, it's also considered to be still held down after you press
another key. Holding down ESC will send a continuous stream of Escapes
to whichever window is open and the system will generate an automatic
key-up event when another key is pressed.
You can see this behaviour quite easily with xev under X-windows. Hold
down ESC (generates a streams of keycodes) and press any other key,
the Esc's stop. Whether it also happens on a mouseclick is probably OS
dependant.
Have a nice day,
--
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the josm-dev
mailing list