Windows display problem

[expired user #6569]'s profile image [expired user #6569] posted 10 years ago in General Permalink
Hi There,

I have updated HeidiSQL up to the latest build and starting from about two or three weeks ago (about the time when the big, green 'donate' button started appearing in the interface), I noticed a weird and annoying behavior with HeidiSQL that continues to persist as of this forum post. HeidiSQL would open and its window would be positioned below the current window's title bar and obscuring the bottom portion of its window underneath the task bar like a cascaded window effect. Mind you, HeidiSQL still works for the most part, but this behavior is extremely annoying every time I open a new window and having to manually move it into position. The window opens on top of other windows, but is positioned below other windows. I'm not sure if I'm the only one having this issue, but I haven't been able to find any topic in the forum that addresses this problem. There aren't any switches or options in the HeidiSQL configuration that disables this "cascading window" behavior.

I've uninstalled and reinstalled from the latest version and it's still exhibiting the same behavior. I am running Windows 7 64-bit in a vm on a Linux Mint 64-bit VMWare host if that helps with diagnosing the issue.

Thanks for your help. I look forward to hearing from you soon. Have a wonderful day.
ansgar's profile image ansgar posted 10 years ago Permalink
Never heard before.

Do you have multiple monitors?

Can you upload a screenshot somewhere and link it here?
[expired user #6569]'s profile image [expired user #6569] posted 10 years ago Permalink
Hi Ansgar, I've sent the screenshot image to your email. I don't have a place where I can directly link to the image.

Thanks for your help.
ansgar's profile image ansgar posted 10 years ago Permalink
Yes, I saw that, and replied yesterday at 7pm. Please explain once again what I should watch out in the screenshot. I did not fully understand what you were trying to say above.
[expired user #6569]'s profile image [expired user #6569] posted 10 years ago Permalink
Hi Ansgar,

Sorry, my spam filter filtered out your reply. Yes, I am also running multiple instances of HeidiSQL, but that's irrelevant to this problem. The problem is every time I open a new connection in HeidiSQL (doesn't matter if I have previous HeidiSQL connections open already), the window is placed lower on the screen. It usually opens to its last window size, and completely covers the window that was formerly active. Now when I open HeidiSQL, it always opens to its last used size, but is placed lower on the screen which the taskbar covers the bottom part of the window. I have to move the window up to cover the window below it to position it "centered" on the screen. So in other words, HeidiSQL refuses to open to its last position on the screen, which is usually centered.

Thanks for the fast reply Ansgar. Hope this helps to describe the problem. Please let me know if you have any further questions.
ansgar's profile image ansgar posted 10 years ago Permalink
Sorry for the delay. In the meantime, here's another report about the same thing, and I think I know now exactly how and what to fix.
[expired user #6569]'s profile image [expired user #6569] posted 10 years ago Permalink
Thanks Ansgar. I'm glad it's not just me and someone else is having the same problem. Happy to hear you've found the source of the problem and have a solution at hand.

Looking forward to receiving the fix to solve this rather annoying problem. smile
Code modification/commit from ansgar.becker, 10 years ago, revision 8.1.0.4624
Set position property of main form from poDefaultPosOnly to poDesigned, with which we are able to set the left + top coordinates in OnCreate.
See http://www.heidisql.com/forum.php?t=13944 and http://www.heidisql.com/forum.php?t=13858
ansgar's profile image ansgar posted 10 years ago Permalink
Hopefully fixed in r4624.
[expired user #6569]'s profile image [expired user #6569] posted 10 years ago Permalink
Hi Ansgar,

Thanks so much for your help. Confirmed that the problem has been resolved in build r4624. This was starting to drive me crazy. :)

Please login to leave a reply, or register at first.