“Preview” and “Show Hidden Files” are toggle buttons. The Filter/Search bar visibility should also be synced with their buttons. Reproducible: Always
Thanks for the feature request! I agree with you that filter and find should be toggle buttons as well. There is already an old patch for the "find" button: https://git.reviewboard.kde.org/r/107016/ Added two tasks: https://todo.kde.org/?controller=task&action=show&task_id=966 https://todo.kde.org/?controller=task&action=show&task_id=967
(In reply to Emmanuel Pescosta from comment #1) > Thanks for the feature request! > I agree with you that filter and find should be toggle buttons as well. > > There is already an old patch for the "find" button: > https://git.reviewboard.kde.org/r/107016/ > > Added two tasks: > https://todo.kde.org/?controller=task&action=show&task_id=966 > https://todo.kde.org/?controller=task&action=show&task_id=967 The filter toggle patch has been committed. I will work on making find a toggle. The patch above seems to not show any diffs anymore. Is todo.kde.org dead? I can't access it right now.
The committed filter toggle patch has been reverted. https://git.reviewboard.kde.org/r/129662/ I discarded my find toggle patch submission because I think it'll be opposed for the same reason. https://git.reviewboard.kde.org/r/129972/
Another patch for this: https://phabricator.kde.org/D10246 User interest in this change is strong.
*** Bug 353227 has been marked as a duplicate of this bug. ***
*** Bug 407682 has been marked as a duplicate of this bug. ***
Git commit 3a7586907ed834fb3c09d47e047da305a25374a2 by Elvis Angelaccio, on behalf of Ismael Asensio. Committed on 01/09/2019 at 19:59. Pushed by elvisangelaccio into branch 'master'. [dolphin] Add an action to toggle the searchbar Summary: Make search action toggle the searchbar instead of just launching it. The search action in dolphin did only bring up the search bar, but to close it again you had to go to the closing button on the same searchbar. This behavior in inconsistent with other dolphin actions which toggle panels or tools. BEFORE: {F7256652} AFTER: {F7256862} FIXED-IN: 19.12.0 Closes T8473 Depends on D23075 Test Plan: - Enable the search mode: the searchbar appears and the toolbar button gets checked - Press the search button again, and it goes back to normal mode. - The search button state is coherent with the searchbox - Coherence is kept when changing to a split view or different tab - Shorcut <Ctrl-F> does not close the searchbar, but moves the focus to it. Reviewers: #dolphin, ngraham, #vdg, elvisangelaccio Reviewed By: ngraham, #vdg Subscribers: ndavis, felixernst, elvisangelaccio, kfm-devel Tags: #dolphin Maniphest Tasks: T8473 Differential Revision: https://phabricator.kde.org/D23232 M +26 -0 src/dolphinmainwindow.cpp M +3 -0 src/dolphinmainwindow.h M +3 -3 src/dolphinui.rc M +2 -0 src/dolphinviewcontainer.cpp M +12 -5 src/dolphinviewcontainer.h https://commits.kde.org/dolphin/3a7586907ed834fb3c09d47e047da305a25374a2
Renaming the bug report. We are not going to make the filter button a toggle, because there is a clash with the CTRL+I shortcut that's not easy to fix. Since this button is not visible on the default toolbar, it's not worth the effort.
New toggle search is awesome, I suggest you also make ctrl+f default to it instead of old search. Or is old search getting removed?
(In reply to pmargeti34 from comment #9) > New toggle search is awesome, I suggest you also make ctrl+f default to it > instead of old search. Or is old search getting removed? That was deliberate, because we are under the impression that there are people who like keeping the search panel open and simply focusing it with ctrl+f. If this does not describe you can re-map the keys in Settings > Keyboard Shortcuts.
That's a good point. My use case is search oneshots and toggling it off and I did rebind the hotkey to the toggle. Thanks! Great work on this! Hope the filter bar can receive same love in the future too ;)