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
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
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.