NewTools icon indicating copy to clipboard operation
NewTools copied to clipboard

binding for mac is breaking playground

Open Ducasse opened this issue 2 years ago • 1 comments

How to reproduce easy

Redefine defaultShortcutKey

SpBrowseClassCommand>> defaultShortcutKey

	^ ($b command mac , $b command mac)
		| $b control win
		| $b control unix

and now you cannot open anymore a playground.

You can also do

SpBrowseClassCommand>> defaultShortcutKey
       self halt. 
	^ $b command mac 
		| $b control win
		| $b control unix

Ducasse avatar Aug 25 '23 08:08 Ducasse

Another fun part

SpBrowseClassCommand>> defaultShortcutKey
   
	^ ($k command, $b command) mac 

Is also breaking (you cannot open a new playground anymore) because the optional sequence is missing :) This is too much fun.

Because

defaultShortcutKey
	
	^ ($k command, $b command) mac | $k control win | $k control unix

is working

Ducasse avatar Aug 25 '23 08:08 Ducasse