p0deje / Maccy

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

⌥⇧C to open Maccy does not work on MacOS Sequoia public beta #813

Closed frankshrestha closed 21 hours ago

frankshrestha commented 4 months ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

1.0.0

macOS Version

Version 15.0 Beta (24A5289h)

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonKeyCode\\":51,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":2560,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Visible Item-0" = 0;
    "NSWindow Frame SUUpdateAlert" = "530 470 620 398 0 0 1680 1025 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "619 426 542 436 0 0 1680 1025 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-07-16 15:19:55 +0000";
    SUUpdateGroupIdentifier = 896378367;
    avoidTakingFocus = 0;
    clearSystemClipboard = 1;
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.html",
        "public.utf8-plain-text"
    );
    hideFooter = 1;
    hideSearch = 0;
    hideTitle = 1;
    ignoredPasteboardTypes =     (
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "Pasteboard generator type",
        "com.typeit4me.clipping",
        "net.antelle.keeweb"
    );
    imageMaxHeight = 40;
    maxMenuItemLength = 50;
    maxMenuItems = 20;
    menuIcon = maccy;
    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 = 0;
    pinTo = top;
    popupPosition = center;
    popupScreen = 0;
    previewDelay = 1500;
    removeFormattingByDefault = 0;
    showInStatusBar = 0;
    showRecentCopyInMenuBar = 0;
    showSpecialSymbols = 1;
    suppressClearAlert = 1;
}

Description

Setting ⌥⇧C to open maccy does not work on MacOS Sequoia public beta.

Steps to Reproduce

Set ⌥⇧C as a shortcut to open Maccy. Press the assigned shortcut.

p0deje commented 4 months ago

It's the same as https://github.com/sindresorhus/KeyboardShortcuts/issues/176, not sure how to fix it though. Can you please report this issue to Apple using Feedback Assistant?

jasudev commented 4 months ago

I'm experiencing the same thing, the shortcut doesn't work in the macOS Sequoia beta version.

frankshrestha commented 2 months ago

I tried binding the same shortcut on MacOS Version 15.0 (24A335). Still does not open but if you open Maccy and then press the shortcut, it will close.

p0deje commented 2 months ago

I tried binding the same shortcut on MacOS Version 15.0 (24A335). Still does not open but if you open Maccy and then press the shortcut, it will close.

Shortcuts when window is closed are set globally and when window is open - locally. That's why the former doesn't work while the latter works.

p0deje commented 2 months ago

A workaround mentioned in #872 by @AbrarTheCrypto

macOS 15 has disabled all shortcuts using “Option + any letter.” To fix this, follow these steps to restore your Maccy shortcut:

  1. Go to System Settings > Keyboard > Keyboard Shortcuts > Modifier Keys.
  2. Change the “Option” key to “Command” or another key of your choice.
  3. Restart your Mac to apply the changes. After this, your old Maccy hotkey will work just like before.
frankshrestha commented 2 months ago

That would affect all shortcuts in all programs, wouldn't it?

p0deje commented 2 months ago

That would affect all shortcuts in all programs, wouldn't it?

Yes, keep that in mind

Donjae-Wang commented 2 months ago

Same bug in Sequoia 15.0. When I use the easydict I can use the opt-d shortcut key. I don’t know if the shortcut key implementation method is different.

p0deje commented 2 months ago

Easydict application is not sandboxed, that’s why it’s not affected. 

IkonicR commented 2 months ago

Is there a fix for this yet?? Very annoying.. Also I don't want to change the system settings as that will change all my other shortcuts?

p0deje commented 2 months ago

Cross-posting from https://github.com/sindresorhus/KeyboardShortcuts/issues/176#issuecomment-2361446272

Looks like we have our answer: https://developer.apple.com/forums//thread/763878?src=push&answerId=804374022#804374022

Frameworks Engineer Apple

This was an intentional change in macOS Sequoia to limit the ability of key-logging malware to observe keys in other applications. The issue of concern was that shift+option can be used to generate alternate characters in passwords, such as Ø (shift-option-O).

There is no workaround; macOS Sequoia now requires that a hotkey registration use at least one modifier that is not shift or option.

AlbertQM commented 2 months ago

Cross-posting from sindresorhus/KeyboardShortcuts#176 (comment)

Looks like we have our answer: https://developer.apple.com/forums//thread/763878?src=push&answerId=804374022#804374022 Frameworks Engineer Apple This was an intentional change in macOS Sequoia to limit the ability of key-logging malware to observe keys in other applications. The issue of concern was that shift+option can be used to generate alternate characters in passwords, such as Ø (shift-option-O). There is no workaround; macOS Sequoia now requires that a hotkey registration use at least one modifier that is not shift or option.

That's unfortunate, thanks a lot for sharing!

I've switched to ⇧⌃C, works like a charm (except for the muscle memory 😄 )

webdev69420 commented 1 month ago

Workaround for people that don't want to have to change Maccy shortcuts in macOS 15.0 Sequoia: https://www.reddit.com/r/macapps/comments/1fjpiiw/comment/lolslnm/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

frankshrestha commented 1 month ago

For people using Karabiner Elements, json for complex modification:

{
    "manipulators": [
        {
            "description": "Maccy: ⌥⇧C to ⌃⌥⌘⇧C",
            "from": {
                "key_code": "c",
                "modifiers": { "mandatory": ["left_option", "left_shift"] }
            },
            "to": [
                {
                    "key_code": "c",
                    "modifiers": ["left_control", "left_option", "left_command", "left_shift"]
                }
            ],
            "type": "basic"
        }
    ]
}

This translates ⌥⇧C to ⌃⌥⌘⇧C.

selimanajjar9 commented 3 weeks ago

I also encountered the same problem. The shortcut of option+c is invalid. It's so uncomfortable.🤯How do I fix it?

krispetkov commented 3 weeks ago

Another working solution is using BTT:

  1. Assign some key combination in Maccy app:

    image
  2. Set the bellow configuration if BTT to override Opt+V. The configuration should be created under the Keyboard Shortcuts section:

    image
image
p0deje commented 21 hours ago

There is nothing we can do to make it work, closing.