[KCModuleQml] Ignore disabled controls when tabbing
ClosedPublic

Authored by broulik on May 18 2018, 7:57 AM.

Details

Summary

Whether an item is enabled or not doesn't seem to affect its focusPolicy or position in the focus chain.
Explicitly ignore disabled controls and move to the next.
Fixes being unable to tab out of a QML KCM when the "Help" button (typically next control after the view in System Settings) is disabled

Test Plan

Successfully tabbed in and ouf of desktop theme KCM in both directions and never got stuck

Diff Detail

Repository
R295 KCMUtils
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.May 18 2018, 7:57 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMay 18 2018, 7:57 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.May 18 2018, 7:57 AM
mart accepted this revision.May 18 2018, 8:19 AM
This revision is now accepted and ready to land.May 18 2018, 8:19 AM
This revision was automatically updated to reflect the committed changes.