https://bugs.kde.org/show_bug.cgi?id=470071

--- Comment #1 from old486wh...@gmail.com ---
Just spent a couple of hours looking through the widget .qml files and
attempting to make sense of them with my limited knowledge.

... If I am reading this right, this is coming from the
"org.kde.plasma.workspace.calendar" widget.
The 2 qml files which seem to apply are:
MonthView.qml + DaysCalendar.qml

Both seem to indicate that a scroll would act similarly to 1 "mouse click" (eg,
a scroll down would cause it to skip a whole month!!!).

I have a touchscreen, and can "drag" the month up and down smoothly (although
the awful magnetic-lock kicks in).
And moving my mouse to that sweet spot at the left allows me to scroll the view
smoothly too (again within un-reason).

So, I am kind of concluding that:
1) Mouse scrolling is conflicting with the qml code which wants it to jump from
month to month.. Possibly the "120" delta in the qml is bad for Wayland and is
tuned only for X11? Possibly the scrolling of the window and the attempt to
move in hard units is conflicting in some other way? Could also be something to
do with my trackpad sensitivity (again in relation to this delta).
2) This kind of matches with me using my touchscreen to drag the month (as it's
a drag movement not a scroll), and also with my mouse in the sweet spot
(scrolling the background or something like that - immitating the scrolling of
the contents and not sending the scroll event through to a specific function
call).
3) Not quite sure why the contents aren't always updated - like the "<" and ">"
buttons (as well as the days/months/years tabs not working... I can't see any
reason why the code would lock up and prevent those.

... Really not sure why this was ever put against a strict scroll event rather
than letting a person scroll the contents as they want.

I may see if I can comment out the event code to allow just normal scrolling -
but it's very late here so I will check back in tomorrow.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to