<table><tr><td style="">dkurz created this revision.<br />dkurz added a reviewer: KDE PIM.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />dkurz requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16088">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>KOrganizer's preference dialog states that the color for unset<br />
categories is only used on the categories-color-only setting. However,<br />
this is currently not true for Month View, where in each of the mixed<br />
settings (category-border, resource-fill, or vice versa) the<br />
unset-category color is also used. With this patch, Month View considers<br />
the unset-category color only in the category-only setting, just like<br />
Agenda View.</p>

<p>BUG: 382185<br />
FIXED-IN: 5.9.3</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>By testing all four combinations for coloring frame and fill<br />
a month item, I confirmed Bug 382185: the color for items with no<br />
categories is used in CategoryOnly as well as in mixed settings (i.e.,<br />
all settings but ResourceOnly). After applying this patch, I tested them<br />
again and confirmed that the unset-category color is only used in<br />
CategoryOnly, while in mixed settings, the resource color is used instead,<br />
making it consistent to Agenda View and the settings dialog.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R76 PIM: Event Views</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-color-inconsistency</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16088">https://phabricator.kde.org/D16088</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/month/monthitem.cpp<br />
src/month/monthitem.h</div></div></div><br /><div><strong>To: </strong>dkurz, KDE PIM<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>