Review Request: Fix KRunner popping up with a white-space character upon pressing Escape key on empty workspace

Christoph Feck christoph at maxiom.de
Fri Apr 6 12:39:22 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104497/#review12196
-----------------------------------------------------------


I doubt that Esc is the only key that shows this issue. For example, just pressing Return on empty desktop also leads to a space in KRunner line. Instead of a black list, I propose a sanity check, e.g. if the key pressed actually is a printable character.

- Christoph Feck


On April 6, 2012, 11:06 a.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104497/
> -----------------------------------------------------------
> 
> (Updated April 6, 2012, 11:06 a.m.)
> 
> 
> Review request for Plasma and Vitor Boschi da Silva.
> 
> 
> Description
> -------
> 
> When pressing Escape on an empty workspace, KRunner pops up and is introduced a white-space character, preventing the input from being recognized.
> This patch makes KRunner not pop up when pressing the Escape key.
> 
> 
> This addresses bug 285350.
>     http://bugs.kde.org/show_bug.cgi?id=285350
> 
> 
> Diffs
> -----
> 
>   plasma/desktop/containments/desktop/desktop.cpp 8bcb877 
> 
> Diff: http://git.reviewboard.kde.org/r/104497/diff/
> 
> 
> Testing
> -------
> 
> KRunner does not pop up when pressing Escape key, works fine in other ways.
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120406/1760c534/attachment.html>


More information about the Plasma-devel mailing list