Skip to content

Copying from an Xwayland app disables recording clipboard history until the server is restarted #1031

@MrStickyPiston

Description

@MrStickyPiston

System information

  • Version: v0.19.3 (d2f38c2)
  • Build info: GCC 15.2.0 - Release
  • Provenance: nix
  • OS: NixOS 25.11 (Xantusia) - 25.11
  • QT Platform: wayland
  • DE: Hyprland/Wayland

Describe the bug

Copying from a Xwayland window results in the clipboard being blocked until the server is manually restarted. The other vicinae features still work in the meantime, and its also possible to select clipboard entries in the menu and copy those to the currently selected entry.

To Reproduce

  1. Open a wayland application, such as IntelIJ IDEA.
  2. Copy something. It does not get copied to the clipboard.
  3. Copying something else (non-Xwayland) also does not work anymore.

Expected behavior

In the first place i expect the clipboard not to be blocked when copying fails. Additionally, i would expect to be able to copy from Xwayland in the first place.

Additional context

Logs

jan 29 16:41:20 NixUSB systemd[2521]: Started Vicinae server daemon.
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.280] INFO   -  Detected launch prefix: "uwsm-app --" 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.287] INFO   -  Activated clipboard server "wlr-clipboard" 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.318] INFO   -  Killed existing extension manager instance 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.319] INFO   -  Started extension manager /run/user/1000/vicinae/extension-manager.js with /nix/store/nvf9kaarb9kqqdbygl9cbzhli1y8yjik-nodejs-22.20.0/bin/node 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.321] INFO   -  Starting clipboard server "wlr-clipboard" 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.321] INFO   -  Killed existing wlr-clip instance 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.322] INFO   -  Clipboard server "wlr-clipboard" started successfully. 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.322] INFO   -  Starting incremental scan for entrypoint /home/sticky 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.400] INFO   -  Started "Qalculate!" calculator backend 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.401] INFO   -  Refreshing Qalculate exchange rates... 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.539] WARN   -  Ignoring icon theme directory with no index.theme at /home/sticky/.icons/default.backup-20260107092529/index.theme 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.539] WARN   -  Ignoring icon theme directory with no index.theme at /nix/store/m9cxs6g664b94djfkl0xgxbii9h4dd03-vicinae-0.19.3/share/icons/hicolor/index.theme 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.539] WARN   -  Ignoring icon theme directory with no index.theme at /nix/store/apw386d39c4imw0ijw18s8k9m1f5nkdx-cups-2.4.14/share/icons/hicolor/index.theme 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.540] WARN   -  Ignoring icon theme directory with no index.theme at /etc/profiles/per-user/sticky/share/icons/hicolor/index.theme 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.550] INFO   -  Vicinae server successfully started. Call "vicinae toggle" to toggle the window 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  Received new clipboard selection with 5 offers 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  "text/_moz_htmlcontext" (size="1.23 KB", password=false) 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  "text/_moz_htmlinfo" (size="6 bytes", password=false) 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  "text/html" (size="463 bytes", password=false) 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  "text/plain;charset=utf-8" (size="215 bytes", password=false) 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  "text/x-moz-url-priv" (size="94 bytes", password=false) 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.625] INFO   -  A similar clipboard selection is already indexed: moving it on top of the history 
jan 29 16:41:20 NixUSB vicinae[176504]: [16:41:20.647] INFO   -  Done refreshing exchange rates 
jan 29 16:41:33 NixUSB vicinae[176504]: [16:41:33.011] INFO   -  Done walking file tree at /home/sticky. Processed 71382 directories and 481332 files in 12 seconds. 
jan 29 16:41:40 NixUSB vicinae[176504]: [16:41:40.425] INFO   -  Received new clipboard selection with 1 offers 
jan 29 16:41:40 NixUSB vicinae[176504]: [16:41:40.425] INFO   -  "text/plain;charset=utf-8" (size="404 bytes", password=false) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions