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

Weird cursor behavior #20542

Open
1 task done
gro-david opened this issue Nov 12, 2024 · 2 comments
Open
1 task done

Weird cursor behavior #20542

gro-david opened this issue Nov 12, 2024 · 2 comments
Labels
bug [core label] editor Feedback for code editing, formatting, editor iterations, etc workspace Feedback for workspace management, layout, interactions, etc

Comments

@gro-david
Copy link

gro-david commented Nov 12, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The mouse cursor behaves very weirdly in Zed. The cursor of the last window will get used no matter what happens. If for example you are typing in another window (your cursor then may disappear depending on your settings) and then switch to the Zed window Zed will just simply keep the cursor style even though you are not typing and trying to move the mouse instead. When trying to resize different panels Zed also does not change the cursor to the arrow style cursor and just keeps the one from before.

Uploading Screencast From 2024-11-12 15-59-05.mp4…

Environment

Zed: v0.160.2 (Zed Preview)
OS: Linux Wayland arch unknown
Memory: 14.9 GiB
Architecture: x86_64
GPU: AMD Radeon Graphics (RADV GFX1103_R1) || radv || Mesa 24.2.6-arch1.1

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

No response

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

Zed.log

@gro-david gro-david added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Nov 12, 2024
@JosephTLyons JosephTLyons added workspace Feedback for workspace management, layout, interactions, etc editor Feedback for code editing, formatting, editor iterations, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Nov 15, 2024
@strowk
Copy link
Contributor

strowk commented Dec 11, 2024

I have noticed similar behavior using Ubuntu 24.04 with X11, so this is not Wayland specific. I also have a workaround for this. I have typically several screens. If I move zed window to another screen using shortcut, it would fix the issue and cursor would start behaving as expected. Another way of fixing it is to minimize zed window, then move cursor outside of it, and back. After that window can be maximized and issue does not return anymore.

@mrvladus
Copy link

mrvladus commented Dec 28, 2024

Same on Ubuntu 24.04 Wayland. But it only happens if I launch it from dock. If I run it from terminal or clicking binary in file manager it's woking as it should. I run it from podman container though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] editor Feedback for code editing, formatting, editor iterations, etc workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests

4 participants