lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
927 stars 36 forks source link

[CLOSED, USER ERROR ]Unresponsive to Touchscreen Interaction (wlroots) #70

Closed taylor85345 closed 1 year ago

taylor85345 commented 1 year ago

Rofi version (rofi -v)

1.7.5+wayland1-38-gfd0ef6bc (makepkg)

Configuration

https://gist.github.com/taylor85345/669b8b6f1121fa81a1b479279ebcce03

Theme

https://gist.github.com/taylor85345/71d616a5a1c7f5cb0eb6200c1c84d0bf

Timing report

No response

Launch command

rofi -show drun

Step to reproduce

  1. Install the lbonn fork of Rofi on a device with a touchscreen, running any wlroots-compositor with touchscreen functionality.
  2. Launch any Rofi interface in your wlroots compositor of choice, for example via rofi -show drun, ensuring that the application does NOT launch in X11 mode.
  3. Attempt to interact with the Rofi interface via the touchscreen.

Expected behavior

Rofi interface should respond to touch input similarly to mouse input.

Actual behavior

Touch input is captured by the Rofi layer (i.e. not passed through to a window below), but the input is ignored entirely.

Additional information

Tested on MS Surface Book running Arch Linux with linux-surface kernel and drivers.

Sway, River and Hyprland compositors tested, KDE and Gnome untested.

Successful touchscreen interaction is observed in other layersurface applications (eww, waybar, dunst) when running under compositors with touchscreen support, so the protocol does support it.

taylor85345 commented 1 year ago

Closing this as I was mistaken about the bug. I am confident that I tested this outside of Hyprland in the past and it didn't work, but I tested Sway again tonight and touchscreen input worked perfectly, so this must actually be a hyprland bug.