Comments (7)
I think AVNC's drag detection logic might be at fault here. It starts drag gesture immediately on the first ACTION_MOVE
event after long press. It probably should use a 'touch slope', similar to Android's GestureDetector
, which allows finger to wander around up to a certain limit.
I don't have this issue, so my touchscreen might be less sensitive. And from the events I have seen generated by stylus, they seem to be even more sensitive than fingers.
Lets keep this issue open.
from avnc.
Touch slope is automatically determined by Android, based on things like screen density and device configuration.
I think the issue is that drag was started from the point where swipe was first detected, and not from the point where finger initially went down. But by that point, finger had already moved more than touch slop, so that small distance was effectively lost.
I am attaching a new APK: https://github.com/gujjwal00/avnc/suites/4876806747/artifacts/139390680
Commit: 823a633
This should fix the issue. You will have to uninstall the previous one.
I'm not the best at phrasing things and I hope this didn't come off as unnecessarily nitpicky or ungrateful.
No, you are absolutely fine π , and thank you for reporting this issue. I probably would not have encountered it myself.
from avnc.
Please see #6 . (precisely #6 (comment)).
Improving this experience is on my todo list, but for now I want to finish #5 before doing anything else touch related.
from avnc.
Per your comment in #6, I'm unable to get a regular long press to trigger no matter how still I try to keep my finger (if drag is enabled). I even tried with a stylus. To the best of my knowledge, I don't have particularly shaky hands lol.
I can get by with using a double tap for right click. Thanks again for the app.
from avnc.
@sudomain please test this APK: app-debug.zip
It should reliably differentiate between long press (touch-hold-release), and drag (touch-hold-swipe).
from avnc.
Thank you! It works great and I can do both gestures now. Is the "touch slope" something that the user could configure? With this apk I notice a slight XY inaccuracy between where I'm trying to start a drag and where AVNC actually starts a drag action. I think it's somewhere in the neighborhood of 10-20 pixels based on my desktop icon setting of 48x48px. If it's not possible, I can live with "leading" my drag actions.
EDIT: I'm not the best at phrasing things and I hope this didn't come off as unnecessarily nitpicky or ungrateful. Thank you again
from avnc.
Everything is perfect now. Thank you for your responsiveness and all your work!
from avnc.
Related Issues (20)
- Feature Request: Mouse Scroll Bar HOT 3
- Not working with x11vnc's -ncache flag HOT 8
- Function keys not shown anymore since 2.50 HOT 4
- Clipboard sync does not work from Android to remote HOT 5
- Question on external mouse event logging? HOT 7
- Zoom-relative cursor speed
- ι»ε± HOT 4
- Feature request: Input configuration for mouse back & forward buttons to send XF86Back and XF86Forward HOT 1
- bug: Unable to connect when updating to 2.5.1 and causing phone to freeze HOT 6
- Virtual keys cause unexpected offset/zoom HOT 7
- 88498552
- Material You Support HOT 2
- [BUG?] AVNC crashed on an Android 6.0 tv box HOT 2
- [Enhancement] Support showing actual remote cursor or invert mouse color HOT 3
- Feature request: Have option to put the virtual keys on the left or right edge of the screen HOT 6
- Enhancement: Ignore long press when no actions are set HOT 3
- SSH Tunnel - Wrong VNC Password will leave SSH Tunnel open until app is closed HOT 7
- Request: support sntrup761x25519 (Simplified NTRU Prime) HOT 4
- δΈη₯ιδΈΊδ»δΉζ―ι»ε±η HOT 1
- Doesn't work HOT 10
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 avnc.