pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.2k stars 356 forks source link

Missing keyboard shortcuts for "go back" and "go forward" in navigation history #5953

Open dvtomas opened 4 years ago

dvtomas commented 4 years ago

The browser "back" and "forward" arrows seem quite useful - if there were shortcuts to use them.

Also some "Recently visited" and "Recently modified" tool would be very nice.

dvtomas commented 4 years ago

OK, even more confusion.

I just discovered Settings Browser -> Shortcuts.

First: How are these shortcuts and the "Keymap browser" shortcuts related? I'm confused.

Second: I was guessing that actually there may be shortcuts for "back" and "forward", namely ClyNavigateBrowserBackCommand>>browserShortcutActivation looked promising. But, Alt-Left/Alt-right doesn't seem to actually do anything in the browser, and the shortcut isn't even mentioned in the tooltip, so I probably just took a wrong turn.

dionisiydk commented 4 years ago

Hi Tomas.

Yes, it is alt+left and alt+right. What OS are you using? I think we still have some issues with shortcuts on windows. But on MacOS they should be working (I always use them). If you are on Windows try modify these shortcuts in the Settings->Shortcuts.

сб, 21 мар. 2020 г. в 08:44, Tomas Dvorak notifications@github.com:

OK, even more confusion.

I just discovered Settings Browser -> Shortcuts.

First: How are these shortcuts and the "Keymap browser" shortcuts related? I'm confused.

Second: I was guessing that actually there may be shortcuts for "back" and "forward", namely ClyNavigateBrowserBackCommand>>browserShortcutActivation looked promising. But, Alt-Left/Alt-right doesn't seem to actually do anything in the browser, and the shortcut isn't even mentioned in the tooltip, so I probably just took a wrong turn.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pharo-project/pharo/issues/5953#issuecomment-602014887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FVIB3QUM7XDFVQ3H5RTTRIR46RANCNFSM4LQ2A3SQ .

dionisiydk commented 4 years ago

Forgot to explain:

сб, 21 мар. 2020 г. в 08:44, Tomas Dvorak notifications@github.com:

OK, even more confusion.

I just discovered Settings Browser -> Shortcuts.

First: How are these shortcuts and the "Keymap browser" shortcuts related? I'm confused.

We currently have two ways to define shortcuts: the old one based on pragma

and new one based on class annotations (Commander/Calypso). They are two completely different approaches. The old mechanizm leads to duplication between shortcuts and menus. In Commander approach you define first class commands annotated with information how to access them. So everything is in one place. Commander provides shortcuts editor in Settings Browser.

Now there is Commander2. I do not know what the status of settings there. But in summary: we are still in transition to single library for commands and therefore you see duplicated systems.

Second: I was guessing that actually there may be shortcuts for "back" and "forward", namely ClyNavigateBrowserBackCommand>>browserShortcutActivation looked promising. But, Alt-Left/Alt-right doesn't seem to actually do anything in the browser, and the shortcut isn't even mentioned in the tooltip, so I probably just took a wrong turn.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pharo-project/pharo/issues/5953#issuecomment-602014887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FVIB3QUM7XDFVQ3H5RTTRIR46RANCNFSM4LQ2A3SQ .

dvtomas commented 4 years ago

Hi, I'm using Linux (Debiant testing), Pharo 8 stable 64bit.

Thanks for the explanation of the two keyboard shortcut systems. I understand that the transition will take some time, maybe a lot of time.

Maybe meanwhile you could put some notice in the Keymap browser and Settings browser/shortcuts that "Not all shortcuts are listed here, please click here to open the alternative tool to manage the other set of shortcuts"? That could be relatively easy to do..

Of course, even nicer would be building one tool to configure both systems, that could be used during the transition period, but that would be a lot more work, I guess..