summaryrefslogtreecommitdiffstats
path: root/framework/qml/ConversationListView.qml
Commit message (Collapse)AuthorAge
* Fixed mouse interaction with mail contentChristian Mollekopf2017-08-19
| | | | | | | | | | | Previously mouse interaction was blocked by the mouse area in the delegate. An additional problem was after that, that the listview lost focus when the textview got focus which was fixed by introducing a focus scope and aquiring the currentItem status via activeFocus. The downside is that the focus stealing of the webengineview now becomes apparent again, but that can be fixed in qt 5.9. Otherwise this seems to work as expected now.
* Non listview based conversationviewChristian Mollekopf2017-08-17
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.