Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input-leap client (libei) captures screen enter / leave, but does not update cursor or issue keypresses #4518

Closed
bennypowers opened this issue Jan 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bennypowers
Copy link

bennypowers commented Jan 23, 2024

Hyprland Version

System/Version info
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d  (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0

flags: (if any)

Bug or Regression?

Bug

Description

an input-leap server, using libei, is running on a fedora 39 GNOME desktop

when connecting to that server from hyprland, the input-leap log shows that the client is aware when the mouse pointer enters and leaves the screen, but the cursor does not move on the client screen, and no keypresses are entered into app windows

How to reproduce

  1. the gentoo ebuild for input-leap-9999 is broken atm, but i used it to get all the dependencies (USE libei globally).
  2. on the client, build input-leap from source
INPUTLEAP_BUILD_LIBEI=ON ./clean_build.sh && sudo cmake --install build
  1. run input-leap and connect to the server
  2. move the server's pointer to the appropriate screen edge

Crash reports, logs, images, videos

observe the client's input-leap log:

connected to server
[2024-01-23T20:20:21] INFO: entering screen
[2024-01-23T20:20:21] INFO: clipboard was updated
[2024-01-23T20:20:21] INFO: clipboard was updated
[2024-01-23T20:20:27] INFO: leaving screen
[2024-01-23T20:20:27] INFO: entering screen
[2024-01-23T20:20:27] INFO: leaving screen
[2024-01-23T20:25:50] INFO: entering screen
[2024-01-23T20:25:51] INFO: leaving screen

and the server's input-leap log:

[2024-01-23T20:42:51] INFO: switch from "server" to "client" at 1,1027
[2024-01-23T20:42:51] INFO: leaving screen
      ... | �[0;1;39mDEBUG�[0m | dispatching ei_pointer.motion_relative() on object 0xff00000000000004
      ... | �[0;1;39mDEBUG�[0m | queuing pending event type EI_EVENT_POINTER_MOTION (300)
      ... | �[0;1;39mDEBUG�[0m | dispatching ei_device.frame() on object 0xff00000000000003
      ... | �[0;1;39mDEBUG�[0m | queuing event type EI_EVENT_FRAME (100)
@bennypowers bennypowers added the bug Something isn't working label Jan 23, 2024
@killown
Copy link

killown commented Jan 24, 2024

if this leap thing requires org.freedesktop.portal.RemoteDesktop, hyprland still has no support

@bennypowers
Copy link
Author

@bennypowers bennypowers closed this as not planned Won't fix, can't repro, duplicate, stale Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants