Summary: | Defer button missing in alarm window after logging out and logging in again | ||
---|---|---|---|
Product: | [Applications] kalarm | Reporter: | David Jarvie <djarvie> |
Component: | general | Assignee: | David Jarvie <djarvie> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | a78a90f7246355a28d42430071cef12e4127da72 | Version Fixed In: | 4.13.2 |
Description
David Jarvie
2014-05-04 15:34:44 UTC
The reason for this is that MessageWin::redisplayAlarms() only shows the Defer button if the alarm's collection is writable. However, when it checks the writable status using CollectionControlModel::isWritableEnabled(), the Akonadi collections haven't been initialised fully so that it thinks the collection is not writable. The fix is to wait until Akonadi collections have been initialised before redisplayAlarms() is executed. This is now fixed - git commits 2178dbe20dcd928674c0f47e3f4836b407475d2a and a78a90f7246355a28d42430071cef12e4127da72. Also fixed is the duplication of alarm windows after some are restored at login. |