Skip to content

Helper processes don't quit #3421

@Banaantje04

Description

@Banaantje04

Describe the bug

Helper processes that (I think) serve the clipboard content don't quit after another clipboard item is copied or selected from Copyq. Thus leaking processes.

To Reproduce

Repeatedly select an item from Copyq.

Expected behavior

The helper process should quit as soon as another item is selected or other data is copied.

Screenshots

I can't seem to upload any screenshots, but this is the process list after spamming a couple of times.

 643567 user       20   0  878M 86232 58624 S   0.0  0.5  0:01.08 22:15.34 │     ├─ /usr/bin/copyq
 656478 user       20   0  430M 52340 44444 S   0.0  0.3  0:00.35  0:25.38 │     │  ├─ /usr/bin/copyq --clipboard-access monitorClipboard
 644475 user       20   0  419M 47816 42356 S   0.0  0.3  0:00.09 20:11.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644516 user       20   0  419M 48128 42680 S   0.0  0.3  0:00.09 20:10.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644533 user       20   0  419M 47592 42148 S   0.0  0.3  0:00.12 20:09.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644549 user       20   0  419M 48276 42812 S   0.0  0.3  0:00.09 20:08.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644565 user       20   0  419M 48196 42740 S   0.0  0.3  0:00.13 20:07.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644585 user       20   0  419M 48052 42596 S   0.0  0.3  0:00.08 20:06.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644624 user       20   0  419M 48400 42932 S   0.0  0.3  0:00.09 20:05.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644643 user       20   0  419M 47808 42356 S   0.0  0.3  0:00.09 20:02.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 650360 user       20   0  430M 52192 44352 S   0.0  0.3  0:00.13 11:50.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 655358 user       20   0  430M 52072 44236 S   0.0  0.3  0:00.10  2:06.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 655458 user       20   0  430M 53160 44440 S   0.0  0.3  0:00.09  1:59.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideClipboard
 644384 user       20   0  419M 48216 42756 S   0.0  0.3  0:00.09 20:16.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644424 user       20   0  419M 48480 43016 S   0.0  0.3  0:00.12 20:15.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644442 user       20   0  419M 47860 42412 S   0.0  0.3  0:00.09 20:14.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644459 user       20   0  419M 48252 42780 S   0.0  0.3  0:00.08 20:13.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644476 user       20   0  419M 47748 42296 S   0.0  0.3  0:00.09 20:11.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644517 user       20   0  419M 48180 42704 S   0.0  0.3  0:00.09 20:10.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644534 user       20   0  419M 47712 42252 S   0.0  0.3  0:00.12 20:09.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644550 user       20   0  419M 48240 42780 S   0.0  0.3  0:00.09 20:08.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644566 user       20   0  419M 48360 42888 S   0.0  0.3  0:00.11 20:07.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644586 user       20   0  419M 48164 42708 S   0.0  0.3  0:00.09 20:06.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644625 user       20   0  419M 48600 42900 S   0.0  0.3  0:00.10 20:05.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 644644 user       20   0  419M 47660 42208 S   0.0  0.3  0:00.08 20:02.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 650361 user       20   0  429M 51936 44340 S   0.0  0.3  0:00.13 11:50.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 655361 user       20   0  430M 52320 44496 S   0.0  0.3  0:00.09  2:06.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 655459 user       20   0  429M 51672 44296 S   0.0  0.3  0:00.09  1:59.38 │     │  ├─ /usr/bin/copyq --clipboard-access provideSelection
 643588 user       20   0  130M 43108 33840 S   0.0  0.3  0:00.09 21:29.38 │     │  └─ /usr/bin/copyq eval -- runMenuCommandFilters()

Version, OS and Environment

  • CopyQ Clipboard Manager 13.0.0
  • Qt: 6.10.0
  • KNotifications: 6.19.0
  • Compiler: GCC
  • Arch: x86_64-little_endian-lp64
  • OS: Arch Linux
  • WM: Sway
  • Installation method: Package from the official Arch repo.

Additional context

Here's the log since the most recent startup, though I don't think there's anything relevant in there. Even the crashes seems to be a different process from the leaked ones.

[2026-02-09 10:22:39.253] Warning <Server-1394>: [qt.svg] link #path2410 is undefined!
[2026-02-09 10:22:39.260] Note <Server-1394>: Starting server: CopyQ 13.0.0
[2026-02-09 10:22:39.593] Warning <cmd/monitorClipboard-1701>: [qt.qpa.services] Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for ''")
[2026-02-09 10:22:39.804] Warning <Server-1394>: [qt.qpa.services] Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
[2026-02-10 21:45:44.336] Warning <cmd/monitorClipboard-1701>: Aborting clipboard cloning: Data deleted
[2026-02-10 21:45:49.128] Note <Server-1394>: Command “copyq --clipbo…nitorClipboard”
[2026-02-10 21:45:49.128] Note <Server-1394>:    Error: Process crashed
[2026-02-10 21:45:49.128] Note <Server-1394>:    1. copyq --clipboard-access monitorClipboard
[2026-02-11 16:03:52.917] Note <Server-1394>: Command “copyq --clipbo…nitorClipboard”
[2026-02-11 16:03:52.917] Note <Server-1394>:    Error: Process crashed
[2026-02-11 16:03:52.917] Note <Server-1394>:    1. copyq --clipboard-access monitorClipboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    WaylandRelates to Wayland protocolbughelp wantedNeeds a volunteer to investigate/implement the issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions