Bug 286614

Summary: konsole search function ignores leading spaces
Product: [Applications] konsole Reporter: qqqqqqqqq9
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.7.999   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.8

Description qqqqqqqqq9 2011-11-14 18:54:01 UTC
Version:           2.7.999 (using Devel) 
OS:                Linux

Searching for e.g. "kdepim " or " kdepim" finds kdepimlibs which it shouldn't. 

Reproducible: Always

Steps to Reproduce:
1. produce konsole output which contains the words kdepim and kdepimlibs (e.g. compile KDE SC)
2. Search for "kdepim "

Actual Results:  
kdepimlibs is in the result list

Expected Results:  
only kdepim should be in the result list.
Comment 1 Jekyll Wu 2011-11-20 06:07:35 UTC
Git commit a3744135fc072ab13deb918c91493a6c6bc0dae1 by Jekyll Wu.
Committed on 20/11/2011 at 06:09.
Pushed by jekyllwu into branch 'master'.

Respect leading and trailing white spaces in the search string

BUG:286614
FIXED-IN:4.8

M  +1    -1    src/SessionController.cpp

http://commits.kde.org/konsole/a3744135fc072ab13deb918c91493a6c6bc0dae1
Comment 2 Kurt Hindenburg 2011-11-20 13:40:42 UTC
Git commit 341a959cb4349fe18fdacec49992fe288d8fe0fc by Kurt Hindenburg, on behalf of Jekyll Wu.
Committed on 20/11/2011 at 06:09.
Pushed by hindenburg into branch 'KDE/4.7'.

Respect leading and trailing white spaces in the search string

BUG:286614
FIXED-IN:4.8
(cherry picked from commit a3744135fc072ab13deb918c91493a6c6bc0dae1)

M  +1    -1    src/SessionController.cpp

http://commits.kde.org/konsole/341a959cb4349fe18fdacec49992fe288d8fe0fc