p0deje / Maccy

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

Maccy hangs often and hangs slows down graphics-related programs #934

Open grabbels opened 2 weeks ago

grabbels commented 2 weeks ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

2.1.0

macOS Version

15.0.1

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":8,\\"carbonModifiers\\":768}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame SUUpdateAlert" = "1374 762 620 398 0 0 3440 1415 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "2649 896 482 305 0 0 3440 1415 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-10-25 08:23:09 +0000";
    SUUpdateGroupIdentifier = 1075176755;
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.utf8-plain-text",
        "public.html"
    );
    historySize = 50;
    ignoredPasteboardTypes =     (
        "de.petermaurer.TransientPasteboardType",
        "com.agilebits.onepassword",
        "Pasteboard generator type",
        "com.typeit4me.clipping",
        "net.antelle.keeweb"
    );
    menuIcon = paperclip;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pinTo = top;
    popupPosition = cursor;
    showFooter = 1;
    showSearch = 1;
    showTitle = 1;
    suppressClearAlert = 0;
    windowSize = "[450,800]";
}

Description

I've noticed lately that whenever I copy graphics/images, Maccy hangs for at least a few seconds and consequently hangs the program I'm copying the graphics from. Of course, while working with large images this is understandable, but the thing is: I disabled "Images" in the Storage tab of Maccy settings. The behavior didn't change after changing this setting/restarting my Mac and/or Maccy.

In addition, Maccy tends to hang for a few seconds every time I want to open the Maccy meny by clicking its icon in the menu bar.

This issue does not occur when Maccy is not open/active.

Steps to Reproduce

  1. Disable "Images" and "Files" in the Storage section of the Maccy options.
  2. Copy any type of (large) graphics/image in Affinity Photo/Affinity Designer (these are the apps I have experience with)
  3. The program as well as the Maccy app hang for a few seconds.
NHoose commented 1 week ago

Following workaround worked for me (at least in designer) until the bug is fixed:

add com.seriflabs.persona.nodes to ignored pasteboard types, see here

pasteboard viewer hangs with designer as well, so it might be a general problem with affinity

p0deje commented 1 week ago

Duplicate of #937

p0deje commented 1 week ago

Actually, no, it's a different problem.