Overriding System button with a Key action... bug? | Intech Studio
💬 general Grid

Overriding System button with a Key action... bug?

Function Store - Dan
Function Store - Dan · · 12 replies

I am trying to add undo (and redo) functionality to the system key. See the screenshot.

On my Mac what ends up happening after triggering this once, is for example Cmd+Tab will cycle to the end of the apps list, dropdown menus not working consistently, and other oddities. None of which point to the keys being retriggered, rather something seemingly unrelated.

Is this a bug or am I missing something?

Also somewhat related --- if I wanted to make this cross-platform the L Meta + Z would probably not work for triggering Ctrl+Z on windows, right? What is the right approach?

Replies (12)

Function Store - Dan Function Store - Dan ·

Hmm okay so if I recorded my key sequence the way I'd normally do undo is what I got above

Function Store - Dan Function Store - Dan ·

Now I can see there's no releasing the Z button, so probably the issue comes from there.

Function Store - Dan Function Store - Dan ·

If I record the key sequence in a kind of unnatural way (for me) to trigger this sequence, the release of Z is recorded and the issue does not happen

Function Store - Dan Function Store - Dan ·
image.png
Function Store - Dan Function Store - Dan ·

so that's great

Function Store - Dan Function Store - Dan ·

I guess there's a small bug in recording these sequences

Function Store - Dan Function Store - Dan ·

My question regarding cross-platform compatibility remains though

Function Store - Dan Function Store - Dan ·

Edit: answered

Related question: Using the utility button for anything else than switching Pages will require you to place that action elsewhere in your configurations. I'm missing some explanation here. How can I move an action elsewhere but trigger from the utility? Other than calling LUA functions defined on another block

0xdb 0xdb ·

I don't understand, what's the bug? doing key shortcuts is a bit confusing, you prolly want to set the first z to keydownup and get rid of the last one, see https://discord.com/channels/761513181696098335/1416405680436412416

0xdb 0xdb ·

what that means is that the function to switch pages is on the utility button, so if you change its code block you won't be able to change pages anymore unless you reimplement that code somewhere else

Function Store - Dan Function Store - Dan ·

The bug is that I was hitting my cmd+z normally, but it failed to record the z up action

Function Store - Dan Function Store - Dan ·

And I had to "awkwardly" hit cmd+z for it to record properly

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →