Bug 203546 - kate session applet: allow keyboard only usage
Summary: kate session applet: allow keyboard only usage
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-misc (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 11:49 UTC by Conrad Hoffmann
Modified: 2009-08-20 12:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Enable keyboard selection of a session in the applet (819 bytes, patch)
2009-08-12 12:00 UTC, Conrad Hoffmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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