If we have two connection simultaneously, one of this with two sql window, each one has the option(pin) disabled, all windows don't move to the other connection window when you press it with double click.
There's no possibility to change window connection pin state with one-click using buton or context menu. In conjunction with no possibility to change all windows connections using one-click it's the most iritating property of PL/SQL Dev in versions above 10.x
Not sure what you mean by "one-click using button". Are you referring to a keyboard buttons? If so, you can define a keyboard shortcut in Tools / Preferences / User Interface / Key configuration. It's called "Window: Pin connection" (scroll down to the bottom of the list and then a bit up).
If you mean one click of a mouse, than it's possible - just click the pin icon in the status bar of a window.
In regard to changing all windows connections, you have at least three options:
Change your preferences to have all the windows created as unpinned, then all windows will change their connection to the main one when the main connection is changed (unless you switch a connection for a specific window, which causes that window to get it's connection pinned, so you would have to unpin it).
Completely switch off the multi-connection feature, so the application has only a one connection active and all the windows are always connected to it.
There is a plugin (I can recall it's name) that introduces additional connection management options, which included a menu item (and keyboard shortcut) to switch connections of all wintows to the main one.
No, no. I usually use about 15 windows and 9 databases, so I always make some errors while reconnecting them... Maybe plugin will be helpful for me. Thx.