Skip to content

wl-copy spawns a window when focus stealing prevention is set to medium in kde plasma 6.5 #268

@renner0e

Description

@renner0e

KDE bug report with reproduction steps:

I'm happy to provide logs or additional information if necessary.

https://bugs.kde.org/show_bug.cgi?id=509277

SUMMARY
If you copy/paste with wl-clipboard, wl-copy/wl-paste a window gets spawned

STEPS TO REPRODUCE

  1. systemsettings > window behavior > focus stealing prevention > set to medium, apply
  2. echo test | wl-copy

OBSERVED RESULT
An invisible window called wl-clipboard gets spawned and nothing gets copied/pasted from/to the clipboard.
If you click on the blank window icon in the panel, the clipboard action will be executed and the window is closed.

EXPECTED RESULT
the content gets copied/pasted into the system clipboard immediately without user interaction

ADDITIONAL INFORMATION
rolling back KWin on my heavily customized Fedora Kinoite image to
fd75e3aba30918191f9e885664ba52999868c0c5 and restarting kwin fixes it, this is the last working version I tested

first broken commit that I tested:
4a1f9bb5621d5bbcca71da0b4d23f1877e3d38db

wl-clipboard 2.2.1

I reproduced the issue on a rather fresh KDE Linux VM and also on my custom kinoite image
updatectl says this kde linux version:
202509060254

You need kwin from master branch, it cannot be reproduced on a current stable release; get it with kde linux or wait until 6.5 is out I guess.

Screencast_20250908_174759.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions