27Saumya / Macboard

A minimalistic clipboard manager for macOS
https://saumya.lol/macboard
MIT License
94 stars 1 forks source link

Keyboard shortcut can't be recorded #13

Closed knoajp closed 6 months ago

knoajp commented 6 months ago

I'm excited about the newborn clipboard app with beautiful UI!!

I tried to change the "Copy & Hide Macboard" keyboard shortcut, but I can't record any key combination on it. The input form is now blank with [Record Shortcut] or [Press Shortcut] when it gets focused.

My initial attempt was to find a way to "auto-paste" function. Maybe on a future update? Also, it'd be nice if it had some options for a popup window position.

27Saumya commented 6 months ago

I tried to change the "Copy & Hide Macboard" keyboard shortcut, but I can't record any key combination on it. The input form is now blank with [Record Shortcut] or [Press Shortcut] when it gets focused.

Can you provide a screenshot or something (also you can't add a single-key shortcut if you were trying that)?

My initial attempt was to find a way to "auto-paste" function. Maybe on a future update? Also, it'd be nice if it had some options for a popup window position.

Yes I'm working on it next!

knoajp commented 6 months ago

Thanks, here it is. (I also tried on "Copy & Don't Hide Macboard", it would occur on every item) 20240307-190904

I can click and focus on these [Record Shortcut] and it turns to [Press Shortcut], but when I type any of the key combinations including a single-key like [Enter] or [A], nothing happens but a system error sound.

Just for your information, I can record any key combinations on other apps.

27Saumya commented 6 months ago

hey, yeah that's what i mentioned you cannot record a single-key keyboard shortcut (this is a limitation of the module I'm using for recording keyboard shortcuts, probably because the module is focused on global hotkeys and not in-app shortcuts (but I used some hack to make it work within the app as-well)), also if you want to use for the copy & hide you can leave the copy & hide recorder empty and just use (if any field is empty the default key is being activated instead)

Also, in the next update ill add a reset button which would revert the keyboard shortcut to be the default one (as the default shortcut for copy & hide and delete is a single-key shortcut, if people face a similar issue like you they can just revert)

knoajp commented 6 months ago

OK, I see. I'm happy to wait next update!!