Closed Kaven01 closed 3 months ago
Hi @Kaven01, I followed the steps you mentioned but after a certain time, I still couldn't reproduce the problem you mentioned.
I tried it again today, and could not reproduce it either. Yesterday the problem was certainly there, but it seems its gone today. Maybe some Apple magic was involved.
OK, sorry then for false issue. Everything seems to be working now.
I've encountered one more problem with LamyViewControllerShortCutButtonAIdentifier (and ButtonB too) . I can assigned different shortcuts to stylus buttons, and for a while it works. If I watch "Activity Message" in LamyViewControllerDebugStatusIdentifier, I can see "LamyShortuct1 Started" when I press the button, and "LamyShortcut1 Stopped" when I release it (and the same for Shortcut 2). Shortcut actions are correctly launched.
However after some shortcut switching, the shortcut handlers stop to be called. If I watch "Activity Message" in LamyViewControllerDebugStatusIdentifier, I can see only "LamyShortuct1 Stopped", but never "LamyShortcut1 Started" (same for shortcut 2). It looks like button press is no longer recognized, only button release.
The LamyViewControllerShortCutButtonAIdentifier controller is created inside a page of UINavigationController, which is presented as popover. After some opening and closing of the popover, changing shortcuts in UI etc. buttons suddenly start launching assigned actions again. I don't have a reliable way to either make system stop reacting to buttons or start again, but I encounter it fairly quickly, after only few changes in shortcut assignements.
This is how I define shortcuts:
And these are my testing shortcut handlers: