https://bugs.kde.org/show_bug.cgi?id=426660

            Bug ID: 426660
           Summary: The keyboard shortcut to activate search widget does
                    not also deactivate it
           Product: plasmashell
           Version: 5.19.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: adam.m.fontenot+...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to