Unpinned window does not follow main connection

Worker

Member³
I'm confused. I do the following:

1. Start PL/SQL Developer
2. Pick connection "A" in the dialog that pops up
3. Menu: File -> New -> SQL Window
4. I see the connection and an "unpinned" icon in the status bar of that window
5. Menu: Connection -> Set Main Connection -> connection "B"
6. Connection of the SQL Window is still "A".
7. Menu: File -> New -> SQL Window
8. Connection of this SQL Window is "B".

I thought "unpinned" meant "follows Main Connection", and I expected the first SQL window to switch to connection "B". Is this a bug or am I misunderstanding how this is supposed to work?

(version 10.0.5.1710)
 
I think you want to uncheck the Multiple connections feature.

Tools -> Preferences -> (Oracle) -> Connection -> Multiple Connections
 
While it's true that unchecking that option makes all windows follow the Main Connection, it also takes away pinning completely which is more than what I'm looking for.

Right now I don't see any difference between a pinned window and an unpinned window. That doesn't seem right.
 
It works for me.
Unpinned connections always change when I set new main connection.

"Pin connection" icon is grey - unpinned
"Unpin connection" icon is red - pinned.
 
IvanZ: thank you for testing this. Are you using the latest version (10.0.5.1710) as well?

Even after deleting my Preferences directory and removing all command-line parameters, it still doesn't work. Windows don't switch to the new main connection even though they show a gray pin icon.

Windows 8.1 Pro
Oracle 11.2 32bit Instant Client
 
I'm using version 10.0.5.1710 on Windows 7 Pro (Oracle Client v.11.2 32-bit) and the pinning fails for me only sometimes (as for you - unpinned windows do not change connection to new main connection when the main connection is changed). Usually it works as it's supposed to. I have no idea why it fails when it fails but can for sure confirm that it sometimes does.
 
I too have the same problem.
Another error happens with the drag and drop of a file from one connection to another.
Many times you can not move (with the mause) the file.sql
 
I was able to trace this problem to the toolbar.ini file in C:\Users\...\AppData\Roaming\PLSQL Developer.

If I delete this file, I no longer have the original problem and unpinned windows follow the main connection as expected.

If I create this file by customizing my main toolbar and adding a button, the original problem re-appears and unpinned windows act like pinned windows.

It looks like there is a bug in either generating or reading this toolbar.ini file. For now my workaround is to have un-customized toolbars.
 
I think it could be plugin/toolbar issue. When I disable and remove all plugins from plugin directory, windows follow main connection. When I copy and enable one plugin, windows stop following main connection. But when i click "Save Toolbar" windows again starts to follow main connection.
Now I have two plugins in plugin directory, both enabled. After "Save Toolbar" everything is working fine.
Windows 7, oracle 12 32-bin client
 
Back
Top