p0deje / Maccy

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

[V2] Paste Automatically does not work #835

Closed ramki88 closed 3 months ago

ramki88 commented 3 months ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

2.0.0.beta.9

macOS Version

14,6

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSWindow Frame SUUpdateAlert" = "718 686 620 398 0 0 2056 1285 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "773 643 510 473 0 0 2056 1285 ";
    SUAutomaticallyUpdate = 1;
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-08-05 07:02:53 +0000";
    SUUpdateGroupIdentifier = 2439529479;
    avoidTakingFocus = 1;
    clearSystemClipboard = 1;
    enabledPasteboardTypes =     (
        "public.file-url",
        "public.png",
        "public.utf8-plain-text",
        "public.rtf",
        "public.tiff",
        "public.html"
    );
    historySize = 200;
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "net.antelle.keeweb",
        "Pasteboard generator type",
        "de.petermaurer.TransientPasteboardType",
        "com.agilebits.onepassword"
    );
    imageMaxHeight = 40;
    maxMenuItems = 0;
    menuIcon = paperclip;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 1;
    pinTo = top;
    popupPosition = statusItem;
    searchMode = fuzzy;
    showFooter = 1;
    showInStatusBar = 1;
    showRecentCopyInMenuBar = 0;
    showSearch = 1;
    showTitle = 0;
    suppressClearAlert = 1;
    windowSize = "[512,404]";
}

Description

Paste automatically stopped working after the v2 update. No luck even after removing and added again macy to System Settings -> Privacy & Security -> Accessibility

When the item in history is selected, only a system sound gets played, the content gets pasted only after cmd + v

Steps to Reproduce

  1. cmd + shift + c -> open macy
  2. select an item in the history
ramki88 commented 3 months ago

Not sure if this helps.. 2024-08-06 09:10:20.345549+0530 0x1bfd Info 0x0 929 0 Maccy: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.NSPasteboardDataAccessed" as it isn't used in any transform (not in the config or budgeted?) 2024-08-06 09:10:20.411010+0530 0x1bfd Default 0x0 929 2 Maccy: (UserNotifications) [com.apple.UserNotifications:Connections] [org.p0deje.Maccy] Requesting authorization with options 6 2024-08-06 09:10:20.411017+0530 0x1bfd Default 0x0 929 2 Maccy: (UserNotifications) [com.apple.UserNotifications:Connections] [org.p0deje.Maccy] Getting notification settings (async) 2024-08-06 09:10:20.411487+0530 0x109c7 Default 0x0 929 2 Maccy: (UserNotifications) [com.apple.UserNotifications:Connections] [org.p0deje.Maccy] Requested authorization [ didGrant: 0 hasError: 1 hasCompletionHandler: 1 ] 2024-08-06 09:10:20.411530+0530 0x109c7 Default 0x0 929 0 Maccy: (Foundation) Failed to authorize notifications: Optional(Error Domain=UNErrorDomain Code=1 "Notifications are not allowed for this application" UserInfo={NSLocalizedDescription=Notifications are not allowed for this application}) 2024-08-06 09:10:20.411569+0530 0x109c7 Default 0x0 929 2 Maccy: (UserNotifications) [com.apple.UserNotifications:Connections] [org.p0deje.Maccy] Got notification settings [ hasResult: 1 hasCompletionHandler: 1 ] 2024-08-06 09:10:22.753537+0530 0x1bfd Info 0x0 929 0 Maccy: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.internationalization.keyboard.doublekeypress" as it isn't used in any transform (not in the config or budgeted?) 2024-08-06 09:10:24.096615+0530 0x1bfd Default 0x0 929 0 Maccy: (AppKit) [com.apple.AppKit:Window] order window: f4 op: 0 relative: 0 related: 0

p0deje commented 3 months ago

only a system sound gets played

It usually means that there is nowhere to paste to. Can you please record a video showing the problem?

ramki88 commented 3 months ago

only a system sound gets played

It usually means that there is nowhere to paste to. Can you please record a video showing the problem?

Here's a video of the behaviour. If notification is enabled for maccy then the selected item just shows up as banner.

Screenshot 2024-08-06 at 9 19 02 PM

https://github.com/user-attachments/assets/84ba3905-90b3-4f24-a0e7-bb8360767c13

p0deje commented 3 months ago

Here's a video of the behaviour. If notification is enabled for maccy then the selected item just shows up as banner.

Does it make a difference if you disable notifications?

ramki88 commented 3 months ago

Here's a video of the behaviour. If notification is enabled for maccy then the selected item just shows up as banner.

Does it make a difference if you disable notifications?

No, If notification is disabled then only the banner get's suppressed.

p0deje commented 3 months ago

Can you please update to 2.0.0.beta.11 and see if it helps?

p0deje commented 3 months ago

Ok, I can reproduce this when using "Popup at: Menu Icon". WIll work on a fix.

weisJ commented 3 months ago

I have been experiencing this too lately. Not sure when it started. Though it also happens for me if I open through the shortcut.

ramki88 commented 3 months ago

I can confirm that this is fixed with beta 12. Thanks @p0deje