Bug 157286 - Reliably hide "Search key not found" on Find & Replace dialog
Summary: Reliably hide "Search key not found" on Find & Replace dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find-Search
  Show dependency treegraph
 
Reported: 2023-09-17 08:31 UTC by Heiko Tietze
Modified: 2023-09-19 10:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2023-09-17 08:31:31 UTC
Searching for a string that does not exist in the document returns this feedback message. And it disappears as expected if the search term changes but only if the quick search (ctrl+F) is open.

Changes to bug 156227 (not yet submitted) will make this issue more striking.

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 8; OS: Mac OS X 13.5.2; UI render: Skia/Raster; VCL: osx
Locale: de-DE (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Michael Weghorn 2023-09-19 07:50:06 UTC
Can reproduce:

1) start LO Writer
2) press Ctrl+H to open "Find and Replace" dialog
3) type "world" in the "Find" edit, press Enter
-> A "Search key not found" message is shown
4) remove the last character from "world" -> "worl"

Actual result:
The "Search key not found message" is still shown after step 4.

Expected result:
Message should disappear when changing the search term.

When opening the search bar (Ctrl+F) before taking the above steps, the message disappears as expected after step 4.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b2b43e83ccc41c37bad32a4dcf07ca86bf2f8a15
CPU threads: 12; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 2 Heiko Tietze 2023-09-19 10:12:45 UTC
Simply adding SetSearchLabel(""); at the ModifyHdl_Impl works for Calc but not Writer since it receives after a short delay a modification message again ending up in showing the label and disappearing after some milliseconds. Haven't tested on Draw/Impress.