Skip to content

Mouse cursor shape does not update in Chrome #1400

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

Open
rotech opened this issue Apr 6, 2025 · 9 comments
Open

Mouse cursor shape does not update in Chrome #1400

rotech opened this issue Apr 6, 2025 · 9 comments
Labels
bug Something isn't working question Further information is requested

Comments

@rotech
Copy link

rotech commented Apr 6, 2025

The mouse cursor does not update in Chrome. For example when hovering over links the mouse pointer does not change to the "finger", or the I-beam when over a text field.

When using a web based application with a lot of cursor changes (e.g. OnShape) it is particularly noticeable that some changes work, and others don't. Often Chrome will get completely stuck on the pointer shape with no changes at all.

This does not happen in Sway.

niri 25.02 (unknown commit)
Arch linux, niri install from system package (which is downloaded via the 25.02 tag)

@rotech rotech added the bug Something isn't working label Apr 6, 2025
@YaLTeR
Copy link
Owner

YaLTeR commented Apr 7, 2025

Does it occur on other compositors? Cosmic, sway, kwin

@YaLTeR YaLTeR added the question Further information is requested label Apr 7, 2025
@rotech
Copy link
Author

rotech commented Apr 7, 2025

Doesn't happen in sway or cosmic. Haven't tried kwin.

@YaLTeR
Copy link
Owner

YaLTeR commented Apr 7, 2025

Are you running Chrome on Wayland on other compositors? It might be running on XWayland

@rotech
Copy link
Author

rotech commented Apr 7, 2025

Definitely on wayland. I'll run it through xwayland-satellite and see if it's the same maybe?

Window ID 2:
  Title: "Mouse cursor shape does not update in Chrome · Issue #1400 · YaLTeR/niri - Google Chrome"
  App ID: "google-chrome"
  Is floating: no
  PID: 5931
  Workspace ID: 1

@YaLTeR
Copy link
Owner

YaLTeR commented Apr 7, 2025

That's on niri, but on other compositors? They have built-in XWayland so it may run on XWayland there

@rotech
Copy link
Author

rotech commented Apr 7, 2025

After doing more testing I have discovered it happens after waking from suspend. Only on niri under wayland. Sway etc work fine, and if I force Chrome to run in xwayland under niri it works fine.

@YaLTeR
Copy link
Owner

YaLTeR commented Apr 7, 2025

Hm, that's weird. Not sure then. Could even be a driver bug

@Queuecumber
Copy link

I'm also seeing this in the Cursor IDE (which is written in electron so likely related), lmk how I can help debug

@rotech
Copy link
Author

rotech commented Apr 8, 2025

Done a bit more testing, and it's definitely not happening on Cosmic, so unlikely to be smithay related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants