Summary:
In order to separate favorites from the "entity order" QSFPM
used by the folder tree widget (it was always weird that filtering or
changing the sort order for the folder tree widget would affect favorites),
we need the favorites to get their own "ordering" proxy (otherwise
ordering is random, based on ETM population order). So while at it,
I implemented manual reordering of favorites.
BUG: 376073
FIXED-IN: 18.04
Test Plan:
I can reorder favorites (in listview mode) using DnD
and the order is persisted
Reviewers: dvratil, mlaurent
Reviewed By: mlaurent
Subscribers: #kde_pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D8884
Summary:
This way the FolderTreeWidgetProxyModel (its source) doesn't get
filtered, which will allow FavoriteCollectionsModel to not get filtered
by the filter lineedit (once it uses FolderTreeWidgetProxyModel
directly).
This also simplifies FolderTreeWidgetProxyModel.
Test Plan: lineedit filtering in kmail still works
Reviewers: dvratil, mlaurent
Reviewed By: mlaurent
Subscribers: #kde_pim
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D8818
There was a warning for the encrypt action but not for the
decrypt action. It should be warned that end-to-end encryption
no longer exists if the decrypted mails are stored in a
remote resource.
This fixes filtering on non-IMAP resources as the current implementation
only considers for filtering folders with server-side name "INBOX" or
the default Inbox collection for the Akonadi instance. If the resource
uses a different server-side identifier for its Inbox folder it will not
get filtered.
The updated implementation will consider all Inbox-type folders for all
resources that have registered such folders.
Reviewers: #kde_pim, dvratil
Reviewed By: #kde_pim, dvratil
Tags: #kde_pim
Differential Revision: https://phabricator.kde.org/D3181