Description: Find & Raplace dialogue don't save history of entered strings from previous sessions of the applications, e.g. calc and writer. It would be better if the apps kept the history of the dialogue on exit, i.e. between apps sessions. An appropriate option could be added. Steps to Reproduce: 1. run writer 2. open a document 3. open dialog Find & Replace 4. enter first string for searching "string 1" and press enter 5. enter second string to find "string 2" and press enter again 6. close the dialog and exit writer 7. open writer 8. open the dialog and view history of "find" field Actual Results: The history is empty Expected Results: The history must contain the previous entered strings "string 1" and "string 2" Reproducible: Always User Profile Reset: No Additional Info: Version: 6.1.0.3 Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1 CPU threads: 2; OS: Windows 6.1; UI render: default; Locale: ru-RU (ru_RU); Calc: group threaded
Created attachment 147804 [details] the dialog history
Believe currently the Find strings will persist until LibreOffice is fully closed. A new LibreOffice launch will have default search settings and empty Find string. Would agree with OP, there is a case to be made for allowing find and replace strings to persist in user profile between LO sessions. But it should be configurable. As an example, the Windows Notepad++ has this behavior and it is convenient to use. => NEW
For security reason I wouldn't store those information on the application level but perhaps in the document. How does MS handles this?
(In reply to Heiko Tietze from comment #3) > For security reason I wouldn't store those information on the application > level but perhaps in the document. How does MS handles this? Recording search strings into an ODF archive seems no more "secure" than recording to user profile, probably less so since once a document is out of users control those prior searches would be exposed. As to what could be done to record search strings (and probably replacement strings as well, not results of course) for LibreOffice the user profile seems the correct location. Notepad++ records per user search strings into <FindName> stanzas in a <FindHistory> XML file--config.xml. We already do similar in LibreOffice's application registry to hold the picklist for our MRU per user profile.
I agree with this enhancement
We discussed the idea in the design meeting and agree with the request. The search history should be stored in the user profile up to ~20 items, ideally with an option to disable it. That could be realized per Expert Configuration with changing the NumberOfStoredFindReplaceSearches to 0. Maybe it's an easyhack.