First of all, loving the software, so a big thanks to Rob for keeping it up and running.
I have a bit of a weird issue and I'm hoping someone can point me in a direction or maybe even offer a solution.
Firefox has a function for Picture-in-Picture, which is used to pop out a video so it exists in it's own always-on-top window, so you can easily keep it open alongside other windows. Here is a quick intro on the feature.
The Picture-in-Picture feature comes with it's own keyboard shortcut for activation:
Which is awesome, because that means I can make a gesture for it and activate it trough that instead.
So I've made a gesture with a Send Hot Key
step, with the following keys:
And it works great when I have my keyboard layout set to English, but it stops working when I change my keyboard layout to Danish (Which I unfortunately need to do).
We unfortunately don't have square brackets as a default key on our keyboard layouts, so the gesture shortcut stops working.
The Danish layout looks like this
In order to make square brackets on a Danish keyboard I have to press Ctrl + Alt + 9 or AltGr + 9 which doesn't work with the shortcut. Eg. pressing Ctrl + Shift + Alt + 9 doesn't activate the PiP feature.
It looks like the OEM 6 keycode from the Send Hot Key becomes å instead, a special Danish character. I'm wondering if anyone has any great ideas to circumvent this issue?
I've also tried using a scripted Sendkeys with the bracket character:
But I'm guessing that gets parsed trough and turned into the keycode down the pipe and then also turned into the å key. It works on English layout but not Danish.
As I'm writing this post I just thought about scripting a "change keyboard layout to English" as part of the gesture before the shortcut gets fired off but it seems overkill and an inelegant solution, it also doesn't seem like an instant switch when I do it manually so I would worry about the timings if that was the supposed solution.
Mozilla are aware of the issue with the keyboard shortcut not being available to certain countries locales, and it is an active bug on their tracker
, but it has been on there for 3 years, so I don't have much faith that they'll solve it anytime soon.