Summary: | ctrl-pgup and ctrl-pgdown no longer switch tabs in 3.5.[45] when they did so in 3.5.1 | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | devsk <funtoos> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.6.5 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
devsk
2006-11-10 03:33:07 UTC
> I understand that konsole wants to be as close to xterm as possible
No, that isn't a design goal. Konsole should be similar to the other applications that its users are using - to minimize the amount of learning that the user has to do.
Ideally Konsole should be consistant with other KDE applications.
The reason why Ctrl+PgUp / Ctrl+PgDown are not used by default in Konsole I believe is because those key combinations are used in some terminal programs. If Konsole handles those keys then the terminal program will not see them.
For example Midnight Commander uses Ctrl+PgUp to move up a directory, and Ctrl+PgDown to switch between the current and previous directories.
Vim 7 uses Ctrl+PgUp and Ctrl+PgDown to switch between tab pages.
By the way, you can already configure the shortcuts used for switching between tabs, via Settings -> Configure Shortcuts. If you want to use Ctrl+PageUp / Ctrl+PageDown, I would suggest adding them as alternate shortcuts for the "Go to next session" and "Go to previous session" actions. Further to my earlier comments, I do agree that it would be nice if Ctrl+PageUp, Ctrl+PageDown could be used by default - but I am not sure how best to deal with the problem of terminal programs that make use of these key combinations. Isn't it possible to detect if some app has already handled the key-combo or not runtime? If nothing has, konsole could use it. I think this is a generic problem and there has to be some standard way for apps to register a key-combo when they come up. Last such registration can win. Then, I would at least know that since I am using MC, my tabs are not switching but my directories are. Thanks for the settings hint. I think all settings should be under "configure <program>" or "Options" (:evil:). I forgot (or it was too far back in my mind)that KDE has a separate menu item for configuring shortcuts. But then, I think you guys know better than me when it comes to HIG and stuff. Thanks again for your help! You may close the bug if you want. Console applications don't tell the shell whether they make use of a particular key combination or not.
The basic process is that you press a set of keys, Konsole then sends the appropriate sequence of bytes to the input of the terminal program. The program may or may not respond in some way.
> But then, I think you guys know better than me when it comes to HIG and stuff.
I cannot answer that one, the kde-usability mailing list is the place to ask about that. I do appreciate having the settings options in one place across all KDE applications though.
Closing report as suggested. |