Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSSearchInCanvasInteraction >> isKeyForSearch: malfunctions #610

Open
NicolasAnquetil opened this issue Mar 7, 2024 · 0 comments
Open

Comments

@NicolasAnquetil
Copy link

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 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant