blackhole89 / notekit

A GTK3 hierarchical markdown notetaking application with tablet support.
GNU General Public License v3.0
1.43k stars 60 forks source link

Drag with capacitive touchscreen scrolls the view and doesn't write #18

Open ARR8 opened 4 years ago

ARR8 commented 4 years ago

Hi,
Very promising program! As someone who uses Xournal daily, I will be watching development here closely.

I've written a quick and dirty PKGBUILD to test this out. Unfortunately, GTK3, while it does recognize capacitive touch screens, only allows them to scroll - whatever mechanism it uses for writing seems to expect a pen or stylus. Unfortunately, that means that those of us with older/cheaper devices can't use this program.

Xournal++, another GTK3 program, added a touch "workaround mode" that fixed the same problem. Any chance of doing the same? Thanks.

PS: if it helps, my touch screen shows up as "Atmel maXToutch Digitizer." It works as intended with GTK2 programs, such as the original Xournal.

blackhole89 commented 4 years ago

I think this may be a consequence of Gtk3's "gesture management" hijacking touch events. I'm looking at whether there's a way to switch it off completely; if not, I might see if I can Xournal's solution.