[squeak-dev] Shift+Tab doesn't outdent on linux

Bert Freudenberg bert at freudenbergs.de
Thu Feb 25 19:37:03 UTC 2016


On 25.02.2016, at 05:46, Levente Uzonyi <leves at caesar.elte.hu> wrote:
> 
> I just checked if the image receives Shift+Tab, and it does. Pressing the key combination will make HandMorph distribute these KeyboardEvents:
> 
> 	[keyDown '<Opt-ÿ>']
> 	[keyDown '<Shift-tab>']
> 	[keyUp '<Shift-tab>']
> 	[keyUp '?']
> 
> The first one is generated when Shift is pressed, the last one is generated when Shift is released.
> So, it clearly looks like a bug in the image.

The image only looks for stroke events (because key-up/down are platform-dependent):

Mac Cocoa:

	[keyDown '0’]
	[keystroke '<Shift-tab>’]
	[keyUp '0']

Mac Carbon:
	[keyDown '0’]
	[keystroke '<Shift-tab>’]
	[keyUp '<Cmd-0>’]

Both don’t generate any event for the shift key btw.

At least the Cocoa VM gets the pairing of up/down right. Carbon and X11 appear to be wrong.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160225/dcef3818/smime.bin


More information about the Squeak-dev mailing list