p0deje / Maccy

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

Can't paste text with newlines as value for existing pin entries #725

Closed kencano closed 9 months ago

kencano commented 9 months ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

0.29.4 (28)

macOS Version

14.2.1

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonKeyCode\\":51,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    NSNavLastRootDirectory = "/Applications/Utilities";
    NSNavPanelExpandedSizeForOpenMode = "{800, 448}";
    "NSStatusItem Visible Item-0" = 0;
    "NSWindow Frame NSNavPanelAutosaveName" = "356 376 800 448 0 0 1512 950 ";
    "NSWindow Frame SUStatusFrame" = "957 588 400 134 0 0 1512 950 ";
    "NSWindow Frame SUUpdateAlert" = "446 414 620 398 0 0 1512 950 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "485 34 501 684 0 0 1512 950 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "499 398 542 436 0 0 1512 950 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-02-04 18:43:41 +0000";
    SUSkippedVersion = 22;
    SUUpdateGroupIdentifier = 2319670250;
    WebKitDefaultFontSize = 13;
    WebKitJavaScriptEnabled = 0;
    WebKitPluginsEnabled = 0;
    WebKitStandardFont = "-apple-system-font";
    WebKitUserStyleSheetEnabledPreferenceKey = 1;
    WebKitUserStyleSheetLocationPreferenceKey = "/Applications/Maccy.app/Contents/Frameworks/Sparkle.framework/Resources/ReleaseNotesColorStyle.css";
    enabledPasteboardTypes =     (
        "public.png",
        "public.html",
        "public.rtf",
        "public.file-url",
        "public.tiff",
        "public.utf8-plain-text"
    );
    historySize = 400;
    ignoredApps =     (
        "com.apple.DigitalColorMeter",
        "com.apple.DigitalColorMeter"
    );
    ignoredPasteboardTypes =     (
        "com.agilebits.onepassword",
        "net.antelle.keeweb",
        "Pasteboard generator type",
        "com.typeit4me.clipping",
        "de.petermaurer.TransientPasteboardType"
    );
    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;
    };
    popupPosition = center;
    popupScreen = 0;
    searchMode = exact;
    showInStatusBar = 0;
    suppressClearAlert = 1;
}

Description

I use Maccy to store some prompts that I frequently use in LLM AIs. Unfortunately, once I've set a value to a certain pin, I don't see the path to update or replace the value (eg when I want to update the prompt) but instead encounter this error: I can't paste a value that contains newlines – neither when selecting the existing value and pasting nor deleting and then pasting.

Steps to Reproduce

p0deje commented 9 months ago

I am not sure what you are trying to achieve, but you cannot change values in Settings / Pins - you can only provide titles for the same values. This is simply to allow aliasing copies to some easy-to-remember name.