Git Product home page Git Product logo

Comments (12)

mirukana avatar mirukana commented on May 27, 2024 1

Added a nonKineticScrollingSpeed setting in 7587e55, you can set for example 2.0 to scroll twice as fast.

from mirage.

vSLG avatar vSLG commented on May 27, 2024

@DataBeaver, how does #43 affect your scrolling despite the "trackpad" name?

from mirage.

DataBeaver avatar DataBeaver commented on May 27, 2024

It does prevent the issue of scrolling past where I wanted to stop, but it also seems to be ignoring some wheel events when turning the wheel very fast.

from mirage.

DataBeaver avatar DataBeaver commented on May 27, 2024

Actually, wheel events being ignored is probably not because of this. It happens without the modifications too. And there seems to be some kind of threshold for the event rate above which the scrolling suddenly speeds up significantly.

Setting the flickDeceleration property in HListView to a large value solves the stopping issue in what I feel is a more elegant way. Values in the range of 10000-20000 seem good, but obviously it can't just be statically set to something that large or it will make scrolling very annoying for touch users.

from mirage.

vSLG avatar vSLG commented on May 27, 2024

@DataBeaver, it may not be ignoring your events. Wheel events that happen faster than refresh rate, are summed up. So it's not ignoring, but summing up scroll events. Flickable component (which ListView and GridView inherits from) has a property maximumFlickVelocity. I suggest you trying to change its value to 10000 instead of 4000. It is defined here. Also keep your flickDeceleration higher.

I have thought about increasing maximumFlickVelocity when the option useTrackpadFix is enabled. On my trackpad, I can barely feel a speed limit.

from mirage.

DataBeaver avatar DataBeaver commented on May 27, 2024

maximumFlickVelocity doesn't seem to affect it. The feeling of wheel events being eaten happens at low speeds. If I'm at the bottom of the timeline and quickly turn the mouse wheel upwards, it will then take only two slow clicks of the wheel to get back to the bottom. If I do the same thing in a web browser, it will take 6-8 clicks.

It might not be explicitly ignoring wheel events, but if each event just resets the flick speeds instead of directly moving the scroll position, the effect is much the same. When multiple events occur in quick succession, the previous flick has not had time to complete and the total distance scrolled will be less than if those events came at a slower pace.

from mirage.

vSLG avatar vSLG commented on May 27, 2024

@DataBeaver, I made some changes to improve scrolling precision on trackpads. How is it behaving on your device? In here, I can make very small amount of scroll and scroll at lightning speed and stop immediately.

mirage

from mirage.

DataBeaver avatar DataBeaver commented on May 27, 2024

With the latest changes it works more like a traditional, non-touch application. Which is what I want when using it with a traditional, non-touch mouse.

from mirage.

mirukana avatar mirukana commented on May 27, 2024

The PR has now been merged.

from mirage.

toger5 avatar toger5 commented on May 27, 2024

without the kinetic scrolling the speed is just much to low. how can i change that value (the max kinetec speed property has no effect)

from mirage.

toger5 avatar toger5 commented on May 27, 2024

I installed the toolchain and compiled the dev branch to test 7587e55. Ther is an error when running. I will try in the upcoming days. Or open an issues if that error stays

from mirage.

toger5 avatar toger5 commented on May 27, 2024

Okay that was totally my fault.
i didnt install the requirements.txt with the dev branch but with master. looked through your latest commits and found that you added plyer.
now it works!

from mirage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.