Bug 203546

Summary: kate session applet: allow keyboard only usage
Product: [Plasma] plasma4 Reporter: Conrad Hoffmann <conrausch>
Component: widget-miscAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Enable keyboard selection of a session in the applet

Description Conrad Hoffmann 2009-08-12 11:49:52 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Unlisted Binary Package

The Kate session applet can be configured to pop up via a keyboard shortcut and the listed session can be navigated via the up and down arrow keys. Yet, a session can not be started by means of using the keyboard, a mouse click is currently required.
Comment 1 Conrad Hoffmann 2009-08-12 12:00:05 UTC
Created attachment 36085 [details]
Enable keyboard selection of a session in the applet

The attached patch fixes the problem by using the QTreeView::activated signal instead of the clicked signal. This also elegantly handles the single/double click issue.

The path is rather trivial. I compiled and installed it on my system and it behaves as expected. Notably, it still obeys the system wide single/double click setting.

I have commit access myself, but anyone feeling responsible for this can feel free to commit.

I sent a mail to kwrite-devel about this 2 days ago, but it's still awaiting moderator approval, so sorry if the issue pops up again. I'm just too impatient :)
Comment 2 Beat Wolf 2009-08-18 18:01:56 UTC
please submit this patch on
http://reviewboard.kde.org/

also mention this bugreport, so it gets closed when commiting
Comment 3 Conrad Hoffmann 2009-08-20 12:28:24 UTC
SVN commit 1013629 by conrausch:

Allow keyboard only session selection with the Kate Session Applet

BUG: 203546


 M  +2 -7      katesessionapplet.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1013629