--===============2998173229559529243== Content-Type: multipart/alternative; boundary="===============7046686507165121022==" --===============7046686507165121022== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120003/ ----------------------------------------------------------- Review request for Plasma. Repository: plasma-framework Description ------- This patch allows changing the month using the mouse wheel. I already tried that patch earlier but with the previous approach used in the month view ("Use a ton of rectangles") it was unusable. Performance is fine with the canvas now. With Qt 5.3's high-precision touchpad scrolling, however, we get a wheelevent for the slightest finger movement which resulted in you easily ending up 5 years in the future in one movement. Hence this hack I added, which I'm not too fond of but it works rather nicely. Traditional mouse wheel works perfectly. Diffs ----- src/declarativeimports/calendar/qml/MonthView.qml 2a14f28 Diff: https://git.reviewboard.kde.org/r/120003/diff/ Testing ------- Yup. Going back and forth between months using mouse wheel and touchpad. Thanks, Kai Uwe Broulik --===============7046686507165121022== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120003/

Review request for Plasma.
By Kai Uwe Broulik.
Repository: plasma-framework

Description

This patch allows changing the month using the mouse wheel. I already tried that patch earlier but with the previous approach used in the month view ("Use a ton of rectangles") it was unusable. Performance is fine with the canvas now.

With Qt 5.3's high-precision touchpad scrolling, however, we get a wheelevent for the slightest finger movement which resulted in you easily ending up 5 years in the future in one movement. Hence this hack I added, which I'm not too fond of but it works rather nicely. Traditional mouse wheel works perfectly.

Testing

Yup. Going back and forth between months using mouse wheel and touchpad.

Diffs

  • src/declarativeimports/calendar/qml/MonthView.qml (2a14f28)

View Diff

--===============7046686507165121022==-- --===============2998173229559529243== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============2998173229559529243==--