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

Duplicate keystrokes on linux after suspend #11966

Closed
1 task done
miwig opened this issue May 17, 2024 · 1 comment · Fixed by #12514
Closed
1 task done

Duplicate keystrokes on linux after suspend #11966

miwig opened this issue May 17, 2024 · 1 comment · Fixed by #12514
Labels
defect [core label] linux workspace Feedback for workspace management, layout, interactions, etc

Comments

@miwig
Copy link

miwig commented May 17, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

  1. Open Zed
  2. Put the computer into suspend
  3. Wake the computer
  4. Type into any text input in Zed (editor, search, terminal, collab panel, chat)
  5. Keystrokes are duplicated: characters appear twice
  6. This also applies to additional windows created with Ctrl+O, but not to any applications other than Zed

Environment

Zed: v1.0.0 (Zed Dev c1e291b)
OS: Linux 1.0.0
Memory: 30.6 GiB
Architecture: x86_64

Gnome 46 on wayland

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

@miwig miwig added admin read Pending admin review defect [core label] triage Maintainer needs to classify the issue labels May 17, 2024
@bbb651
Copy link
Contributor

bbb651 commented May 17, 2024

I don't have suspend working on my system so I can't really test it, but it sounds like it's creating a duplicate seat, as we don't have multi-seat handling maybe adding a

if let Some(wl_pointer) = &state.wl_pointer {
    wl_pointer.release();
}

before this line would fix it? I found the same issue in wezterm and this commit fixed it but I don't really understand the code..

@JosephTLyons JosephTLyons added workspace Feedback for workspace management, layout, interactions, etc linux and removed triage Maintainer needs to classify the issue admin read Pending admin review labels May 17, 2024
mikayla-maki added a commit that referenced this issue Jun 1, 2024
mikayla-maki added a commit that referenced this issue Jun 1, 2024
mikayla-maki added a commit that referenced this issue Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] linux workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants