dolphin/src
Ismael Asensio c144701c28 Hide search extra options when not available
Summary:
Hide the search extra options when they are not available, because the current location is not indexed or Baloo is not enabled.
The button is disabled and shows a tooltip to provide feedback of why it's not available.
Depends on D24478

{F7531893}

CCBUG: 396898
FEATURE: 318580
FEATURE: 408680
FIXED-IN: 19.11.80

Test Plan:
 - `Ctrl-F` on a non-indexed location
 - `balooctl disable` and `Ctrl-F` on an indexed location

On both cases the extra options are not shown, the button is disabled and the reason is shown in the tooltip
The user selection is remembered between indexed locations.

Reviewers: #dolphin, elvisangelaccio, meven, ngraham

Reviewed By: meven

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D24446
2019-10-13 17:22:28 +02:00
..
filterbar When filter bar is focused, switch to view when tab key is pressed 2019-05-25 21:32:29 -06:00
icons Add application icon for Mac and MS Windows. 2016-11-22 18:15:42 +01:00
kitemviews Refactoring: add shouldClearSearchIfInputTimeReached to KItemListKeyboardSearchManager 2019-10-10 09:28:25 +02:00
panels [dolphin] Animate gifs on preview 2019-09-21 16:25:50 +02:00
search Hide search extra options when not available 2019-10-13 17:22:28 +02:00
settings Expose full set of script execution options in settings window 2019-09-29 10:27:56 -06:00
statusbar Add "What's This?" to nearly everything in the main window 2019-06-23 21:19:49 +02:00
tests Update dolphin tests following place changes D7446 2019-10-05 07:43:44 +02:00
trash Get rid of ugly static_cast usages in connect() calls 2019-05-05 17:53:29 +02:00
views SVN_SILENT made messages (.desktop file) - always resolve ours 2019-09-25 05:15:10 +02:00
CMakeLists.txt Rewrite servicemenu helper utility in C++ 2019-07-15 01:39:15 +03:00
config-baloo.h.cmake Port Dolphin to Baloo 2014-02-06 20:29:09 +01:00
config-kactivities.h.cmake Bring back KActivities support 2019-03-18 21:18:04 +01:00
config-terminal.h.cmake Introduce HAVE_TERMINAL 2019-01-28 22:38:21 +01:00
dbusinterface.cpp Adding option to open externally called folder in a new tab 2019-06-23 13:27:25 +02:00
dbusinterface.h Add dbus interface to dolphin 2015-04-22 18:59:39 +05:30
dolphin.qrc Bundle the XMLGUI files into qrc resources. 2017-07-25 11:39:57 +02:00
dolphinbookmarkhandler.cpp Add Bookmark Handling 2019-05-13 16:37:15 +02:00
dolphinbookmarkhandler.h Add Bookmark Handling 2019-05-13 16:37:15 +02:00
dolphincontextmenu.cpp Clean up hamburger menu and viewport and single-folder context menus 2019-09-15 07:05:50 -06:00
dolphincontextmenu.h Move "Open" actions to the top of the context menu for files 2018-04-22 09:40:50 -06:00
dolphindockwidget.cpp don't use temporaries when uneeded 2018-06-22 16:17:47 +02:00
dolphindockwidget.h don't use temporaries when uneeded 2018-06-22 16:17:47 +02:00
dolphinmainwindow.cpp Add actions for switching to a specific tab 2019-10-13 16:41:00 +02:00
dolphinmainwindow.h Add navigation history to forward/back buttons 2019-09-29 14:16:11 +02:00
dolphinnewfilemenu.cpp [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions 2016-03-16 22:17:37 +01:00
dolphinnewfilemenu.h Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinpart.cpp Change terminal panel icon to dialog-scripts 2019-09-05 11:55:43 -04:00
dolphinpart.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-09-25 05:15:10 +02:00
dolphinpart.h Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinpart.qrc Bundle the XMLGUI files into qrc resources. 2017-07-25 11:39:57 +02:00
dolphinpart.rc part: fix name of 'Select All' action 2018-05-20 23:32:24 +02:00
dolphinpart_ext.cpp Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinpart_ext.h Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinplacesmodelsingleton.cpp Introduce singleton for KFilePlacesModel 2018-03-19 09:57:24 +01:00
dolphinplacesmodelsingleton.h Introduce singleton for KFilePlacesModel 2018-03-19 09:57:24 +01:00
dolphinrecenttabsmenu.cpp Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinrecenttabsmenu.h Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinremoveaction.cpp Remove unused #include 2018-03-04 21:00:47 +03:00
dolphinremoveaction.h Remove unused #include 2018-03-04 21:00:47 +03:00
dolphintabbar.cpp Remove unused #include 2018-03-04 21:00:47 +03:00
dolphintabbar.h Modernize: Use override where possible 2017-11-20 23:25:48 +01:00
dolphintabpage.cpp remove deprecated methods 2019-02-27 08:59:18 +01:00
dolphintabpage.h Fix minor typos 2018-10-25 21:23:44 +03:00
dolphintabwidget.cpp Add actions for switching to a specific tab 2019-10-13 16:41:00 +02:00
dolphintabwidget.h Add actions for switching to a specific tab 2019-10-13 16:41:00 +02:00
dolphinui.rc Improve icons and text for some actions 2019-09-14 08:53:29 -06:00
dolphinviewcontainer.cpp Merge branch 'Applications/19.08' 2019-10-06 11:51:34 +02:00
dolphinviewcontainer.h [dolphin] Add an action to toggle the searchbar 2019-09-01 21:59:43 +02:00
global.cpp GIT_SILENT: minor qstring optimization 2019-09-08 09:33:41 +02:00
global.h Fix container detaching 2019-06-08 13:11:47 +02:00
main.cpp Making sure that DBus objects are all created before the service 2019-09-02 23:13:53 +02:00
Messages.sh i18n: drop servicemenuinstaller messages from main po file 2019-07-15 08:08:23 +02:00
middleclickactioneventfilter.cpp Add navigation history to forward/back buttons 2019-09-29 14:16:11 +02:00
middleclickactioneventfilter.h Fix all 'explicit constructor' krazy warnings 2018-02-03 22:21:30 +01:00
org.kde.dolphin.appdata.xml GIT_SILENT made messages (after extraction) 2019-07-31 07:41:55 +02:00
org.kde.dolphin.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-09-25 05:15:10 +02:00