Don't forward keys until the recipient is ready

Authored by leinir on Apr 18 2017, 10:48 AM.

Description

Don't forward keys until the recipient is ready

This avoids numerous crashes when using the keyboard navigation
in Discover during searches. It would seem that, without this,
we occasionally (which during a search with auto-updating results
means regularly) send key events to a component which is not yet
ready to receive them... It would be nice if this were caught by
Qt, but i guess that might be a little expensive to do generically.

nb: i would like this to be a typesafe comparison, but... yay qml ;)

Differential Revision: https://phabricator.kde.org/D5408

BUG: 378339

Details

Committed
leinirApr 18 2017, 10:48 AM
Differential Revision
D5408: Don't forward keys until the recipient is ready
Parents
R169:8a5efae3d165: Polish ItemViewHeader, solve binding loops
Branches
Unknown
Tags
Unknown
References
tag: v2.0.90