diff options
| author | Pan Zhang <[email protected]> | 2026-03-16 16:23:55 +0800 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-03-17 09:40:37 +0000 |
| commit | 35b309aa3efac59b12e0c6bfc127516649f8cfa2 (patch) | |
| tree | cb160719bcf4305c9ef62c7d8338abb35c717f91 /src/dolphindockwidget.cpp | |
| parent | 063b31f1643d27e95c0bfee5ccdcd649d9df0cb5 (diff) | |
dolphinviewcontainer: Avoid adding an extra history entry when leaving search results
When navigating away from a search result, hiding the search bar unintentionally emitted urlChangeRequested(searchPath). This inserted an extra navigation step into the history, causing the “Back” button to require multiple presses to return to the search results.
Introduce Search::Bar::HideBehavior to allow callers to hide the search bar without triggering a URL change, and use it when the bar is automatically hidden due to non-search navigation.
BUG: 515236
Diffstat (limited to 'src/dolphindockwidget.cpp')
0 files changed, 0 insertions, 0 deletions
