Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alert Sound on Copy #748

Closed
2 tasks done
imericxu opened this issue Mar 19, 2024 · 19 comments
Closed
2 tasks done

Alert Sound on Copy #748

imericxu opened this issue Mar 19, 2024 · 19 comments
Labels
bug Something isn't working

Comments

@imericxu
Copy link

Before Submitting Your Bug Report

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

Maccy Version (see 'About' window)

0.30.0

macOS Version

14.4

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":8,\\"carbonModifiers\\":768}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Preferred Position Item-0" = 810;
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "734 251 542 380 0 0 1792 1095 ";
    clearSystemClipboard = 1;
    enabledPasteboardTypes =     (
        "public.png",
        "public.html",
        "public.utf8-plain-text",
        "public.rtf",
        "public.tiff",
        "public.file-url"
    );
    historySize = 50;
    ignoreEvents = 0;
    ignoredPasteboardTypes =     (
        "net.antelle.keeweb",
        "com.typeit4me.clipping",
        "de.petermaurer.TransientPasteboardType",
        "Pasteboard generator type",
        "com.agilebits.onepassword"
    );
    imageMaxHeight = 48;
    lastReviewRequestedAt = 1708468975;
    menuIcon = paperclip;
    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;
    };
    numberOfUsages = 168;
    pasteByDefault = 0;
    popupPosition = statusItem;
    previewDelay = 800;
    removeFormattingByDefault = 1;
    searchMode = fuzzy;
    showRecentCopyInMenuBar = 0;
}

Description

When copying a link using the ⌘ keyboard shortcut, macOS plays the alert sound. I can’t tell in what contexts this occurs, because it doesn’t happen in some apps, and even in those apps, it depends on where you’re focused.
Likely this (Boop): https://youtu.be/SPDsDn7Terw?si=GsWNJj4I8aTgeDsX

Steps to Reproduce

  1. Make sure volume is on
  2. ⌘ + ⇧ + J to open the menu
  3. ⌘ + 1 (or another number) to copy/paste
  4. Listen for alert sound
  5. Repeat steps 2–4 in different contexts
@imericxu imericxu added the bug Something isn't working label Mar 19, 2024
@p0deje
Copy link
Owner

p0deje commented Mar 20, 2024

You can disable sounds in "Notifications & sounds" in Maccy general preferences.

@p0deje p0deje closed this as completed Mar 20, 2024
@imericxu
Copy link
Author

I think you misunderstood me. The macOS alerts are separate from the Maccy notification sounds. The alert plays regardless of whether Maccy has notifications on.

@p0deje
Copy link
Owner

p0deje commented Mar 21, 2024

Ah, can you try restarting Maccy? Sometimes it might have issues focusing the window back and when it attempts to paste by pressing CMD+V, the alert sound is played. It means that pasting failed to happen. There is not much I can do in Maccy about it unfortunately.

@p0deje
Copy link
Owner

p0deje commented Mar 21, 2024

Personally, I have "Paste automatically" disabled in Maccy preferences. Only if I want to paste right away (e.g. I'm typing something in browser), I would select item with Option pressed to paste. Otherwise, I would just let Maccy copy item to the system clipboard so I could later paste it as I wish.

@p0deje p0deje reopened this Mar 21, 2024
@p0deje
Copy link
Owner

p0deje commented Mar 21, 2024

Please ignore my comments, this is actually a different problem. I'll investigate more.

@geiras
Copy link

geiras commented Mar 21, 2024

Hey. UI/UX designer here. In an attempt to identify the source of a mysterious sound, I discovered a terminal command that lists apps using the sound card. I found Maccy among them and noticed that when copying text with the Command+C shortcut, it produced an writing-like sound.

An option to disable this sound effect within Mackie's settings would be preferable. I tried closing the app, I had difficulty doing so without re-enabling the footer. Once done, however, the alert sound ceased until Maccy was reopened.

Upon further investigation, I found a "notifications and sounds" help link within Maccy settings that took me to MacOS System Preferences. By disabling this feature, the issue was resolved and no more sound plays when copying someting.

However, I believe this option should be more prominently displayed alongside other settings for easier access.
Although the operating system may wish to maintain control over such features, incorporating this option directly into Maccy preferences would streamline user experience and allow for better management of settings related to the app. Ideally, these preferences would also sync with the overall system settings if possible.

@stephanknotek
Copy link

I just got Maccy and I immediately started looking for a way to mute this sound in Maccy's preferences, but I found no such option, and found my way here. I'd like to also advocate for this option because I need my Mac's sound on to be alerted for emails if I'm working near my desk but not watching for notifications, among other things, but Maccy's sound is rather distracting at work, especially with the amount of copying and pasting that I do as part of my workflow.

@yathu-arulnanthy-gtg
Copy link

Yes totally agree, please there needs to be an option to turn the sound off.

@imericxu
Copy link
Author

The comments from geiras and after aren’t relevant to this issue. This bug is for the macOS system alert that plays unexpectedly on using a shortcut, not the actual Maccy notifications.

@intothevoid0
Copy link

intothevoid0 commented May 21, 2024

I just started using Maccy (as a replacement for CopyClip) and I love it so far. I hope I'm posting in the correct issue thread, and if not, I apologize.

I believe I'm experiencing the same issue. I've installed on my two primary devices - iMac (Sonoma 14.1.1) and MacBook Air (Sonoma 14.4.1). On the iMac, I have no issues when opening the popup and copying an item with COMMAND (⌘) + n. On my MacBook Air, it makes the "not allowed" sound effect when selecting an item in multiple applications. As an example, when Finder is active, and I use ⌘1, I believe it is attempting to trigger View > as Icons. For Chrome, the same thing but ⌘1 - ⌘9 for changing to a different tab.

I'm not sure what changed in macOS, but I hope you find this helpful.

@andrewbraxton
Copy link

Experiencing exactly what @intothevoid0 describes on Sonoma 14.5.

@janosh
Copy link

janosh commented Jun 14, 2024

also randomly started getting a paper-crumpling sound on copy on a new MacBook running Sonoma 14.5. didn't realize it was coming from Maccy and was quite hard to trace here. definitely needs to be made an opt in feature, i never enabled this explicitly.

@imericxu
Copy link
Author

@janosh The paper crumpling (scribbling) sound is a notification and can be turned off in System Preferences.

@janosh
Copy link

janosh commented Jun 15, 2024

yeah i did. just took me a while to figure out which app it was coming from

@intothevoid0
Copy link

I'm still running Maccy v0.31.0 on my MacBook Air. I tried reading the release notes, but they went over my head. Can someone please explain the details of the update to v1.0.0 and let me know if the sound issue was addressed?

@p0deje
Copy link
Owner

p0deje commented Jul 18, 2024

I'm still running Maccy v0.31.0 on my MacBook Air. I tried reading the release notes, but they went over my head. Can someone please explain the details of the update to v1.0.0 and let me know if the sound issue was addressed?

@intothevoid0 It's not fixed in 1.0, but it will be fixed in 2.0.

@intothevoid0
Copy link

@p0deje, thanks for getting back to me; I'm glad to hear it! I primarily use my iMac for work and it’s not affected by the sound issue — I was just curious.

When you have a moment, could you please elaborate on the following info from the release notes?

Please note that older versions of Maccy (0.x) will not work correctly after the upgrade.

  • Enabled persistent history tracking in storage. This forces read-only mode in Maccy 0.x.

@p0deje
Copy link
Owner

p0deje commented Jul 19, 2024

When you have a moment, could you please elaborate on the following info from the release notes?

What exactly to elaborate? Once you upgrade to 1.0, you cannot use 0.x version anymore.

@p0deje
Copy link
Owner

p0deje commented Sep 16, 2024

Fixed in 2.0

@p0deje p0deje closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants