Skip to content
Commit ee888dec authored by Jin Liu's avatar Jin Liu Committed by Nate Graham
Browse files

Remove the animation of the search icon in SearchField

Always show the search icon regardless if the search box is focused or not.

Rationale:
1. The current design (hide the search icon when focused) is unusual. Web
   browsers (e.g. Firefox, Chrome, Edge) and websites (e.g. Google, Gitlab)
   normally always show the search icon in the search box, so the user
   probably is expecting that.
2. Search boxes in Plasma and KDE apps are generally wide enough, that hiding
   one icon doesn't add much to it.
3. The animation is triggered during a tray icon (e.g. NetworkManager) poping
   up or an app (e.g. Discover) launching. The user doesn't interact with the
   search box at that time, so the animation can be confusing/distracting. And
   according to dev (https://bugs.kde.org/show_bug.cgi?id=472391) this can be
   hard to fix.

BUG: 472391
parent 71bd0b5c
Pipeline #444540 passed with stage
in 1 minute and 42 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment