DrawOnYourScreen2 icon indicating copy to clipboard operation
DrawOnYourScreen2 copied to clipboard

[BUG] Not receiving touch event

Open michalmielczynski opened this issue 3 years ago • 8 comments

Hey, I've seen a short note in README.md that touch support is ... planned? Any chance to know if/when this can be implemented. I'm looking myself into the code but this is completely new field - I don't even know where to start.

michalmielczynski avatar Nov 27 '22 18:11 michalmielczynski

Touch works. The issue is that you can't open or exit the extension by touch you'll need the keyboard as it is toggled by shortcuts.

I've been thinking about a button in quick settings (Shell >43) but as I don't have a touch screen to try it i can't be sure if its the best option. Any thoughts?

zhrexl avatar Nov 27 '22 18:11 zhrexl

hm, I'm not sure if I understand what you've said. I can normally open/enter the extension with Super+Alt+D key, draw using mouse or touchpad, but not using the touchscreen. Maybe I should be more specific in first post - extension works great except when I'm trying to draw with my finger (on touchscreen).

michalmielczynski avatar Nov 27 '22 18:11 michalmielczynski

I can normally open/enter the extension with Super+Alt+D key, draw using mouse or touchpad, but not using the touchscreen.

ok, i was led to believe that touch was working fine. I'll review that part of the code to see if I can get to the root cause of it next week. Thanks for your report.

zhrexl avatar Nov 27 '22 18:11 zhrexl

that would be fantastic. I've found the touch branches here, but honestly I'm not able to perform any changes/tests, as my knowledge of Gnome extension development is very limited.

michalmielczynski avatar Nov 27 '22 19:11 michalmielczynski

ok, if that's any of help, I was testing the extension with nested gnome-shell session, and it works there fine. The problem is that on 'native' gnome-shell touch event is not working.

I'm running nested shell with this command: env GNOME_SHELL_SLOWDOWN_FACTOR=2 MUTTER_DEBUG_DUMMY_MODE_SPECS=1440x900 dbus-run-session -- gnome-shell --ne

michalmielczynski avatar Nov 28 '22 16:11 michalmielczynski

ok, if that's any of help, I was testing the extension with nested gnome-shell session, and it works there fine. The problem is that on 'native' gnome-shell touch event is not working.

The nested session is usually wayland. The 'native' session is wayland or x11?

zhrexl avatar Nov 28 '22 16:11 zhrexl

yes, all Wayland.

michalmielczynski avatar Nov 28 '22 19:11 michalmielczynski

may I add, that any sort of activation without the need of a keyboard would be great.

mlo-poc avatar Mar 09 '23 17:03 mlo-poc