Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.3k stars 89 forks source link

I don't think you can set 'clipboard' as a popup key #887

Closed devycarol closed 3 months ago

devycarol commented 3 months ago

Describe the bug In JSON, I can't explicitly set 'clipboard' as a popup key to open the clipboard history—I get a misfired "too long text in popup key" error.

To Reproduce Try to add 'clipboard' as a specific 'main' or 'relevant' popup key in JSON. I tried a number of different combinations under functional keys, and many keys worked but 'clipboard didn't.

Expected behavior You should be able to add this key since it exists under the comma and enter key by default.

App version Debug, commit 17f30ad

Device:

Helium314 commented 3 months ago

I just tried setting a popup key with label clipboard and it works as expected. The actual clipboard popup key does not actually have a label, internally it's converted to an icon before doing the check. Even stranger, clipboard is under the 10 character limit.

Are you sure you didn't set anything else? (the error message should show the problematic label though)

devycarol commented 3 months ago

Ack, my bad. It was related to a local change that I made. Dropping.