Latte Dock issueshttps://invent.kde.org/plasma/latte-dock/-/issues2022-01-07T15:56:05Zhttps://invent.kde.org/plasma/latte-dock/-/issues/65feature: widen parabolic zoom to 5 icons instead of 32022-01-07T15:56:05ZGanluca Pettinellog_pet@hotmail.comfeature: widen parabolic zoom to 5 icons instead of 3Hi,
parabolic zoom on 3 icons is not as smooth as mac os one where there are 6 icons zoomed
It would be much better to calculate a parabola with the center on the current mouse position and then define the zoom level based on the y value...Hi,
parabolic zoom on 3 icons is not as smooth as mac os one where there are 6 icons zoomed
It would be much better to calculate a parabola with the center on the current mouse position and then define the zoom level based on the y value of the parabola at the x defined by each of the 6 icons around the mouse position.
I saw that there are plenty of ParabolicEffect, ParabolicArea, ParabolicItem files. most of them are qml files. Please could you help me in understanding so that I can implement this feature?
Thanks
Gianluca
___
@mvourlakos **PROPOSED SOLUTION:**
- [x] updateScale(...) function can drop the "step" parameter because it is not used any more
- [x] In Latte Global Preferences a new option for Parabolic Effect -> Spreadness should be added
- [x] Parabolic Effect instead of calculating two scales, it should calculate scales based on user SPREAD preference
- [x] Parabolic Effect instead of sending a single calculated scale, it should send an array of calculated scales. Every item that accepts the first scale in that array will apply it and remove it afterwards from the array stack. The new produced scales array is sent afterwards to the relevant neighbours.