Description: If you use Ctrl+F and keep the Find and Replace window open, each time you press Ctrl+F, the window closes if it was open beforehand. Instead, the previous search string should be highlighted and the window should remain open. Steps to Reproduce: 1. Press CTRL+F and do some search 2. Write some text in the document (by keeping the Find and Replace window opend (e. g. beside the document) 3. Press CTRL+F Actual Results: The Find and Replace window closes. This makes it difficult to work with the CTRL+F shortcut if you want to keep the window open for a long time, for example, if you need to perform a lot of searches. Expected Results: The Find and Replace window should remain open, with the last search string marked, so that you can easily start writing another one. You can close the Find and Replace window by pressing ESC. If I want to keep the Find and Replace window open for a long time, there is no need to close it using CTRL+F. Reproducible: Always User Profile Reset: No Additional Info: The same in sWriter and sCalc. I'm not sure if the actual behaviour is intentional, in which case this should be treated as a request for enhancement. However, I don't think there is a logical reason for the actual beahviour (as opened FaR window does not affect the work in any way and can be closed by X or ESC), so I believe this is a bug. Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: bbb074479178df812d175f709636b368952c2ce3 CPU threads: 16; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Can not confirm. The <Ctrl>+F shortcut is assigned by default to the 'Find' toolbar, not the Find and Replace pop-up dialog. Repeated <Ctrl>+F with the Find bar open does not close it. Rather it focuses into the Find bar as expected. Only <Esc> when tb is focused, or mouse click on the 'X' button alone will close. However if request is regards the dialog, <Ctrl>+H is the default assigned to the 'Find and Replace' dialog. And yes that *will* close with successive use of the <Ctrl>+H shortcut--when focus is *not* in the dialog. In addition to selection of the dialog's 'Close' button, or the <Esc> key when the dialog frame has focus. So a request would be for the <Ctrl>+H shortcut to *toggle focus* into an open dialog, and not close it. Hard to see advantage to adjusting this legacy behavior. Have adjusted the summary title. =-testing-= Version: 25.2.6.2 (X86_64) / LibreOffice Community Build ID: 729c5bfe710f5eb71ed3bbde9e06a6065e9c6c5d CPU threads: 28; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Thank you for the explanation, and I apologise for the confusion. I changed the shortcut years ago because it's more convenient for my work to use a single search and replace solution. For example, you lose an extra line of the document with the classic Find bar, and I don't have to remember another shortcut for LO because the FaR window can also be used for simple finds. I leave the FaR window open because I often work with the Find and Replace functions, so it is more convenient for me to keep it open. However, if I forget that it is open while I am working (e.g. if it is on a second monitor outside my field of vision), pressing the shortcut closes the window and I continue typing into the document instead of the FaR window. Yes, it may be a matter of individual habit, but I see no particular reason why the CTRL+H shortcut should also close the window. For a one-time activity in FaR window, you usually work with the mouse in the given window, so you can close it by clicking the 'X' or if working with keyboard, by pressing 'ESC'. If I deliberately leave the window open and continue to edit the text, it is probably clear, that I want it to stay open. Using the shortcut after a while should bring me back in the FaR window, not close it. Of course, the existence of the Find bar (which I do not use) probably makes my suggestion less important, so I will leave it up to the community to decide how to handle it.
(In reply to Orwel from comment #2) > ...forget that it is open while I am working (e.g. if it is on a second monitor > outside my field of vision), pressing the shortcut closes the window and I > continue typing into the document instead of the FaR window. The use case is plausible. I could even go further and expect _all_ modeless dialogs to receive focus when called again. (In reply to Orwel from comment #2) > I leave the FaR window open because I often work with the Find and Replace... Do you know the Find sidebar?
(In reply to Heiko Tietze from comment #3) > The use case is plausible. I could even go further and expect _all_ modeless > dialogs to receive focus when called again. Thank you. As a user, I think it sounds very good. > Do you know the Find sidebar? To be honest, I somehow overlooked this feature (people tend to stick to their automatic routines). I like the FaR window because I can easily use both find and replace via a single shortcut. But I will test the Find sidebar because it's worth trying.
(In reply to Heiko Tietze from comment #3) > Do you know the Find sidebar? The Find sidebar has in my opinion a significant lack, which I reported (as a request for enhancement - Bug 168560).