Bug 303485

Summary: provide option "no wrap" on search
Product: [Applications] konsole Reporter: Martin Koller <kollix>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: cpigat242, nate
Priority: NOR Keywords: junior-jobs
Version: 2.9.999   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2012-07-13 15:31:55 UTC
When I'm searching something in konsoles history buffer, I often encounter the problem that I do not yet know whether I'm already through all of the history or if konsole already started the search again from the top. The only hint I can get is to look at the scrollbar position - which is not really usable if you have a lot of history lines and the scrollbar just jumps for a few pixels.

An option in the find options popup to "not wrap" the search would be great.

Reproducible: Always
Comment 1 Bug Janitor Service 2024-03-31 00:42:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/979
Comment 2 Kurt Hindenburg 2024-04-13 00:18:47 UTC
Git commit f1308b70774a17d3f745d39bbaaec45aeaca00cc by Kurt Hindenburg, on behalf of João Gouveia.
Committed on 13/04/2024 at 00:18.
Pushed by hindenburg into branch 'master'.

Add "No wrap" setting to search options

In some scenarios, users don't want to start a search again from the
top when they reach the end of the contents being searched. However,
if the contents are too large, it can be difficult to notice when
such jumping occurs. This commit aims to address this by adding an
option that disables the automatic wrapping in searches.

M  +26   -4    src/SearchHistoryTask.cpp
M  +6    -0    src/SearchHistoryTask.h
M  +15   -6    src/session/SessionController.cpp
M  +2    -1    src/session/SessionController.h
M  +19   -3    src/settings/GeneralSettings.ui
M  +5    -0    src/settings/konsole.kcfg
M  +10   -1    src/widgets/IncrementalSearchBar.cpp
M  +8    -0    src/widgets/IncrementalSearchBar.h

https://invent.kde.org/utilities/konsole/-/commit/f1308b70774a17d3f745d39bbaaec45aeaca00cc