Maccy icon indicating copy to clipboard operation
Maccy copied to clipboard

Maccy popup very slow when large clippings are in it

Open freebrowser1 opened this issue 8 months ago • 1 comments

Before Submitting Your Bug Report

  • [x] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
  • [x] I have seen the FAQ.

Maccy Version (see 'About' window)

2.3.0

macOS Version

15.3

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2304,\\"carbonKeyCode\\":20}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":4352,\\"carbonKeyCode\\":18}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Preferred Position Item-0" = 414;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame SUUpdateAlert" = "650 511 620 398 0 0 1920 1080 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1985 206 532 460 1280 -280 1920 1080 ";
    SUAutomaticallyUpdate = 0;
    SUEnableAutomaticChecks = 0;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-12-11 13:27:17 +0000";
    SUSendProfileInfo = 0;
    avoidTakingFocus = 1;
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.tiff",
        "public.png",
        "public.html",
        "public.utf8-plain-text"
    );
    ignoredPasteboardTypes =     (
    );
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    searchVisibility = always;
    showFooter = 1;
    showSearch = 1;
    showTitle = 1;
    sortBy = lastCopiedAt;
    windowSize = "[450,800]";
}

Description

When large clippings (text of several tens of kB) are in the clipboards, then popping up Maccy is slow (several seconds). Can this be resolved by an optional setting to limit preview (not the actual clipping) to so many lines / bytes ?

Steps to Reproduce

No response

freebrowser1 avatar Apr 18 '25 08:04 freebrowser1

I am facing the same issue. I suspect there's a memory leak somehwere. On my machine it was using >5gb of memory.

riyadparvez avatar Apr 29 '25 20:04 riyadparvez