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

On Linux either the mouse pointer is not visible or not changing #14862

Closed
1 task done
hammadmajid opened this issue Jul 20, 2024 · 6 comments
Closed
1 task done

On Linux either the mouse pointer is not visible or not changing #14862

hammadmajid opened this issue Jul 20, 2024 · 6 comments
Labels
linux mouse interaction Feedback for mouse interaction states, actions, etc support User support (non-defect troubleshooting, documentation, etc)

Comments

@hammadmajid
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

On Linux, the mouse pointer either remains invisible or fails to change to other pointers like select or resize. Please see the recording below for a demonstration.

Observation/Reproduction

  • The mouse pointer never changes for me.
  • The mouse pointer's invisibility appears to be random, I didn't notice any pattern every time pointer went invisible.

Possible similar issue: #13258 ?

Environment

Zed: v0.144.4 (Zed)
OS: Linux Wayland arch unknown
Memory: 7.6 GiB
Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screencast.from.2024-07-20.15-53-00.webm

If applicable, attach your Zed.log file to this issue.

Found relevant logs related to Wayland cursor. Almost 80% of log file is this

Zed.log
2024-07-20T16:02:44.46382699+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:02:47.480992442+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:02:53.972211982+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:02:54.862928516+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:02:55.435338194+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:02:55.711079273+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-07-20T16:03:08.073379479+05:00 [WARN] Linux: Wayland: Unable to get default cursor too!
@hammadmajid hammadmajid added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels Jul 20, 2024
@ukizet
Copy link

ukizet commented Jul 22, 2024

I have the same issue (nixos)

@apricotbucket28
Copy link
Contributor

Hmm... it's unable to find any cursors in the cursor theme.

What's the output of gdbus call -e -d org.freedesktop.portal.Desktop -o /org/freedesktop/portal/desktop -m org.freedesktop.portal.Settings.Read '"org.gnome.desktop.interface"' '"cursor-theme"'?

@hammadmajid
Copy link
Author

What's the output of gdbus call -e -d org.freedesktop.portal.Desktop -o /org/freedesktop/portal/desktop -m org.freedesktop.portal.Settings.Read '"org.gnome.desktop.interface"' '"cursor-theme"'?

(<<'breeze_cursors'>>,)

@apricotbucket28
Copy link
Contributor

What's the output of gdbus call -e -d org.freedesktop.portal.Desktop -o /org/freedesktop/portal/desktop -m org.freedesktop.portal.Settings.Read '"org.gnome.desktop.interface"' '"cursor-theme"'?

(<<'breeze_cursors'>>,)

That's definitely an issue. From your video it seems like the rest of your desktop is using the default Gnome cursors, but your cursor theme is set to the KDE one. Could you install Gnome Tweaks and change the cursor theme back to the Adwaita one?

@hammadmajid
Copy link
Author

hammadmajid commented Jul 22, 2024

I didn't change anything in Gnome tweaks as cursor was already set to Adwaita (default) but I did run this command

gsettings set org.gnome.desktop.interface cursor-theme 'Adwaita'

And that seems to fix the issue I guess

Screencast.from.2024-07-22.17-33-38.webm

...your cursor theme is set to the KDE one.

For context I was using KDE Plasma 6 a week ago and then I switched to Gnome

@megatux
Copy link

megatux commented Jul 23, 2024

Same issue here, Wayland Nobara Linux w/breeze_cursors, changing it back to 'Adwaita' fixed the issue.

For me, the issue was about not updating the cursor when entering inside the editor window. The former cursor icon was kept, most of the times, the resize-window icon.

@notpeter notpeter added mouse interaction Feedback for mouse interaction states, actions, etc linux and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 26, 2024
@notpeter notpeter added support User support (non-defect troubleshooting, documentation, etc) and removed defect [core label] labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux mouse interaction Feedback for mouse interaction states, actions, etc support User support (non-defect troubleshooting, documentation, etc)
Projects
None yet
Development

No branches or pull requests

5 participants