Bug 368130 - Vi-mode search box disappears if used again while the search box is still open
Summary: Vi-mode search box disappears if used again while the search box is still open
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (show other bugs)
Version: 17.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-02 02:11 UTC by Simon Yuan
Modified: 2020-11-02 17:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Yuan 2016-09-02 02:11:22 UTC
In Vi-mode, if you search by, say using the shortcut ctrl + f, while the search box is open, pressing ctrl + f again while the search box is still opened causes the search box to disappear. Once the editor goes into this state, you can never get the search box back until you reopen the editor.

I selected Version=16.04.1, but I'm actually using 16.08.

Reproducible: Always

Steps to Reproduce:
1. Search by using the menu or ctrl + f.
2. Search again without closing the search box by repeating step 1 once.
3. Any further attempts to search fails to bring up the search box.

Actual Results:  
You can never get the search box back once you trigger the bug.
Comment 1 Lothar 2019-03-13 19:38:29 UTC
Here is some patch offer, but cant' say if it's sufficient or make things event worse
https://phabricator.kde.org/D19408
Comment 2 Jan Paul Batrina 2020-11-02 15:17:21 UTC
I have started a merge request that fixes this bug https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/40/

For now, a workaround to make the search bar show again is to try opening the command bar twice (by pressing ":" twice), then pressing Ctrl+F or "/".
Comment 3 Jan Paul Batrina 2020-11-02 17:24:04 UTC
> https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/40/

The MR has just been merged. Hopefully it solves the problem for all cases and do not introduce new bugs.