Menu & bars are flickering under Windows 10 Insider Preview 14342

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago in General Permalink

Hi,

until now everything was fine but with the latest Windows 10 Insider Preview 14342 the menues and toolbars are flickering every few seconds for a few seconds and HeidiSQL is unusable. I tried already the latest nightly build but still the same.

Any idea what this could be? Have it on two different machine, one has a Intel on board graphic card, the other one a Nvidia 970.

Thank you & keep up the great work, Max

ansgar's profile image ansgar posted 8 years ago Permalink

Well what do you expect on a Windows preview release?

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago Permalink

Well, what could be the worst non productive reply you can expect?

I really love HediSQL, but it is the only software that has this problem, so maybe it is related to HeidiSQL? Maybe it would make sense to look into it? Maybe quite soon ALL of your Windows 10 user may have this problem?

I love the Open Source Community, but i did not expect this completly useless reply.

Max

ansgar's profile image ansgar posted 8 years ago Permalink

Well, I just wanted to express how your question reads: "I have just updated to a beta-version of Windows. Now, HeidiSQL behaves different - can you fix that?"

To be honest, I have no clue why the menu is flickering in that Windows preview, but you are not the first one reporting that. E.g. this posts.

Did you encounter that flickering before, in a stable Windows 10?

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago Permalink

Hi,

thank you for the now useful answer!

I did not had it before in Windows 10, not in the normal build (Home & Professionell) and not in any Insider Previews before this one, very strange.

I found the post you mention too but that is already a few months old (and it seems to be fixed), that is the reason why i made a new one, this Insider Preview is only a few days old.

To explain the problem a little bit more:

Every few seconds the menue-bar (File, Edit, etc.), the toolbar below the menue bar and the bar at the bottom of the window starts flickering for a few seconds and the program is not responding. The size of the window does not has any influence on that behaviour. All other windows from HeidiSQL (Session Manager, etc) are not affected, only the main window. I think it has to do with some UI-redraw, when i switch to other open programs some of them are flickering then too. But when i close HeidiSQL all others are fine all the time, so it seems that it is coming from HeidiSQL. The MySQL Server i connect to is a 5.6.21 from AWS connected over TCP/IP. The HeidiSQL version is 9.3.0.5078 (i tried it with the latest nightliy build). The screen resolution is 1920x1080, so nothing fancy with high DPI there.

I hope this helps, Max

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago Permalink

One more addition: When i start HeidiSQL im "Windows 8 compatible Mode" it works, no flickering.

Max

ansgar's profile image ansgar posted 8 years ago Permalink

Thanks for your consistent feedback. I'll look into that by searching for similar effects in other Delphi based programs.

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago Permalink

Great, thank you!

pnadam's profile image pnadam posted 8 years ago Permalink

Just chiming in to say that I've been experiencing the same issue for a long time. It first appeared in Windows 8, and continued in Windows 10 Technical Preview and throughout. I've recently installed a new hard drive in the machine and installed Windows 10 1511 and it continues.

It brings the entire machine UI to a crawl. Firefox, Office applications, the taskbar and Start Menu, and so on. All become unresponsive while the HeidiSQL window is flickering away. It lasts anywhere from 10 second to a minute before the problem subsides, and it occurs with a frequency of anywhere from 1~2 hours. With HeidiSQL closed, the issue doesn't arise. If you manage to kill HeidiSQL while the issue is ongoing, it disappears immediately.

I haven't yet tried running HeidiSQL in Windows 8 Compatible Mode, principally because I also had the problem in Windows 8. But I will try it and report back.

ansgar's profile image ansgar posted 8 years ago Permalink

There is a slight chance that one event causes this flickering, as this is constantly firing when HeidiSQL is an idle state. That event has some code in it, and if I disable the event, that code won't get executed, and thus some features are not working any longer. The code does the following:

  • Timer based storing portable settings to a textfile each 60 seconds, so there is no dataloss when HeidiSQL crashes
  • Asynchronous sorting of the tables list in the "Database" tab, when the user selects a database in the tree, and the list is not sorted by names, but for example by "Rows".

I could commit a test build which disables this code, so you could check whether that fixes the flickering issue on Win10. OK? If that helps, I have to move the code somewhere else of course.

Code modification/commit d3566b7 from ansgarbecker, 8 years ago, revision 5103
Attempt to fix window flicker issue on Windows 10 by disabling ApplicationEvents.OnIdle event temporarily. See http://www.heidisql.com/forum.php?t=21342#p21635
ansgar's profile image ansgar posted 8 years ago Permalink

Just done so.

If you want to give it a test, you need to download the appropriate build from r5103. Do not just update via HeidiSQL's automatic update, as that will give you r5104 in which I just reverted the code.

pnadam's profile image pnadam posted 8 years ago Permalink

Hi Ansgar,

I've installed r5103 and will let you know how I get on.

[expired user #9840]'s profile image [expired user #9840] posted 8 years ago Permalink

I have installed it too and will test it.

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