[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] server window keydown modifiers?

Am 28.12.2008 um 21:47 schrieb James Harkins:

Just discovered today that keyboard shortcuts for menu commands (cmd- n etc.) are passed through to views that have focus. In itself, that's the right behavior but it has some unexpected side effects in the server window. It took a little while for me to figure out why I would sometimes get queryAllNodes output, until I realized I was clicking "Boot" in the server window and then typing cmd-n for a new document. The server window responds to 'n' as if cmd were not pressed.

I find a little bit annoying that a slider in focus will go to its center value (char C) when I only want to clear the post window, cmd- C ...

I'm happy to add some modifier checks, unless someone thinks it's a bad idea for some reason. I would check for cmd and alt keys, and ignore the key down if either is set.


: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/