Bug 383667 - 'Search...' field is losing focus after first entered letter when mouse cursor is hovering over found results without further cursor moving
Summary: 'Search...' field is losing focus after first entered letter when mouse curso...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 5.10.4
Platform: Netrunner Rolling Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-18 13:05 UTC by Alexander Mentyu
Modified: 2017-08-21 09:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2017-08-18 13:05:24 UTC
Steps to reproduce:
1. Activate Kicker.
2. Hover mouse cursor over 'Power / Session' section.
3. Press 'f' letter (for example).
4. Don't move mouse cursor.
5. Press 'i' letter (for example).

Actual result:
'f' letter is entering in 'Search...' field but 'i' letter isn't entering. After moving of mouse cursor - ability to enter letters in 'Search...' field returns.

Expected result:
Ability to enter letters in 'Search...' field regardless of mouse cursor position.
Comment 1 Eike Hein 2017-08-19 04:49:17 UTC
Can't reproduce.
Comment 2 Alexander Mentyu 2017-08-19 05:19:28 UTC
I noticed there is additional condition - if you have Panel at the top - then in step 2  - hover over 'Utilities' or 'System' section instead of 'Power / Session'. 

The bugs is triggered for me if after first entered letter there are found results directly under the cursor - and after that second and subsequent letters aren't entering in 'Search...' field.
Comment 3 Eike Hein 2017-08-21 08:56:44 UTC
Sorry somehow I inverted the meaning of my comment completely - I actually meant "Can reproduce" :). Looking into it.
Comment 4 Eike Hein 2017-08-21 09:59:24 UTC
Git commit 001c89d18ab737dd48451c73137004134fdc51b6 by Eike Hein.
Committed on 21/08/2017 at 09:59.
Pushed by hein into branch 'Plasma/5.8'.

Set focus in this FocusScope.

Due to the hover-handling behavior change in recent Qt we
interrupt key event handling for search otherwise if starting
search while mouse-hovering a top-level category.

M  +2    -0    applets/kicker/package/contents/ui/RunnerResultsList.qml

https://commits.kde.org/plasma-desktop/001c89d18ab737dd48451c73137004134fdc51b6