Query toolbar (with Execute and Execute in new window) jumps around when switching queries

Avatar
  • updated
  • Completed
When I open several queries (already saved ones and also new ones) and I switch between then, the toolbar called Query jumps around. Sometimes its on a separate toolbar row, sometimes its over the menu (completely hiding the application menu). And if I drag it to a place where I want it to be, it stays there only until a query switch.

Anyone has seen this behavior?

PS. I'm using v. 3.0.0.3, registered, with MySQL database connection.
Avatar
Anonymous
Hello.

This behavior is intentional. The query windows toolbar "jumps" to the main window when query window is maximized. This allows to reduce the overall height of toolbars, that is critical for low-resolution monitors. We will add an option to turn this behavior off in one of the next builds.
Avatar
Szabolcs Szekely

Hi,
I think we are talking about different scenarios. All my queries are maximized and I only switch between them.
Let me try to explain my issue with some images:

1. I can place the toolbar wherever I want, but after a few window changes it jumps to the location pointed out - and also in a separate row, this doesn't saves space at all.






2. After switching to another query (from New Query 3 to New Query 2) the toolbar hides the main application menu:






3. Possibly, that the intentional "jumping" you were talking about occurs when the query windows gets "unmaximized", but for me this leaves an empty toolbar row:





Avatar
Anonymous
Yes, I agree that it's not an intentional behavior. We will fix it in the next version. For now I can suggest the following workaround: move the Query toolbar (the one that starts with the "New Query" button) right next to the Database toolbar (remove the gap between them), up them both. Hopefully the problem will be fixed then. 
Avatar
Anonymous
Sorry, may be the problem is more complex. But anyway, I understand it. We will correct this behavior in the next version.
Avatar
Anonymous
Thank you for reporting. The problem is fixed now. Please download the new version.
Avatar
Szabolcs Szekely
Thank you for "fixing", it still has bugs :(

1. If the Connections toolbar and the Standard toolbar is not visible or they are undocked, then the Query toolbar jumps the same way: from the main menu to an empty row and vice-versa.

2. When all toolbars are in place (docked in the same toolbar row) and switching Queries (from Query 3 to Query 2) a lot is happening: an empty toolbar row is displayed and the Query toolbar jomps to another 3rd row... after a moment (when all window resizing and redrawing has finished) the empty row is removed and the Query toolbar goes back to its initial place.
I think this was the fix itself, but it is annoying - seeing all these operations on the screen.

I'm aware that this is not an easy fix, mainly because of Delphi's child window management - can't switch maximized child windows directly, a restore happens, then you call the maximize operation...
But with the toolbar issue, maybe you can find the cause of the problem, not just fixing the symptoms.

Anyway, thank you, I can live with it for now.
Avatar
Szabolcs Szekely
When the Query toolbar is undocked then after a Query switch it gets docked again...
When the Query toolbar is closed, after Query switch it reappears, after another switch it disappears... then again reappears...
Avatar
Anonymous
Hello.

Thank you for your testing. The new versions has fixed the above described problems.