SUMMARY There doesn't seem to be a component in plasmashell for the search widget, so I put this in general. The bug also partially affects krunner, so let me know if you want another bug report for that component. The bug is best illustrated through the reproduction steps. STEPS TO REPRODUCE 1. Add the search widget to your taskbar. 2. Set a keyboard shortcut for this widget (right click on widget > "Configure Search"). I chose F13, which is bound to my Caps Lock key, but that doesn't matter. I tested the behavior with other shortcuts. 3. Press the keyboard shortcut to open the search widget. 4. Now try to close the search widget without using the mouse. OBSERVED RESULT It's very hard to close the search widget. Anything that takes focus off the widget will work, like alt-tab, but that's weird to use. You can also hit the shortcut for the widget again, which will defocus *but not close* the widget, and then ESC will close it. EXPECTED RESULT The widget should be easy to close. In particular, hitting the shortcut for showing the widget again should also hide it. This is actually a regression - it used to do exactly this in a previous Plasma release, although I can't remember the specific version. This behavior is also inconsistent with the Application Launcher: a single shortcut will show / hide this widget. The krunner window / widget also has this bug, but at least in this case you *can* close it by simply pressing ESC. That does not work for the search widget. I'd like the ability to toggle the search widget on and off with a single shortcut. SOFTWARE/OS VERSIONS Linux: 5.8.5-arch1-1 (x86_64) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.1 Window System: X
>This is actually a regression - it used to do exactly this in a previous Plasma release Interesting, I didn't knew about this, but it is the same for all the other widgets. IS this intended? @ngraham >The krunner window / widget also has this bug, but at least in this case you *can* close it by simply pressing ESC. That in fixed in 5.20 >...which will defocus *but not close* the widget, Yep, that is a bug :) Will look into it >I'd like the ability to toggle the search widget on and off with a single shortcut. That makes perfect sense, I remember there being a discussion on reddit about this behavior in KRunner some time ago.
Yep, this periodically annoys me too. We probably need to fix this in a central location for all widgets rather than just Milou. I recall that we had a bug report about that that I was going to dupe this to, but now I can't find it.
Found it. *** This bug has been marked as a duplicate of bug 400278 ***