Version: (using KDE KDE 3.1.1a)
Installed from: Gentoo Packages
I would really like to have a keyboard shortcut that toggles the focus between the terminal and the open document. Is that possible to do without rewriting the terminal emulator?
Uhm, I feel a little stupid. I just found another old bugreport wanting the same feature:
Given that, I guess mine is a duplicate. BTW, that bugreport is from january 2002,
marked "New", and the feature is not implemented yet. Does that mean that it will not
This is actually the same wish I have. Currently I assign F2 to the "Show Terminal" function. It
would indeed be nice to have a predefined key for this.
It would also be nice to have the keyboard focus set correctly after switching, so it would not
be necessary to click the window before starting to type.
"so it would not be necessary to click the window before starting to type. "
That is what also I have been missing since beginning of Kate. I hardly never use embedded terminal just because it needs mouse to focus it.
Since the konsole part does not allow us to add shortcuts -- it eats all keyboard presses -- we *can not* define a shortcut to unfocus it. We are waiting for konsole part to provide us with an option.
For now, the best work around is to set a shortcut to show/hide the terminal.
On Friday 29 October 2004 15:09, Anders Lund wrote:
> Since the konsole part does not allow us to add shortcuts -- it eats all
> keyboard presses -- we *can not* define a shortcut to unfocus it. We are
> waiting for konsole part to provide us with an option.
This is not my experience, in Kile I have Ctrl+Alt+K to switch to the Konsole
tab and Ctrl+Alt+O to switch to the Output tab for example. It works, however
I do remember having some difficulties in finding a keyboard shortcurt that
works (Konsole is hungry for keyevents but it doens't eat them all :-) ).
*** Bug 78267 has been marked as a duplicate of this bug. ***
And? After 3-4 years nothing has changed?
Grzegorz: you are welcome to fix it. see you on irc.
SVN commit 721219 by alund:
Add an action that toggles the focus between the konsole and the active document.
Because of a bug in konsole that means that the terminal widget doesn't get focus,
this only works after the terminal has been clicked, or if it was open at launch time,
in which case it for some reason *does* get focus. I'll try to fix this inside the
M +27 -0 kateconsole.cpp
M +5 -0 kateconsole.h
M +2 -1 ui.rc
WebSVN link: http://websvn.kde.org/?view=rev&revision=721219
Since Anders Lund comment relates to what I'm about to say, I don't open a new bugreport:
The "focus terminal" shortcut is still much less then perfect.
How it's like now:
- document is focused
- press defined "focus terminal" shortcut
- press any button (since one would think the terminal is focused) => nothing happens
- press tab and start typing => it works
- press the defined "focus terminal" shortcut which should unfocus the terminal and refocus the document
- start typing => nothing happens
- it seems like the terminal widget is focused again => press the focus terminal shortcut _again_
- document is focused
How it should be like
- document focused
- press shortcut, terminal is focused (no tab-press required)
- press shortcut, document is focused again (shortcut should not be pressed twiced)
I _really_ hope this gets fixed. It would make my Kate experience _much_ better. Thank you all.
I'm using kate from kde trunk rev 784529, manually compiled.
PS: if this should become its own bugreport, please tell me so.