D7780: Make Kickoff expose items to accessibility
David Edmundson
noreply at phabricator.kde.org
Tue Sep 12 20:21:45 UTC 2017
davidedmundson updated this revision to Diff 19461.
davidedmundson added a comment.
In the old code sometimes the root item would mostly have focus,
sometimes the relevant object. The root item would then perform key
handling for everyone and dispatch events to the relevant place.
Because focus kept ending up in the wrong place and faked, this broke
accessibility (as well as being quite messy).
In the new code items all handle their own key handling. Anything
unhandled propagates to the root view which then Keys.forwardTo the
relevant items.
Behaviour is mostly identical (except I changed escape in the
Applications view)
Change is too massive for 5.11, will delay for master.
REPOSITORY
R119 Plasma Desktop
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D7780?vs=19436&id=19461
BRANCH
backup
REVISION DETAIL
https://phabricator.kde.org/D7780
AFFECTED FILES
applets/kickoff/package/contents/ui/ApplicationsView.qml
applets/kickoff/package/contents/ui/BaseView.qml
applets/kickoff/package/contents/ui/ComputerView.qml
applets/kickoff/package/contents/ui/FavoritesView.qml
applets/kickoff/package/contents/ui/FullRepresentation.qml
applets/kickoff/package/contents/ui/Header.qml
applets/kickoff/package/contents/ui/KickoffItem.qml
applets/kickoff/package/contents/ui/LeaveView.qml
applets/kickoff/package/contents/ui/OftenUsedView.qml
applets/kickoff/package/contents/ui/RecentlyUsedView.qml
applets/kickoff/package/contents/ui/SearchView.qml
To: davidedmundson, #plasma
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/20170912/0a73a101/attachment.html>
More information about the Plasma-devel
mailing list