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

Cursor hiding on broken on Wayland #5071

Closed
abatkin opened this issue Feb 25, 2024 · 3 comments
Closed

Cursor hiding on broken on Wayland #5071

abatkin opened this issue Feb 25, 2024 · 3 comments
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.

Comments

@abatkin
Copy link

abatkin commented Feb 25, 2024

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

KDE/Plasma

WezTerm version

20240221_075452_95581d86

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

Cursor hiding does not work.

In addition, every keypress generates the following log entry:

ERROR window::os::wayland::window > set_cursor: Cursor not found

Disabling cursor hiding makes the error go away.

To Reproduce

Run Wezterm, press a key

Configuration

This happens with an empty configuration.

Expected Behavior

No response

Logs

No response

Anything else?

This is from a freshly installed Wezterm from the COPR on Fedora 39. KDE/Plasma, AMD graphics card, Wayland.

#4948 looks interesting (since it's the only open issue I can find that mentions the same log entry) so maybe this is a dupe and I'm lucky that it doesn't panic?

Anyway, happy to help debug if I can.

@abatkin abatkin added the bug Something isn't working label Feb 25, 2024
@timon-schelling
Copy link

timon-schelling commented Feb 25, 2024

Same problem for me.
Wezterm is also really unresponsive until I move the mouse, sometimes it freezes completely.

Workaround: The error disappears if hide_mouse_cursor_when_typing is set to false.

I'm using a option of my Wayland compositor (Hyprland) that hides the mouse cursor after a some time (cursor_inactive_timeout = 3).

As i understand it, when the compositor hides the cursor wezterm is unable to grab it to set it as hidden. https://github.com/wez/wezterm/blob/95581d8697f3749f84ccb1402ac94ea6582b227f/window/src/os/wayland/window.rs#L897L920

@wez
Copy link
Owner

wez commented May 4, 2024

Fixed by #5276

@wez wez closed this as completed May 4, 2024
@wez wez added the fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. label May 4, 2024
Copy link
Contributor

github-actions bot commented Jun 4, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants