Comments (12)
Added a nonKineticScrollingSpeed
setting in 7587e55, you can set for example 2.0
to scroll twice as fast.
from mirage.
@DataBeaver, how does #43 affect your scrolling despite the "trackpad" name?
from mirage.
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.
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.
@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.
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.
@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.
from mirage.
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.
The PR has now been merged.
from mirage.
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.
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.
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)
- Make it possible to change room image from Mirage
- [Bug] Mirage stuck on loading screen HOT 24
- UnicodeEncodeError: 'ascii' codec can't encode character '\xfc'
- Make notification settings more understandable
- Parantheses at end of URL fails to be recognized as part of URL
- Mac OSX: Clicking on read receipt opens dialog HOT 2
- Python 3.10: AttributeError: module 'collections' has no attribute 'Mapping' HOT 7
- Mirage is Broken on Alpine/PostmarketOS: gives an infinite spinning wheel on startup HOT 4
- SSO login should work for homeservers that don't have password login disabled HOT 1
- Getting verified by other clients (Element, nheko,...) HOT 3
- Could not initialize GLX HOT 1
- Startup Crash FreeBSD HOT 3
- Add option to start the application minimized HOT 2
- Flatpak: The KDE 5.14 runtime is no longer supported and does not receive security updates. HOT 1
- Cannot import keys from Element - Passphrase not recognized HOT 1
- clipboard images wont send on arch linux
- Traceback (most recent call last): File "qrc:/src/backend/matrix_client.py", line 399, in _start Problem HOT 4
- Unable to install python-mistune1 on Manjaro HOT 2
- lol it ded HOT 2
- Warnings and errors on Debian make application unusable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirage.