p0deje / Maccy

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

Maccy menu always shows on top monitor #874

Closed ivocarvalho closed 3 weeks ago

ivocarvalho commented 3 weeks ago

Before Submitting Your Bug Report

Maccy Version (see 'About' window)

2.0.0

macOS Version

15.0

Maccy Settings

➜  ~ defaults read org.p0deje.Maccy
{
    "KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":41}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Preferred Position Item-0" = 501;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame SUStatusFrame" = "747 793 400 134 0 0 1512 944 ";
    "NSWindow Frame SUUpdateAlert" = "446 421 620 398 0 0 1512 944 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "709 349 542 468 0 0 1920 1055 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "528 467 710 385 0 0 1512 944 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-09-17 10:29:20 +0000";
    SUUpdateGroupIdentifier = 370311568;
    WebKitDefaultFontSize = 13;
    WebKitJavaEnabled = 0;
    WebKitJavaScriptEnabled = 0;
    WebKitPluginsEnabled = 0;
    WebKitStandardFont = "-apple-system-font";
    WebKitUserStyleSheetEnabledPreferenceKey = 1;
    WebKitUserStyleSheetLocationPreferenceKey = "/Applications/Maccy.app/Contents/Frameworks/Sparkle.framework/Resources/ReleaseNotesColorStyle.css";
    avoidTakingFocus = 1;
    enabledPasteboardTypes =     (
        "public.tiff",
        "public.png",
        "public.html",
        "public.file-url",
        "public.rtf",
        "public.utf8-plain-text"
    );
    history = {length = 42, bytes = 0x62706c69 73743030 a0080000 00000000 ... 00000000 00000009 };
    historySize = 999;
    ignoreEvents = 0;
    ignoredPasteboardTypes =     (
        "net.antelle.keeweb",
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType",
        "com.typeit4me.clipping",
        "Pasteboard generator type"
    );
    imageMaxHeight = 40;
    maxMenuItems = 100;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 0;
    pinTo = top;
    popupPosition = cursor;
    removeFormattingByDefault = 1;
    showFooter = 1;
    showRecentCopyInMenuBar = 0;
    showSearch = 1;
    showTitle = 1;
    windowSize = "[450,800]";
}

Description

After upgrading to Maccy 2.0 when using a dual display the menu always shows on the monitor on top instead of the one where you clicked the menu bar icon.

Example: https://shottr.cc/s/PncI/SCR-20240917-h4d.png

Steps to Reproduce

Upgrade to Maccy 2.0 Use dual monitor display using one on top of the main display Click Maccy icon on the menu bar of the bottom display

adyanth commented 3 weeks ago

Screenshot 2024-09-17 at 9 08 12 AM Adding an example. Clicked on the bottom monitor, shows on the top

justintfranklin commented 3 weeks ago

Same exact issue. Keyboard shortcut displays as it should, but clicking menu bar icon on bottom monitor displays Maccy on top monitor.