Created attachment 76872 [details]
A screenshot demonstrating the current misbehavior of the quick search box invoked with ctrl+f.
When using the quick search box while editing in Writer (invoked with ctrl+F), the search string is interpreted as a regular expression if the "use regular expressions" option has been checked in the "search and replace" dialog before. However, there is no immediate way to check, uncheck or just check out the state of that option from the quick search dialog.
Steps to reproduce:
0. Type ??? in an empty writer document
1. Open the Search-and-replace dialog (ctrl+h)
2. Check "Use regular expressions"
3. Close the Search-and-replace dialog.
4. Open quick search (ctrl+f)
5. Type "???" in the find box and press enter.
No occurrence of the search string is found.
The ??? we typed in the empty document in the beginning are found
(because there is no "regular expression" option visible, so the user naturally expects the ??? to be interpreted literally and not as special characters).
Operating System: Ubuntu
Version: 220.127.116.11 release
Thanks for reporting!
I can reproduce this behavior using Mac OSX 10.8.3 and LibreOffice 18.104.22.168. Therefore I mark this bug as NEW.
I mark this bug as minor, medium.
Minor: does prevent you to use some features
Medium: default priority in the minor range
Thanks for the clear steps!
thanks for reporting.
AFAICR, this is inherrited behaviour from OOo
There is this related issue
So it's a wider area that needs some investigation and where improvement is possible.
This bug affects me too. I confirm it that this is not only a problem with using the "regular expressions" option but also using the "similarity search" option as well.
See this bug: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=64635
*** Bug 64635 has been marked as a duplicate of this bug. ***
abdulmajeed ahmed committed a patch related to this issue.
It has been pushed to "master":
fdo#62601 Quick search affected by invisible option from the search&replace
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
(In reply to comment #5)
> abdulmajeed ahmed committed a patch related to this issue.
> It has been pushed to "master":
Thanks a lot - a useful improvement :) !
Is this really fixed? As far as I can tell on LO 22.214.171.124, the (ill) behavior remains. It's not just about the "use regular expressions" option. It's about any option made in the "Find & Replace" dialog box, formatting included.
Btw, this looks like a duplicate report of bug 37179.
Kumara: from what I see above target is 4.2.
*** Bug 37179 has been marked as a duplicate of this bug. ***