Browsing shortucts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Browsing shortucts

kilon.alios
Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?
Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

Sven Van Caekenberghe-2
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?


Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

kilon.alios
nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following

Open playground and inspect

KMKeymap allInstances .

and it returns me

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs
ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?


Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

David Allouche
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following

Open playground and inspect

KMKeymap allInstances .

and it returns me

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs
ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?



Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

Sven Van Caekenberghe-2
In reply to this post by kilon.alios

On 05 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

How so ?

This is part of what it shows on 50511


Clearly not just Nautilus, but many elements and components of the system.

Are we looking at the same thing ?
Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

Thierry Goubier
In reply to this post by David Allouche


2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 


On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following

Open playground and inspect

KMKeymap allInstances .

and it returns me

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs
ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?




Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

kilon.alios
I am an idiot , sorry, I though you were talking about nautilus shortcut dialog

yeah thats what i am looking for 200+ shortcuts

ok so I was wrong , still not bad at all :)

On Tue, Jan 5, 2016 at 4:04 PM Thierry Goubier <[hidden email]> wrote:
2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 


On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following

Open playground and inspect

KMKeymap allInstances .

and it returns me

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs
ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?



Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

kilon.alios
looks like that it does not contain the global shortcuts like how you open the playground etc
all am i still missing something ?

On Tue, Jan 5, 2016 at 4:12 PM Dimitris Chloupis <[hidden email]> wrote:
I am an idiot , sorry, I though you were talking about nautilus shortcut dialog

yeah thats what i am looking for 200+ shortcuts

ok so I was wrong , still not bad at all :)

On Tue, Jan 5, 2016 at 4:04 PM Thierry Goubier <[hidden email]> wrote:
2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 


On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following

Open playground and inspect

KMKeymap allInstances .

and it returns me

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs
ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?



Reply | Threaded
Open this post in threaded view
|

Ctrl-tab not working

David Allouche
In reply to this post by Thierry Goubier

On 5 Jan 2016, at 15:03, Thierry Goubier <[hidden email]> wrote:

2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 

Thanks.

I added some logging statements to HandMorph>>#generateKeyboardEvent: and they show that this method is not run at all for Ctrl-Tab keyDown events.

But it is run for Ctrl-Tab  keyUp events, and it returns a keyEvent for those.

It does not look like there is a OS level shortcut override for Ctrl-Tab, since it works correctly, in Safari for example (switch tabs).

Could it be a bug in the VM? I am running the Pharo 4.0 release VM and image.

Can anyone else running MacOS can confirm that Ctrl-TAB works for them in Pharo?

Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

Tudor Girba-2
In reply to this post by kilon.alios
Just inspect:
KMRepository default

and you will get both the contextual and the global keys:


Cheers,
Doru


On Jan 5, 2016, at 4:16 PM, Dimitris Chloupis <[hidden email]> wrote:

looks like that it does not contain the global shortcuts like how you open the playground etc
all am i still missing something ? 

On Tue, Jan 5, 2016 at 4:12 PM Dimitris Chloupis <[hidden email]> wrote:
I am an idiot , sorry, I though you were talking about nautilus shortcut dialog

yeah thats what i am looking for 200+ shortcuts

ok so I was wrong , still not bad at all :) 

On Tue, Jan 5, 2016 at 4:04 PM Thierry Goubier <[hidden email]> wrote:
2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 


On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following 

Open playground and inspect

KMKeymap allInstances .

and it returns me 

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs 

http://superuser.com/questions/768540/how-many-keyboard-shortcuts-are-in-emacs

ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?




--
www.tudorgirba.com
www.feenk.com

"Reasonable is what we are accustomed with."

Reply | Threaded
Open this post in threaded view
|

Re: Browsing shortucts

kilon.alios
thaks tudor this is what i was look for, thank to Sven as well

On Tue, Jan 5, 2016 at 4:29 PM Tudor Girba <[hidden email]> wrote:
Just inspect:
KMRepository default

and you will get both the contextual and the global keys:


Cheers,
Doru


On Jan 5, 2016, at 4:16 PM, Dimitris Chloupis <[hidden email]> wrote:

looks like that it does not contain the global shortcuts like how you open the playground etc
all am i still missing something ? 

On Tue, Jan 5, 2016 at 4:12 PM Dimitris Chloupis <[hidden email]> wrote:
I am an idiot , sorry, I though you were talking about nautilus shortcut dialog

yeah thats what i am looking for 200+ shortcuts

ok so I was wrong , still not bad at all :) 

On Tue, Jan 5, 2016 at 4:04 PM Thierry Goubier <[hidden email]> wrote:
2016-01-05 14:42 GMT+01:00 David Allouche <[hidden email]>:
Strangely, I am not able get any response from Ctrl-TAB, which is essential to tab out of a text widget.

Looking with the inspector, it looks like it SHOULD do what I need, but it appears that the keyboard event does not get there.

How can I get a transcript output for every detected keyboard event? I suspect that maybe something system-wide in MacOS is intercepting the event.

At high level, do

KMLog setDebug

(and get a transcript open)

to stop it, do

KMLog removeDebug.

(This will give you Keymapping behavior, but remember that: any app can add a key processing on a morph instance manually, and that many morphs have hardwired shortcuts such as navigation keys)

At a lower level, you can trace or add a watchpoint inside:

HandMorph>>#generateKeyboardEvent:

Use that if you don't see your ctrl+tab at the Keymapping level.

Thierry
 


On 5 Jan 2016, at 14:35, Dimitris Chloupis <[hidden email]> wrote:

nope thats only the shortcuts of nautilus , a tiny fraction

so what I did was the following 

Open playground and inspect

KMKeymap allInstances .

and it returns me 

538

now unless those are duplicates as well, which i doubt from the looks of it it that means we have 6 shortcuts more than emacs, so pharo has more shortcuts than emacs 

http://superuser.com/questions/768540/how-many-keyboard-shortcuts-are-in-emacs

ah the irony is too strong in this one

Please correct me if i am wrong because this is huge news for me :D


On Tue, Jan 5, 2016 at 3:22 PM Sven Van Caekenberghe <[hidden email]> wrote:
World Menu > System > Keymap Browser ?

> On 05 Jan 2016, at 14:16, Dimitris Chloupis <[hidden email]> wrote:
>
> Hey guys I remember a way to open the inspector for browsing all available keyboard shortcuts in pharo but I cannot find it via google, anyone remembers the way to do this ?




--
www.tudorgirba.com
www.feenk.com

"Reasonable is what we are accustomed with."


Playground.png (235K) Download Attachment
Playground.png (235K) Download Attachment