D8770: Resolve the input method issue by always force focus in search field.
Xuetian Weng
noreply at phabricator.kde.org
Sun Nov 12 10:26:22 UTC 2017
xuetianweng created this revision.
xuetianweng added reviewers: hein, mart.
Restricted Application added a project: Plasma.
REVISION 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.
REPOSITORY
R119 Plasma Desktop
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D8770
AFFECTED FILES
applets/kickoff/package/contents/ui/FullRepresentation.qml
applets/kickoff/package/contents/ui/Header.qml
To: xuetianweng, hein, mart
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171112/585420b4/attachment.html>
More information about the Plasma-devel
mailing list