gtoolkit: Shortcuts do not work on Linux

I can bring up the GT Playground screen via the menu but I am unable to inspect expressions. I tried 1 + 1. and Object new. just like in the regular Playground followed by Ctrl-i but that didn’t work. I also tried Ctrl-o, Ctrl-P, Alt-o, Super-o and Ctrl-Return.

OTOH the URL evaluator works great, when I click the Down Arrow I can see the Content Inspector, so maybe there is some issue with keyboard vs. mouse entry?

I notice some of the GtPlayground docs mention Cmd-o and I’m running Linux so maybe that’s the issue?

Another issue is that GtPlayground swallows keyboard shortcuts, so for instance I can’t bring up the Spotter with Shift-Return when GtPlayground is in focus.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 33 (26 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @j-brant ,

Thanks for finding this!

I can confirm that it solves the problem on Ubuntu 16.04.

Thanks again, Alistair

Hi @syrel ,

I downloaded vmLatest and still see the same behaviour.

I’m on Ubuntu 16.04:

$ uname -a
Linux alistair-xps13 4.15.0-39-generic #42~16.04.1-Ubuntu SMP Wed Oct 24 17:09:54 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Linux Mint, if I remember correctly, is typically based on a fairly old version of Ubuntu (not that mine is recent 😃). Maybe there’s a change in the kernel or graphics stack?

HTH, Alistair

@akgrant43 Interesting 🤣🤣

To be honest I have no idea why it works for you but doesn’t work for multiple other people. We are debugging this for the latest Pharo7 64bit with latest VM on Linux Mint 64bit.

wget -O- https://get.pharo.org/64/alpha+vmLatest | bash

In any case I have a video proof that it doesn’t work in that particular configuration 🤷‍♂️ I also see that it works in your case, which scares me even more…

Funny stuff 😬