CopyQ icon indicating copy to clipboard operation
CopyQ copied to clipboard

Copyq tray menu does not show M1 Macbook pro (2021)

Open 0xAl3xH opened this issue 2 years ago • 14 comments

Hi,

I am running Copyq on a M1 pro macbook now and can't seem to get the tray menu to show up by right clicking the tray icon per the documentation. However, running /Applications/CopyQ.app/Contents/MacOS/CopyQ menu does show the menu where the cursor is Screen Shot 2021-11-06 at 4 21 33 PM.

How do I get this to show up upon clicking the tray icon? Secondly, is there a way to change the tray icon behavior so this menu shows up on left click?

.

0xAl3xH avatar Nov 06 '21 23:11 0xAl3xH

See: #1533

hluk avatar Nov 07 '21 07:11 hluk

I took a look at #1533 but is the default behavior supposed to show menu upon right click? If so that's still not working.

0xAl3xH avatar Nov 07 '21 18:11 0xAl3xH

Ah, sorry, I misread the issue description.

Does right or left click on tray icon do anything?

Does anything change if you run the following command?

copyq config tray_menu_open_on_left_click true

hluk avatar Nov 08 '21 05:11 hluk

left click opens the clipboard interface/full menu: Screen Shot 2021-11-09 at 7 25 58 AM but right click does nothing.

When I run /Applications/CopyQ.app/Contents/MacOS/CopyQ config tray_menu_open_on_left_click true the tray menu shows. Right click still does nothing. Double left or right click will bring up the clipboard interface/full menu however.

Perhaps this warrants opening another issue but the tray menu appears to render in the wrong place, leaving a gap between the top bar an itself: Screen Shot 2021-11-09 at 7 30 04 AM

0xAl3xH avatar Nov 09 '21 15:11 0xAl3xH

I cannot do anything with the tray menu position. It looks like a Qt bug or some feature since it's not a native tray menu.

You can try using the native menu instead:

copyq config native_tray_menu true

hluk avatar Nov 10 '21 06:11 hluk

Can you test opening tray menu on right click with this development build? If so, please test it with native menu disabled: copyq config native_tray_menu false

hluk avatar Nov 10 '21 08:11 hluk

I'm having this same issue. I've been trying to find the development build but have been unable to. I just got my new M1 Max today and I downloaded the latest version of CopyQ and installed it and I am seeing this same issue. Ready to test anything new that may fix the issue. FYI - My Mac is running Monterey 12.0.1.

robertstrom avatar Dec 22 '21 04:12 robertstrom

I came back to thais and dug in and found the development build and installed it.

CopyQ Clipboard Manager 5.0.0-g275963c2-fix-mac-open-nonnative-tray-menu Qt: 5.15.2 KNotifications: 5.87.0 Compiler: GCC Arch: x86_64-little_endian-lp64 OS: macOS 12.1

I also ran the command

copyq config native_tray_menu false

I haven't spent much time with it yet (just a few minutes) but it is definitely better than the v5 that I was running.

Thanks!

robertstrom avatar Jan 06 '22 04:01 robertstrom

I've set the Tray so that it is enable (unchecked the Disable Tray checkbox) and now CopyQ is displayed but both the tray and the full window pop up when I click on the tray.

image

robertstrom avatar Jan 06 '22 05:01 robertstrom

Can you test this build?

hluk avatar Jan 06 '22 17:01 hluk

I reinstalled CopyQ using brew update && brew upgrade, manually adding it to the Accessibility permissions (as the instructions ask) as well as deleting the copyq folder out of ~/Library but the app still will not launch for me. Strange. Not sure how to test the built hluk mentions though.

Update! I got it working. I filed a separate issue (now closed) chronicling what I had to do to fix it. #1963

yllekz avatar Jan 06 '22 19:01 yllekz

I just built 24ad902 and ran ./CopyQ config tray_menu_open_on_left_click true

However, left clicking the icon still brings up both the tray and window, shown below. Screen Shot 2022-01-06 at 4 31 17 PM

Bonus problem: seems like there's a mismatch between the tray and window. Also clicking on the tray item does not trigger paste. Let me know if I should try something else.

0xAl3xH avatar Jan 07 '22 00:01 0xAl3xH

Can you test this build?

I have downloaded and installed. Will be using it and see how it goes. Will report in any issues

robertstrom avatar Jan 07 '22 05:01 robertstrom

I see that this has been reopened. Very glad to see that as CopyQ is pretty broken on macOS. I have an Intel Mac Pro and an ARM MacBook Pro. I use the MacBook Pro more but could test on both. I am still seeing all problems previously described as well as what others have described. Willing to test new versions.

Thanks,

Robert

robertstrom avatar Apr 23 '22 22:04 robertstrom