[KMail] Better account quota reached warning
Closed, ResolvedPublic


Currently, when the user's account is reaching the server size quota, all the folders in the account in KMail will turn red without any explanation what that means which is super confusing to users. Even worse, if the underlying resource is in "Broken" state, it also turns the folders red, so it's even more confusing to figure out what happens.

The idea is to instead show a warning next to the account name, something like this (but better looking):

Ideally, the VDG should be included in the discussion what would be the best way to indicate that the quota threshold was reached.

The threshold for when the warning should be shown is configurable in Settings -> Configure KMail -> Appearance -> Colors -> Quota threshold. Already now this does not make much sense, but once the color will have absolutely no factor in showing the quota has been reached, a new place in the settings dialog must be found for the option.

Currently the "red color" is handled by the QuotaProxyModel, so this task just needs adjusting the proxy model to change the DisplayRole and DecorativeRole of the top-level collection that has reached the threshold.

dvratil created this task.Aug 16 2018, 8:28 PM
mlaurent moved this task from Backlog to In Progress on the KDE PIM board.Dec 14 2018, 12:44 PM

@mlaurent could you please add a reference to commit(s) that implemented this for future reference?

knauss closed this task as Resolved.Sep 1 2019, 3:39 PM
knauss claimed this task.
knauss added a subscriber: knauss.

The tasks were released with Applications 19.04.