Skip to content
  • Xuetian Weng's avatar
    Resolve the input method issue by always force focus in search field. · 44d8a750
    Xuetian Weng authored
    Summary:
    ActivityManager.qml doesn't have input method issue because the initial
    focus is inside the text field. So here we try to apply the same logic.
    Always force focus into the text field first, and handle the rest of key
    event accordingly. So we don't need to use event.text to append or do
    anything special, because event.text is not a input method compatible
    way to handle input.
    
    Test Plan:
    Manually test arrow key navigation. Also test input method typing is enabled
    when menu is opened.
    
    Reviewers: hein, mart
    
    Reviewed By: hein
    
    Subscribers: ngraham, ihipop, plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D8770
    44d8a750