Bug 160223

Summary: typing gibberish matches and executes "switch to another session"
Product: [Plasma] krunner Reporter: Jonathan Marten <jjm>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screen shot showing the problem

Description Jonathan Marten 2008-04-01 19:07:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.0.1)
 
OS:                Linux

Running KDE4 from trunk in a second X session (:1), with a KDE3 desktop as primary (:0).  Typing any random text in the Alt+F2 krunner box offers a switch to the :0 session as default, even if nothing else matches - this match appears as soon as the third character is entered, and persists no matter what else or how much is typed.  Clicking Launch or pressing Enter, of course, goes to that session.

Screenshot attached.
Comment 1 Jonathan Marten 2008-04-01 19:08:46 UTC
Created attachment 24150 [details]
Screen shot showing the problem
Comment 2 Aaron J. Seigo 2008-04-02 03:41:19 UTC
SVN commit 792765 by aseigo:

return if query doesn't start with "switch"
BUG:160223


 M  +7 -5      sessionrunner.cpp  


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