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.
I hadn't noticed that until now, but it's true. This option might actually help.
Not necessarily. I often write in pinned windows. If I just want to "look" a screenshot is enough.
And don't forget, the result can only be perfect if an app makes its own windows float. BTT can do that with the windows of any app. That's pretty unique. So we should take what we get.
Mm, what I don't understand: the "Scrivener" window is natively floating. Apparently it can be in focus at the same time as the Finder window behind it. Even the cursor blinks in both.
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.
After the first test ... I find it much better! no more annoying flickering. The focus even comes with the scroll gesture, clicking is not even necessary, but possible.
I have configured the "Toggle Pin/Unpin focused window" with a red background to highlight the pinned windows.
I am experiencing 2 issues with this background configuration.
Issue 1: When the pinned window get the focus after loose the focus, the background is not shown:
Issue 2: The background shows a white rectangle around the window. Is it possible to remove this rectangle or make it transparent? Detail of the square of the pinned window:
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
//edit: I was wrong, it was something stupid I did