broulik created this revision. broulik added a reviewer: Plasma. broulik set the repository for this revision to R242 Plasma Frameworks. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY - Use a single global MouseArea and turn delegate into an Item - Use a single Rectangle for both "today" and "highlighted" state - Add font.pointSize: -1 workaround in the other labels to avoid runtime warnings TEST PLAN - Hovering and selecting items still works, updates agenda as needed, also "has appointment" overlay still works - Switching between months updates the highlight - you can see a brief transition from gray to blue and then invisible when you move between the current month and others as the single Rectangle will transition from gray to blue in response to becoming "not today" and opacity 1 to 0 in response to being no longer selected, not too terrible, though. - Pinch to zoom still works - didn't notice stray highlight when closing popup with mouse still hovering Unfortunately did not result in a noticeable speedup of first invocation REPOSITORY R242 Plasma Frameworks REVISION DETAIL https://phabricator.kde.org/D3838 AFFECTED FILES src/declarativeimports/calendar/qml/DayDelegate.qml src/declarativeimports/calendar/qml/DaysCalendar.qml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas