Skip to content

Releases: hluk/CopyQ

13.0.0

22 Oct 09:53
v13.0.0

Choose a tag to compare

Added

  • Windows: Preferences now include auto-start option, previously available only
    in the installer.

Changed

  • Tabs synchronized with a directory on the disk will now include files from
    sub-directories (#2638).

  • Filtering/searching items in large tabs no longer blocks UI (#3111, #3261).

Fixed

  • Fixes saving edited HTML and setting style in internal editor (#3227).

  • Fixes updating selected item colors (#3219).

  • Wayland: Fixes clipboard access in KDE Plasma 6.5 (#3228). This requires
    KGuiAddons library installed on the system.

12.0.1

30 Sep 13:54
v12.0.1

Choose a tag to compare

Fixed

  • X11: Fixes registering global shortcuts with modifiers (#3212).

  • macOS: Fixes providing builds for Intel architecture.

  • Fixes maximum length for session name (it is 16 characters as the error
    message says, not 15).

12.0.0

29 Sep 09:19
v12.0.0

Choose a tag to compare

Added

  • Wayland: Global shortcuts are now registered using Portal if available.

  • Black theme (#3142). Thanks to @FadeMind.

  • Adds attributes for controlling the dialog window created via dialog()
    (#2947): .onTop makes the dialog stay on top of other windows, .modal
    makes the dialog modal (blocks interaction with other windows in the
    application until closed).

  • Adds support showing icon font symbol in notes using
    application/x-copyq-item-icon format.

  • Adds support for setting colors in theme files by name. For example:
    edit_bg=white.

Changed

  • Temporary tabs that are not stored on disk will now not expire if
    configuration changes (#3172).

  • Pinned and locked items will not be dropped if tab size (maximum item count)
    changes (#3008).

  • The app now propagates exit code properly if it is aborted or receives a
    Unix signal (SIGINT, SIGTERM).

  • Support for Qt older than 5.15 has been dropped.

  • The build now uses Qt 6 by default. Use cmake -DWITH_QT6=OFF ... to build
    the app for Qt 5.

  • Windows: The application will be now hidden from screenshots and screen
    recordings by default (#3165). This can be disabled using option "Hide from
    screenshots and recordings".

  • Logs are now stored in multiple files based on the process and the log
    records have a slightly different format (start with timestamp).

Fixes

  • Drops unsafe sanitizing QTextDocument fonts (#3156). Qt 6 should handle any
    rich texts safely now.

  • Logging now does not use lock files and avoids crashes if the application
    loop was not yet started.

  • Avoids resetting properties of a tab if it is renamed.

  • Fixes setting color for item counter (#2717).

  • Fixes editing and providing UTF-8 text by default (#3093).

  • Fixes updating item preview if when window is shown.

  • Fixes changing synchronization directory for a tab.

  • Fixes possible crash if calling a function with unexpected function argument.

  • Fixes background of the command line in some themes in FakeVim plugin.

  • Fixes renaming tabs with item storing disabled.

  • Avoids collapsing tab in the tab tree after it is moved.

  • Fixes item counter value after moving the tab in the tab tree.

  • Fixes moving tab group with items in the tab tree.

  • Linux: Fixes storing the first clipboard change after starting the app and
    modifying configuration.

  • Linux: Avoids exiting on commit data request from the session manager (#3145).

11.0.0

22 Aug 08:35
v11.0.0

Choose a tag to compare

Added

  • Adds support for dark/light window title scheme.

  • New frameless_window option (#2570) toggles the main window frame and title
    bar (if supported by the window manager):

    copyq toggleConfig frameless_window
    
  • Adds support for localizing command names in the command INI files (#3032):

    [Command]
    Name = ...
    Name_cs = ...
    Name_fr = ...
    Name_pt_BR = ...
    Name_pt = ...
    
  • Adds support for showing preview for more image formats
    (namely ico and webp).

  • Adds support for more complex network requests in scripts. New
    NetworkRequest class can be used to set custom headers, HTTP method, number
    of allowed redirects and timeout.

Changed

  • Avoids hiding the main window on backspace (#3107).

  • Enables Vi/Emacs navigation (#3012) in menus, and Ctrl+[ in Vi and Ctrl+G
    in Emacs to work in many other places as Esc key (for example, to hide menus,
    dialogs). Users can override shortcuts, but not some reserved ones in
    specific cases (mainly, if the item list or a menu has focus).

  • Selections and current items/rows/data in scripts now only relate to the
    tab selected with tab(...) in scripts (this is still by default the
    selected tab when the command started). Affected script functions:

    • move()
    • setData()
    • removeData()
    • selectedItems()
    • selectedItemData()
    • setSelectedItemData()
    • setSelectedItemsData()
    • currentItem()
    • ItemSelection().current()
  • Drops unnecessary timeouts when executing commands and actions from scripts.

  • Avoids fetching and passing clipboard to action()/execute() if the
    commands do not contains %1 placeholder. This can improve performance.

10.0.0

04 Apr 06:25
v10.0.0

Choose a tag to compare

Added

  • Emacs navigation key-bindings support.

  • Adds support for setting urgency and persistency to notifications. Script
    function notification() takes new arguments: '.urgency' (low, normal, high,
    critical), '.persistent' (toggle persistent notification)

Changed

  • Updates icon font from Font-Awesome 6.7.2.

  • On Windows, the main window is shown when starting the application using
    the program icon (#2965).

  • Calling exit() script function prints "Terminating server" on stderr
    instead of stdout.

Fixed

  • Fixes item selection with Ctrl+Space (#2850).

  • Fixes confirming exit if any commands are running.

  • Fixes selecting specific row on search (#2770).

  • Clipboard data cloning will be now aborted if the data changes during the
    process. This avoids using incomplete data in rare cases.

  • Fixes contrast of the selected row number color (#2887). The row number text
    color of selected item is set to the same color as item text by default. This
    can be overridden via "Edit Theme" button using option num_sel_fg.

  • Fixes internal editor syntax highlighting for numbers containing separators
    (for example 100_000, 0x1234_abcd) and avoids incorrectly highlighting
    multiple lines as regular expression in some cases.

  • On GNOME (Wayland session), the clipboard monitor and provider processes run
    in XWayland mode because GNOME does not support Wayland data control
    protocol. This behavior can be skipped by settings QT_QPA_PLATFORM
    environment variable to "wayland" (or other value).

  • On Wayland compositors, fixes unnecessary application start delay if
    clipboard access (the data control protocol) is not supported.

  • On Linux, the "Ignore items with no or single character" predefined command
    properly avoids synchronizing empty text or single character.

  • On Linux, fixes waiting on keyboard modifiers release when synchronizing
    selection.

  • Avoids recursive item preview updates when using display commands.

  • Avoids removing items if drag'n'drop action fails.

  • Wayland: Fixes crash if getting owned clipboard data.

  • Wayland: Fixes setting UTF-8 text on broken GNOME's XWayland.

9.1.0

20 Oct 06:27
v9.1.0

Choose a tag to compare

Added

  • Allows processing all clipboard changes (#2787, #2746).
    If clipboard contains secret (for example, copied from a password manager),
    onSecretClipboardChanged() script function is called with data containing
    mimeSecret format set to 1. Also ensures that callbacks are called
    consistently for all clipboard changes with properly set formats
    mimeClipboardMode, mimeOutputTab and mimeCurrentTab.

Fixed

  • Fixes editing multiple items (#2810).

  • Fixes synchronization plugin causing redundant UI updates and menu
    misbehavior (#2649).

  • Fixes showing sub-menus for custom commands in tray menu (#2730).

  • Fixes switching tab if onItemsLoaded() is overridden (#2788).

  • Fixes theme option hover_item_css (#2687).

  • Avoids modifying data from display commands and causing redundant UI updates
    (#2837).

  • Avoids sharing execute() state in case it is launched recursively.

9.0.0

22 Jun 08:51
v9.0.0

Choose a tag to compare

Added

  • Adds editItem() script function for editing any item format (#2672).

  • Item color is now shown in tray menu as the default icon (#2700).

Changed

  • Removes large margins in the tab tree.

  • Single action "Toggle Tag …" replaces the two separate actions "Tag as …" and
    "Remove tag …" for each custom tag (this can make the item context menu a lot
    more compact).

  • Selected items can now be accessed even from commands started from outside
    the app using global commands or from command line.

  • The dialog() script function can now be used for asking Yes/No questions
    without providing any fields. In such case, the function will return true
    instead of undefined after accepting the dialog. For example:

    const remove = dialog(
      '.title', 'Remove Items',
      '.label', 'Do you really want to remove all items?'
    );
    
    if (!remove)
        abort();
    
    // remove items ...
    
  • The execute() script function now throws an exception when command cannot
    be executed instead of returning undefine.

Fixed

  • Includes many performance improvements for working with large amount of items.

  • Fixes triggering menu items by number (#2569).

  • Fixes text color in the internal item editor (#2643).

  • Fixes showing global shortcuts in tray menu (#2382).

  • Fixes passing captured texts to automated commands (#2707).

  • Fixes duplicate synchronized items after tagging or modifying data.

  • Fixes situation when display commands stop updating items.

  • The pre-defined "Move to tab" action will be shown only if the current tab is
    not the same as target tab (#2669). Previously, in such case the item was
    removed unexpectedly.

  • Windows: Detect and ignore secrets from more apps (#2679).

  • Linux: Fixes storing previously synchronized clipboard (#2630).

  • Linux: Fixes storing selection when "Store text selected using mouse" option
    is enabled but "Run automatic commands on selection" is disabled (#2651).

  • Linux: Fixes clipboard synchronization with Qt 6 GUI framework.

  • Linux: Fixes showing tab tree labels with Qt 6 GUI framework.

8.0.0

14 Mar 12:57
v8.0.0

Choose a tag to compare

Added

  • Tab item limit has been increased to 100,000 (#1144).

  • New macOS builds for M1/arm64 architectures are available (#1884).

  • New Debian/Raspbian builds for arm/arm64 architectures are available.

  • Allows overriding item activation using paste().

  • Allows overriding script functions to handle some events: items
    added/removed/changed (onItemsAdded(), onItemsRemoved(),
    onItemsChanged()), tab items loaded (onItemsLoaded()), tab selected
    (onTabSelected()) (#59).

  • Allows to cancel removing items by overriding onItemsRemoved() script
    function. If the exit code is non-zero (for example fail() is called),
    items will not be removed. But this can also cause a new items not to be
    added if the tab is full.

  • Allows overriding current clipboard owner (currentClipboardOwner()) used by
    the clipboard monitor process. By default it uses currentWindowTitle().

  • Allows using Ctrl+C to copy items even if search entry box is focused unless
    it has a selection (#2440).

  • Linux: Adds build option to disable X11 support (cmake -DWITH_X11=OFF ...)
    (#2532).

  • Linux: Adds build option to disable autostart which is useful mainly for
    Flatpak builds (#2517, #2518).

Changed

  • Windows binaries (which are 64 bit) are now by default installed to "Program
    Files" instead of incorrect "Program Files (X86)". After installing the new
    version, the old path must be manually removed.

  • Windows and macOS builds are now based on newer Qt 6.

  • Avoids accessing clipboard from password managers (#2282, #2495, #2500). This
    disallows storing and processing such data. Specifically, the clipboard is
    ignored if it contains following data: Clipboard Viewer Ignore on Windows,
    application/x-nspasteboard-concealed-type on macOS,
    x-kde-passwordManagerHint with secret value on Linux.

  • Large data items in tabs are now stored in separate location unless
    Synchronize or Encryption plugins are active for the tab. This allows storing
    more items in tabs while using less memory. The data path can be printed via
    copyq info data command and overridden using COPYQ_ITEM_DATA_PATH
    environment variable. To disable this functionality use copyq config item_data_threshold -1 - the default value is 1024 and items larger than
    this amount of bytes are stored in the separate location.

  • Command dialog now shows advanced properties for built-in commands allowing
    to copy the command line to set global shortcut in system.

  • Global shortcuts are now also visible in menus (#2382).

  • Avoids pasting all image formats as new item.

  • Display commands are now applied to tray menu items too.

  • Linux: Last stored text item is updated from any new mouse selection only if
    the item content matches the start or the end of the selection (but not the
    middle like previously). This may avoid some unexpected item updates.

  • Updates icon font from Font-Awesome 6.5.1.

Fixed

  • Fixes drag'n'drop ordering for plugins and commands. This could have caused a
    missing icon, app crash or various inconsistencies.

  • Fixes managing keys with gpg 2.1 and above (#2463, #1208).

  • Fixes creating duplicate item with Synchronize plugin when adding a tag for
    example (#2355).

  • Fixes conflicting notes and text with Synchronize plugin (#2355)

  • Fixes deleted global object after running scripts (#2542).

  • Wayland: Fixes copying images to another app instance.

7.1.0

03 Sep 08:55
v7.1.0

Choose a tag to compare

NOTE: macOS release is currently blocked until #2450 is resolved.

Changed

  • Image editor (if set) will now open instead of built-in text editor when
    selecting Edit action on image items containing no text.

  • Encryption now uses larger/safer keys (#2385).

Fixed

  • Fixes saving and opening empty encrypted tabs.

  • Fixes minimal size of dialogs (#2299).

  • Fixes importing commands with regular expressions containing slash characters
    in scripts.

  • Fixes font weight with Qt 6.

  • Fixes closing the app with Qt 6.

  • Fixes the build and calling some script functions with Qt 6.5.

  • X11: Fixes crash when entering search with some keyboard layouts (#2171).

7.0.0

02 Apr 07:49
v7.0.0

Choose a tag to compare

Added

  • Windows installer has an option to install for current user or all users
    (#1912).

Changed

  • The preferred format to edit is now "text/plain;charset=utf-8" with
    "text/plain" as fallback. Additionally, if no such format is available,
    "text/uri-list" is used.

  • Toggle Clipboard Storing menu item uses static text and icon instead of
    changing these dynamically after each use (#2255).

  • Settings integrity is now handled solely by Qt. Previously, additional
    *.bak files where created for configuration files.

  • Commands are no longer migrated to the new format on start. The old command
    configuration file has been last used in version 3.9.0 (released on
    2019-06-27).

  • Native notification text length is limited now to avoid slow downs when
    showing notifications in some desktop environments. The limit is about
    100,000 characters and 100 lines.

Fixed

  • Fixes Sort/Reverse Selected Items menu actions (#2267).

  • Fixes moving items to a tab in tab bar using drag'n'drop (#1246).

  • Fixes possibly buggy window manager frame geometry (#2247).