Roassal3 icon indicating copy to clipboard operation
Roassal3 copied to clipboard

RSSearchInCanvasInteraction >> isKeyForSearch: malfunctions

Open NicolasAnquetil opened this issue 11 months ago • 0 comments

2 problems with RSSearchInCanvasInteraction >> isKeyForSearch: because it requires: evt commandKeyPressed (see code down)

  • on non mac computers (ex: linux), the commandkey is not used, it is the control key, so this is never true
  • on at least one mac, the event received by this method, the property commandKeyPressed is always false. (and same for controlKeyPressed, shiftKeyPressed, oprionKeyPressed )

Code for

RSSearchInCanvasInteraction >> isKeyForSearch: evt
	^ evt keyName = self keyForSearch and: [ evt commandKeyPressed ]

NicolasAnquetil avatar Mar 07 '24 16:03 NicolasAnquetil