Bug 96913

Summary: setting custom shortcut for prev/next tab didn't work
Product: [Applications] konversation Reporter: Mark Bucciarelli <mark>
Component: generalAssignee: Ismail Donmez <ismail>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: ismail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mark Bucciarelli 2005-01-13 14:30:43 UTC
Version:           0.14 (using KDE 3.2.3,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040422)
OS:                Linux (i686) release 2.4.26-1-386

I've modified the short cut key for "Next Tab" to be "Shift+Right" and the one for "Previous Tab" to be "Shift+Left".

However, when I am in the main Konversation window, and press Shift+Left of Shift+Right, nothing happens.

BTW, these are the default shortcuts for Konsole, it would be very nice if Konversation used this as a default.
Comment 1 Ismail Donmez 2005-01-13 15:44:47 UTC
I suspect Shift-Left/Right is taken by some other part in Konversation mainwindow. Need to debug this.
Comment 2 John Tapsell 2005-01-13 16:00:45 UTC
Yeah, select text in the edit box.

Comment 3 Mark Bucciarelli 2005-01-13 16:07:43 UTC
On Thursday 13 January 2005 10:00, John Tapsell wrote:

> ------- Yeah, select text in the edit box.

Bingo.  if I put the focus in the nick list, shift+left works.

But only once, as after moving tabs the focus goes back to the edit box.

Yuck.

It's really nice to have tab rolling consistent between Konsole, Konq and 
Konversation.  Maybe I need to teach myself another set of keyboard 
shortcuts for all three. :(

Comment 4 Ismail Donmez 2005-01-13 16:35:42 UTC
On Thursday 13 January 2005 17:00, John Tapsell wrote:
> ------- Additional Comments From john geola co uk  2005-01-13 16:00 -------
> Yeah, select text in the edit box.

Hmm then we can't do much here :/ .

Comment 5 Mark Bucciarelli 2005-01-13 16:44:38 UTC
On Thursday 13 January 2005 10:35, ismail cartman donmez wrote:
> > ------- Yeah, select text in the edit box.
>
> Hmm then we can't do much here :/ .

Is it possible to disable the assignment of shift+left in shortcut key 
dialog?

Comment 6 argonel 2005-01-14 15:28:01 UTC
On Thursday 13 January 2005 08:30, Mark Bucciarelli wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>
> http://bugs.kde.org/show_bug.cgi?id=96913
>            Summary: setting custom shortcut for prev/next tab didn't work
>            Product: konversation
>            Version: unspecified
>           Platform: unspecified
>         OS/Version: Linux
>             Status: NEW
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: konversation-devel kde org
>         ReportedBy: mark hubcapconsulting com
>
>
> Version:           0.14 (using KDE 3.2.3,  (testing/unstable))
> Compiler:          gcc version 3.3.3 (Debian 20040422)
> OS:                Linux (i686) release 2.4.26-1-386
>
> I've modified the short cut key for "Next Tab" to be "Shift+Right" and the
> one for "Previous Tab" to be "Shift+Left".
>
> However, when I am in the main Konversation window, and press Shift+Left of
> Shift+Right, nothing happens.
>
> BTW, these are the default shortcuts for Konsole, it would be very nice if
> Konversation used this as a default.

That behaviour is only possible because Konsole uses GNU Readline key bindings 
instead of standard ones. Shift-Left and Shift-Right are used for making text 
selections in GUI applications.

~ argonel

Comment 7 argonel 2005-01-18 16:26:49 UTC
This can't be implemented without an ugly hack.