p0deje / Maccy

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

Maccy shortcut not bringing up window. #218

Closed horak closed 3 years ago

horak commented 3 years ago

When I use my shortcut mapping the screen flashes briefly but then the window doesn't show up.

The process is listed as running in my application monitor.

I've tried removing and reinstalling the app using both the package downloadable here as well as brew. Nothing gives.

Is there anyway that I can debug this?

p0deje commented 3 years ago

Is it shown when you click on the menu icon? Can you record a video of the screen to demonstrate the issue?

Also, it would be helpful if you paste an output of running defaults read org.p0deje.Maccy in Terminal.app

horak commented 3 years ago

That's part of the problem, I've hidden the menu icon haha.

Here's a lofi screen recording. You'll see two flashes — those are my using my hot key.

Screen Recording 2020-12-07 at 9 43 29 AM

Here's the output: { "KeyboardShortcuts_popup" = "{\"carbonModifiers\":2816,\"carbonKeyCode\":8}"; "NSStatusItem Visible Item-0" = 0; "NSWindow Frame SUStatusFrame" = "878 569 400 129 0 0 1440 877 "; "NSWindow Frame SUUpdateAlert" = "410 372 620 392 0 0 1440 877 "; "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "189 351 486 516 0 0 1440 877 "; SUEnableAutomaticChecks = 1; SUHasLaunchedBefore = 1; SULastCheckTime = "2020-12-01 16:35:14 +0000"; fuzzySearch = 1; hideFooter = 0; hideSearch = 0; hideTitle = 1; history = {length = 42, bytes = 0x62706c69 73743030 a0080000 00000000 ... 00000000 00000009 }; historySize = 201; ignoredPasteboardTypes = ( "Pasteboard generator type", "com.agilebits.onepassword", "com.typeit4me.clipping", "net.antelle.keeweb", "de.petermaurer.TransientPasteboardType" ); maxMenuItems = 20; migrations = { "2020-02-22-history-item-add-copied-at" = 1; "2020-02-22-history-item-add-number-of-copies" = 1; "2020-04-18-switch-storage-to-core-data" = 1; "2020-04-25-allow-custom-ignored-types" = 1; "2020-06-19-use-keyboardshortcuts" = 1; "2020-09-01-ignore-keeweb" = 1; }; pasteByDefault = 1; popupPosition = statusItem; removeFormattingByDefault = 1; showInStatusBar = 0; sortBy = lastCopiedAt; }

p0deje commented 3 years ago

I don't know how you ended up in this state, but your popupPosition is set to show at the menu icon and there is no menu icon. Fix it by defaults remove org.p0deje.Maccy popupPosition.

horak commented 3 years ago

Nice find! Where is this file located? It seems I have a few? Is it in the application bundle?

Screen Shot 2020-12-07 at 3 58 54 PM
p0deje commented 3 years ago

You don't need to edit files, just run the command defaults remove org.p0deje.Maccy popupPosition

horak commented 3 years ago

There we are, thank you!

montanaflynn commented 3 years ago

Happened to me as well, not sure how it got into that state. Might want to add this to the readme?