Version: (using Devel) Installed from: Compiled sources There are two different close paths for closing the find bar via a QAction, and via the button embedded in the bar. The action variant restores focus to the document, but the button does not because it just calls QWidget::close() internally to the bar. This patch makes the bar request that it is hidden when the button is clicked, using the same controller logic in the part, which can then set focus on the document This has the effect of also preventing the bar closing if maybeClose() returns false during a running search, which is the same way the action is handled.
Created attachment 40440 [details] patch fixing the above
BTW the same solution might work for 213508 but I couldn't figure out exactly how to reproduce the bug to check.
The bar has to be closed if the button is pressed, that's why the tooltip says "Close", so the patch needs to be changed.
Will, waiting for your updated patch. Also using reviewboard would be a better idea to be honest
No answer in more than 6 months