Skip to content

window focus changes after use copy-to-system-clipboard function in helix. #1021

@xcpky

Description

@xcpky

Describe the bug
When I use helix(an modal editor similar to vim), and press space + y (copy to system clipboard),
the window of the terminal loses focus and get the focus immediately. I can tell it from the window
border flicker and the cursor effect on the browser in the video below. Also if I fullscreen the terminal
and press space + y, then the window will get out of fullscreen and immediate get fullscreened.

To Reproduce
Steps to reproduce the behavior:

  1. open a terminal and open helix
  2. press space + y
  3. to make the effect obvious we can fullscreen the terminal.

Expected behavior
no focus change

Screenshots

Screencast.From.2025-04-12.18-04-35.mp4

System information:

Distribution: Arch Linux
GNOME Shell: 48.0
Display server: Wayland
PaperWM version: 48.0.0
Enabled extensions:
- kimpanel@kde.org
- blur-my-shell@aunetx
- nightthemeswitcher@romainvigier.fr
- weatheroclock@CleoMenezesJr.github.io
- clipboard-indicator@tudmotu.com
- paperwm@paperwm.github.com
- switcher@landau.fi
- legacyschemeautoswitcher@joshimukul29.gmail.com
- drive-menu@gnome-shell-extensions.gcampax.github.com
- system-monitor@gnome-shell-extensions.gcampax.github.com

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesirable behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions