djinnalexio / eye-on-cursor

:eye: Add eyes to you GNOME panel that constantly follow your mouse. Mouse tracker included.
https://extensions.gnome.org/extension/7036/eye-on-cursor/
GNU General Public License v3.0
5 stars 0 forks source link

Issues with tracker #1

Closed yashoswalyo closed 4 months ago

yashoswalyo commented 4 months ago

Screencast from 2024-05-29 19-59-08.webm

Session: Gnome 46 Wayland

yashoswalyo commented 4 months ago

Can you add click effect like this

https://github.com/djinnalexio/eye-on-cursor/assets/42431299/0364ec92-4aaf-41ab-bfbc-0b9d728eabb0

djinnalexio commented 4 months ago
  • The tracker doesn't show up on window menu

I'll see what I can do. It is an issue since the old extension.

  • Click effect is only working on desktop

That's one of the known issues listed in the README. Basically, on Wayland, events are routed differently than on x11, and mouse clicks that happen in a window only happen in that window. Eye and Mouse Extended only used Atspi to listen to mouse clicks, which doesn't work at all on Wayland. That's the root of this issue. That's why on Wayland, this extension resorts to listening with globe.stage instead, with its caveat that only clicks in the Shell (background, panel, etc.) are registered.

  • Can you add click effect like this

Reimplementing the ripple animation is possible. I'll try to make it part of the changes for the next update.

yashoswalyo commented 4 months ago
  • I'll see what I can do. It is an issue since the old extension. . .
  • Reimplementing the ripple animation is possible. I'll try to make it part of the changes for the next update.

Thank you

That's one of the known issues listed in the README. Basically, on Wayland...

Is there absolutely no way to get clicks from windows in wayland now?

djinnalexio commented 4 months ago

Is there absolutely no way to get clicks from windows in Wayland now?

I searched and asked around and it's part of the drawbacks that is just accepted when it comes to Wayland. I don't think there's a way for GNOME extensions to circumvent those restrictions.

djinnalexio commented 4 months ago

https://github.com/djinnalexio/eye-on-cursor/releases/tag/v1.1.0

Update published. Points 1 and 3 have been taken care of.

The click on Wayland issue doesn't seem to be addressable here at the moment so I'll be putting it aside.