Bug 410725 - "Search wrapped..." message hides the text that is found
Summary: "Search wrapped..." message hides the text that is found
Status: RESOLVED DUPLICATE of bug 398731
Alias: None
Product: kate
Classification: Applications
Component: search (show other bugs)
Version: 18.08.0
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-08 12:39 UTC by Milko Krachounov
Modified: 2019-08-08 14:39 UTC (History)
1 user (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 Milko Krachounov 2019-08-08 12:39:41 UTC
Since upgrading Kate from 4:16.08.3-1 to 4:18.08.0-1 (Debian package versions given), there is suddenly an opaque “Search wrapped” message at the centre of the edited text. If the text that you're looking for is in the middle of the line, it's concealed by this otherwise useless message. The message cannot be closed, so one has to wait or scroll (with the mouse, no less, so can't keep hands on keyboard), to read it.

That has creates one additional problem in addition to just temporarily hiding part of the text: Before the update, it was possible to visually verify the differences between multiple similar lines the found by pressing F3 repeatedly (without the need to paste those lines in a separate KWrite/Kate window next to one another). With the new behaviour this is only possible if ones carefully avoids the search wrapping, which is humanly impossible to do repeatedly.

This should at least be configurable.

STEPS TO REPRODUCE
1. Open a document that contains two similar lines.
2. Resize the window so that text you're interested in is in the centre of  the Kate editing pane for both lines.
3. Search for a string that's present only on both lines, and repeat that so the search wraps going from top to bottom. (In particular, press F3 a couple of times to make sure the lines are the same).

OBSERVED RESULT
The text you're interested is not visible for a few seconds.

EXPECTED RESULT
The text you're interested is visible immediately, even if the search wrapped.


SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: 4.19.0-5-amd64/5.14.5.1-1 (Debian package version)
(available in About System) - there's no such thing
KDE Plasma Version: 5.14.5.1-1 (Debian package version)
KDE Frameworks Version: 5.54.0-1 (Debian package version)
Qt Version: 5.11.3+dfsg1-1 (Qt 5 GUI package version)

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-08-08 14:39:59 UTC
Fixed in KDE Frameworks version 5.57, bug I guess you're stuck with this for the next few years since Debian Stable uses old versions. :( You could ask the Debian packagers to backport https://commits.kde.org/ktexteditor/ac35dba359887e1feb881d01ec15db32116943a6. It's quite simple and safe.

*** This bug has been marked as a duplicate of bug 398731 ***