Skip to content

Handling of primary selections depends on "automatic commands" option #2651

@weiss

Description

@weiss

Describe the bug
For primary selections to be stored in the history, it seems the Run automatic commands on selection (run_selection) option must be enabled in addition to the Store text selected using mouse (check_selection) option.

To Reproduce

copyq config check_selection true
copyq config run_selection false

Then select a few items with the mouse, and see how those weren't added to the history:

copyq read 0 1

Expected behavior
I'd expect copyq read 0 1 to list items selected with the mouse regardless of the copyq config run_selection value.

Version, OS and Environment
CopyQ Clipboard Manager 6.4.0
Qt: 5.15.8
KNotifications: 5.101.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Debian GNU/Linux 12 (bookworm)

I was able to reproduce the behavior both on Wayland and X11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions