I have assigned the action "Toggle Pin/Unpin focused window" to the shortcut "cmd+U".
If I move a window after pinning it, the window is shown twice (one is shown in the original position and the other in the new position). Furthermore, it looses the floating on top behaviour, it becomes normal window.
If I unpin the window and pin it again without moving it, it is also shown twice.
Here is a small video showing the bug using 2 windows in Chrome (the apple.com window is the pinned one):
Unfortunately that's by design, macOS doesn't offer any real way to make a window floating, that's why BTT creates a floating "stream" of the original window and places it at the position of the original window.
Now that stream does not react to mouse events, thus BTT needs to bring focus to the original window when moving the mouse over the replica.
I could offer an option to only change focus when clicking the replica stream. Maybe that could be useful for some people.
Yes, I think that's necessary. I use software (DAW Cubase as example) with some windows that can be set "on top" or "normal" (pinned or unpinned), and they only get focus if you click on them. That's the normal or intuitive behaviour, IMHO.
Usually the pinned windows are useful to look to them as you are working on other window who has the focus. In these cases you "rarely" need to give the focus to the pinned window, you need to have it on top to see it, but you are working on other windows. Hope you understand what I mean.
The benefit of a pinned window is to not be hidden when it looses the focus.
In other words, is useful to pin a window if you want to see the whole window all time, especially when it looses the focus.
You can pin a window to write in it, but in the case that this pinned window is the only pinned window in your screen, what is the benefit you get? You will see the same with this window configured as pinned or unpinned, isn't it?
If great master @Andreas_Hegenberg can do it, a pinned window should work like any other normal window. It should get the focus when user click on it, not when the cursor hovers it.
you probably set a margin in the action config, thus you see the red border. The corners can not easily be changed unfortunately, AFAIK it’s a limitation of the macOS ScreenCaptureKit, which can not capture transparent areas