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

            Bug ID: 444470
           Summary: Text box defocusing after selecting result with arrow
                    keys
           Product: krunner
           Version: 5.23.2
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: afedotov...@outlook.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
When selecting search result with the up/down arrow keys, the text entry box
defocuses, leading to inconsistent behavior with regard to entering more text.
For example, after pressing up/down to select a result, and then entering more
letters, the text box is refocused and the characters are added to the end.
However, after pressing up/down and then pressing backspace, the text box is
only refocused, and the letter where the cursor was is not deleted.
Furthermore, the cursor position is reset to the end of the query after
pressing up/down, no matter if the user moved it to the middle of the query
before moving up/down. All of this would be avoided if the text box would keep
its focus through selecting a search result with the arrow keys.

STEPS TO REPRODUCE
1. type query
2. move text cursor to middle of query
3. press up/down to select a result
4. press backspace once

OBSERVED RESULT
The text box is refocused, the text cursor is reset to the end of the query,
and no character is deleted (from neither cursor position)

EXPECTED RESULT
The text box should stay focused when selecting a search result with the arrow
keys.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.14-arch1-1
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

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

Reply via email to