Bug 137138 - ctrl-pgup and ctrl-pgdown no longer switch tabs in 3.5.[45] when they did so in 3.5.1
Summary: ctrl-pgup and ctrl-pgdown no longer switch tabs in 3.5.[45] when they did so ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.6.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 03:33 UTC by devsk
Modified: 2007-02-04 04:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2006-11-10 03:33:07 UTC
Version:           1.6.5 (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages
Compiler:          gcc 4.1.1 amd64
OS:                Linux

ctrl-pgup and ctrl-pgdown is universally used for move around from one tab to the next or previous. This used to work with konsole till 3.5.1 but it broke along the way from there and now doesn't work in 3.5.4 and 3.5.5. Shift-Left and Shift-Right is not used as a tabber in any other app except for konsole and hence is a major usability restriction. Please restore the behaviour of 3.5.1. I understand that konsole wants to be as close to xterm as possible but xterm doesn't have tabs and outputting ~5 for these keybindings is not useful at all and doesn't serve any purpose. If that's not acceptable, then konsole should allow user to configure his favorite key combo for switching tabs.
Comment 1 Robert Knight 2006-11-10 14:29:33 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.
Comment 2 Robert Knight 2006-11-10 14:34:18 UTC
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.
Comment 3 Robert Knight 2006-11-10 15:56:30 UTC
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.
Comment 4 devsk 2006-11-10 18:16:55 UTC
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.
Comment 5 Robert Knight 2006-11-11 18:44:08 UTC
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.
Comment 6 Robert Knight 2007-02-04 04:09:37 UTC
Closing report as suggested.