p0deje / Maccy

Lightweight clipboard manager for macOS
https://maccy.app
MIT License
12.8k stars 544 forks source link

In the "Type to search" field deleting with backspace key does not work #850

Closed grimsa closed 1 month ago

grimsa commented 2 months ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

1.0.0

macOS Version

14.6.1

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1043 747 542 436 0 0 2560 1415 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-08-23 07:51:03 +0000";
    SUUpdateGroupIdentifier = 1992924397;
    enabledPasteboardTypes =     (
        "public.utf8-plain-text",
        "public.tiff",
        "public.rtf",
        "public.html",
        "public.png"
    );
    historySize = 30;
    ignoreEvents = 0;
    ignoredPasteboardTypes =     (
        "de.petermaurer.TransientPasteboardType",
        "com.typeit4me.clipping",
        "Pasteboard generator type",
        "net.antelle.keeweb",
        "com.agilebits.onepassword"
    );
    menuIcon = paperclip;
    migrations =     {
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
        "2022-11-14-add-html-rtf-to-supported-types" = 1;
        "2023-01-22-add-regexp-search-mode" = 1;
    };
    pasteByDefault = 1;
    removeFormattingByDefault = 0;
}

Description

When using an external keyboard, search query cannot be deleted with a backspace key

Steps to Reproduce

  1. Type "abcd" in search field, the cursor is after "d"
  2. Press backspace key on external keyboard (key code: delete_or_backspace)

Expected: Search field has "abc", cursor is after "c" Actual: Search field has "abcd', cursor is after "d"

p0deje commented 1 month ago

Fixed in 2.0