Bug 113485 - Find and Replace dialog: "current selection only" option should be enabled by default if a part of the text is marked
Summary: Find and Replace dialog: "current selection only" option should be enabled by...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0 all versions
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Find&Replace-Dialog
  Show dependency treegraph
 
Reported: 2017-10-27 16:54 UTC by Christian Lehmann
Modified: 2019-06-07 08:47 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 Christian Lehmann 2017-10-27 16:54:13 UTC
Description:
If I select (mark) some stretch of text in the document and then call 'Find and replace' (CTRL-ALT f), I still need to click 'Further options' and 'Only in selection'. Could Writer please do this for me?

Steps to Reproduce:
1. Select/mark some paragraph of your text.
2. CTRL-ALT f.


Actual Results:  
No reaction.

Expected Results:
'Further options' should be opened, and 'Only in selection' should be marked.


Reproducible: Always


User Profile Reset: No



Additional Info:
If the user did not mean it (this could only be by error), he can always unmark the cell 'Only in selection' before starting the operation.

This has been a desideratum since earlier versions, and still is in the current version.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Comment 1 Dieter 2017-10-28 07:40:00 UTC
I confirm the described behaviour => set to NEW.

But I'd like to propose that if the enhancement is done like Christian proposes, the "current selection only" option is placed beneath "whole words only". So an unexperienced user can see, that "the current selection only" option is enabled by default.
Comment 2 Christian Lehmann 2019-06-07 08:47:11 UTC
Close to two years later, I checked with LO 6.2.4.2 whether anything has been done about the above. It appears that, instead of implementing the enhancement proposed, a deterioration has been implemented:

- Select (mark) a stretch of text, e.g. a paragraph, in a document.
- Call 'Find & Replace'.
- The entire string that you had marked appears inserted in the 'Find' field.
- The checkbox 'Current selection only' is unchecked.

I find this to be a step back. The user can always copy and paste a string of text into the 'Find' field if he feels like it. However, he is not going to search for an entire paragraph of text or even more. Thus, this new functionality only obstructs my work.