Bug 386264

Summary: enabling regex search after entering pattern fails to find matches until pattern is edited further
Product: [Applications] konsole Reporter: John Florian <kde>
Component: historyAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: simonandric5
Priority: NOR    
Version: 17.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 18.04
Sentry Crash Report:

Description John Florian 2017-10-27 20:15:29 UTC
In konsole, I had a search set up for `history` (which had matches), I then wanted to also find matches for `timing`, so I changed the pattern to `history|timing` but found no matches.  I then checked the options where I had assumed regex was already enabled, but it wasn't.  So, I toggled that option on and still didn't find any matches -- oops, bug!  I then deleted the last letter of my pattern and added it back on and then I had matches -- and a work-around.
Comment 1 Kurt Hindenburg 2018-03-12 14:59:46 UTC
Git commit 9db706226bd221abcecf7ecac4d442430088a11a by Kurt Hindenburg.
Committed on 12/03/2018 at 14:56.
Pushed by hindenburg into branch 'master'.

After changing search match regular expression option, refresh searches

The signal IncrementalSearchBar::matchRegExpToggled was not connected
to any slot.
FIXED-IN: 18.04

M  +1    -0    src/SessionController.cpp

https://commits.kde.org/konsole/9db706226bd221abcecf7ecac4d442430088a11a