diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-16 23:27:51 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-17 20:02:43 -0600 |
commit | de4be82bf141f1eb5f57189bf251123e57996f28 (patch) | |
tree | 28701506e5e77af0120b25f52aed02f252cb12ac /framework/src/domain/maillistmodel.cpp | |
parent | a855b61ace6572e19c305cdee7bd080c5f89eb51 (diff) | |
download | kube-de4be82bf141f1eb5f57189bf251123e57996f28.tar.gz kube-de4be82bf141f1eb5f57189bf251123e57996f28.zip |
Non listview based conversationview
The listview deals badly with non uniformly sized items.
We use the buffer hack to ensure all items are loaded so it works at
all, and setting the current index resulted in unpredictable scrolling.
With this new approach we manage everything ourselves in a Flickable,
and just always load all delegates (which we also did before, but with a
hack). As an optimization it should be possible to avoid loading some
delegates until they become visible.
Note that ConversationView is thightly coupled to ConversationListView
due to dependencies on some properties in the delegate. This could be
handled more elegantly with attached properties.
In any case, this seems to work much, much better.
Diffstat (limited to 'framework/src/domain/maillistmodel.cpp')
0 files changed, 0 insertions, 0 deletions