-
-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't scroll on the right of the stylus when the sidebar is on the right while hovering #329
Comments
This is the situation for me right now. Let me discuss all my queries and issues from #313 Also, let me add some more context,
|
Are you sure that it is only specific regions where the touch dragging does not work while hovering with the stylus? I also have to say it is debatable if it even is desired to allow touch input while hovering. My personal flow is that i usually lift the pen and drag with the pinky of my writing hand. However my stylus goes out of the hover very quickly, I can see that it is annoying when it takes some time. |
I kind of agree with you on this part. When I was on windows, accidental strokes from touch were really annoying. There really is no need to include complicated features when the current workflow works perfectly fine for the most part.
Yes, there is no touch input when the stylus is on hover, not just specific regions. |
Alright, this is the behavior I'm having I think that the bug is well documented here and in #313, but if you want I'll create a new issue (closing this one) or modify this one |
I think we should properly document this issue first. The issue from #313 was me requesting a kind of toggle to use the stylus as pointer but there's already such feature available. So it's better that that issue is closed. As for this behavior, can you tell us what's the scenario following is true
|
This behaviour persists with all extensions turned off, with no changes to the topbar buttons and without a custom gtk theme. |
The video is showing it pretty clearly, thanks! I currently don't really know what is going on there, Rnote itself does not block / allow input from specific regions on the canvas, so it must be the behaviour of GTK or even the input driver (maybe it is supposed to be palm rejection where on some devices it blocks touch input completely (like mine), on some devices only a specific region (like yours) ) My first guess also seems to be incorrect, your video clearly shows both stylus and touch input at the same time. |
I too think that it is supposed to be palm rejection. I checked various applications and I found out that: Considering that I am not bothered by the behaviour shown in the video, that the bug doesn't seem to be Rnote's fault and that left-handed people would just experience the app like you two do, which is in the expected way, I would consider this issue closed. |
I agree that there is probably not much to be done on the app side, but other users will probably stumble upon the same issue, so lets keep this open for the time being. |
update readme, mention #329 in known issues section
For reference: This behaviour is a feature in libinput, they call it location-based touch-arbitration. Explained here |
Describe the bug
When hovering with a stylus the right side of the screen is blocked from receiving touch inputs even when the sidebar is set to be on the right side. This means that left-handed people have to use the left part of the screen to move the canvas with touch input, which is quite uncomfortable.
To Reproduce
Expected behavior
The ideal solution would be to block the inputs from where the hand is present and add a padding to that area. For this to be possible there should be in every moment a check of where the hand is and a padding should be added to that area.
I think that this is not trivial to do and that it might add complexity to the code and on top of that it might even reduce the performance of the app. (You're developer tho so you know this better than me for sure).
The pro to having this implementation is that you could move the canvas using one of the fingers of the hand with which you're holding the stylus.
The solution that I think is more appropriate is to do the same thing as of now but mirrored when the sidebar is set to the left of the screen(supposing that only left-handed people would put the sidebar on the right and assuming that only right-handed people would put the sidebar on the left).
This means that (when the sidebar is on the right)the inputs should be blocked on the left side of the screen starting from a bit right (in order to add a padding) of the point in which the "Regular cursor" is present in the canvas.
Screenshots
Desktop (please complete the following information):
Not related to the desktop
Additional context
This bug was discovered in #313, I would really advise reading it to properly understand the scenario.
The text was updated successfully, but these errors were encountered: