MrWriter icon indicating copy to clipboard operation
MrWriter copied to clipboard

Disable Touch/Mouse input

Open Honigmelone opened this issue 7 years ago • 12 comments

Hey, I like the pressure sensitivity feature of your App. I want to suggest to use the touch/mouse input as pan tool. Many new devices have a touchscreen (Surface, Yoga etc.). When using the stylus on these devices, one always draws with the palm too. This is very annoying. My suggestion is to disable to mouse input in the app while the pen is used for drawing and to use the mouse input as a pan/scroll tool otherwise.

Edit:typo

Honigmelone avatar Jun 16 '17 10:06 Honigmelone

Use xnohands: https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_Helix#xnohands

RussianNeuroMancer avatar Aug 08 '17 08:08 RussianNeuroMancer

xnohands is only a workaround. Utilizing touch to scroll and the pen to draw enhances the user experience.

Honigmelone avatar Sep 21 '17 14:09 Honigmelone

How?

sonvirgo avatar Dec 06 '17 07:12 sonvirgo

I don't own such a device, so I cannot test this. This is a valid request and I'll see what I can do.

unruhschuh avatar Dec 30 '18 12:12 unruhschuh

Thanks for considering it. I'd be glad to do testing.

Honigmelone avatar Jan 07 '19 17:01 Honigmelone

@Honigmelone I finally got around to working on this. Please try the following test build. You should be able to scroll with one finger and touch should never draw anything.

I'm interested in what happens if you use the pen and rest your palm on the screen at the same time. My guess is that you'd be able to draw, but moving your hand will be recognized as a finger moving and the page is scrolling, which is obviously not what we want.

Windows: https://transfer.sh/wZAEc/MrWriter.zip Linux: https://transfer.sh/pyIAf/MrWriter-git.bd56d16-x86_64.AppImage Mac: https://transfer.sh/1V5gX/MrWriter.dmg

ETA: those links should be good for a week. If they don't work, let me know and I'll upload it somewhere else.

unruhschuh avatar Feb 04 '19 20:02 unruhschuh

@unruhschuh if possible, could you please reupload AppImage to another file sharing hosting? For some reason I can't access transfer.sh directly nor via VPN.

RussianNeuroMancer avatar Feb 05 '19 00:02 RussianNeuroMancer

https://www.dropbox.com/s/6dv1o11it2h3360/MrWriter-git.bd56d16-x86_64.AppImage?dl=0

unruhschuh avatar Feb 05 '19 06:02 unruhschuh

Thank you for re-upload!

You should be able to scroll with one finger and touch should never draw anything.

In my case any attempt to interact with one finger (even with menu) cause program to hang - it no longer react to any input and can be only closed.

I have to note that palm rejection works, I can rest palm and the screen and use stylus for drawing, at least as long as I didn't change position of my hand.

but moving your hand will be recognized as a finger moving and the page is scrolling, which is obviously not what we want.

Right now it lead to same issue as interactions with one finger - hang.

RussianNeuroMancer avatar Feb 06 '19 12:02 RussianNeuroMancer

Thanks. That is weird. Could you please test this new build? I haven't changed anything, but I added some debug messages. Run it in the terminal, touch and move somewhere on the page and post the output from the terminal.

https://www.dropbox.com/s/h99kwrv5ruz28lg/MrWriter-git.1e906b3-x86_64.AppImage?dl=0

unruhschuh avatar Feb 06 '19 21:02 unruhschuh

@unruhschuh I launched this build, touch menu Page, touch menu item "Page Settings", program hang here. There is all output to terminal:

~$ ./MrWriter-git.1e906b3-x86_64.AppImage 
QPixmap::setMask() mask size differs from pixmap size
show event
Killed

RussianNeuroMancer avatar Feb 20 '19 02:02 RussianNeuroMancer

Is there a way to disable pressure sensitivity while i use my graphics pad on MrWriter? Ther's no settings tab to remove it?

kelumkel avatar Mar 02 '21 07:03 kelumkel