p0deje / Maccy

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

The history doesn't clean completely #809

Closed yarinl3 closed 3 weeks ago

yarinl3 commented 3 weeks ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

1.0.0

macOS Version

15 Beta 3

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":9}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Visible Item-0" = 0;
    "NSWindow Frame SUStatusFrame" = "664 731 400 134 0 0 1728 1079 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "607 290 442 493 0 0 1728 1079 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "594 609 442 322 0 0 1728 1079 ";
    SUEnableAutomaticChecks = 0;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2023-07-02 05:46:21 +0000";
    SUSendProfileInfo = 0;
    enabledPasteboardTypes =     (
        "public.file-url",
        "public.tiff",
        "public.png",
        "public.utf8-plain-text",
        "public.html",
        "public.rtf"
    );
    historySize = 999;
    ignoredPasteboardTypes =     (
        "Pasteboard generator type",
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "net.antelle.keeweb",
        "com.typeit4me.clipping"
    );
    maxMenuItemLength = 100;
    menuIcon = clipboard;
    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;
    showInStatusBar = 0;
    showRecentCopyInMenuBar = 0;
}

Description

When I delete the history of the clipboard it clears the list, but history still exists in memory in files: '/Users/xxxx/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy/Storage.sqlite-wal' '/Users/xxxx/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy/Storage.sqlite'

image

Steps to Reproduce

No response

p0deje commented 3 weeks ago

That's expected, you have to quit Maccy for changes to be committed.