Cudatext: The main program window blinks on minimizing/restoring from taskbar

Created on 28 Sep 2020  路  23Comments  路  Source: Alexey-T/CudaText

It's better to see it, so I attached the desktop capture. I tested it as with my configuration as with clean installation too. Thus, it isn't a specific theme issue, so it maybe Qt or Lazarus issue. Is it possible to fix it?

blinking.zip

LazaruFPC issue

Most helpful comment

@xcme
Placed beta at http://uvviewsoft.com/c/
it has fix for 'monitor count is 1' case, because for '>1 monitors' fix was already here.
and I confirm on win10 that current 1.134 release works ok (no blinks) on my 2 monitors. please check?

All 23 comments

@xcme I don't confirm, on Win10 x64 2004, no white area appears, only normal flicker appears, it is OS restore animation

Can't confirm either (Win7/64).

I am using Windows 10 2004 and yes this happens with some programs, I suppose as you say @Alexey-T / @xcme it is related with qt5. I am testing with LazPaint and I have the same behavior, even SublimeText have the same blink but is less perceptible. MusicBee (Music player) have the same issue, but by example MS Management Studio (Database manager) it haven't.

@Alexey-T, did you try to minimize/restore by pressing on the program's button on the taskbar as I'd done? It blinks with toggling the window state in that way. But if you press the buttons in the title bar it works as it should, without blinking.

qt5? qt5 is build for linux. you have Win10. ok, will test.

There are several options for Win10?

Win32/win64 build don't use qt5 nor gtk2, it is plain win32.

Tested it on Win7/32 in VM. The problem doesn't occur.
Tested on another laptop on Win10/64. The problem appears half of time.

@Alexey-T, have you tried to use the button on the taskbar as I described above?

I put sample win32 app to http://www.uvviewsoft.com/c/ (with src).
Pls test on it.

Could you, please, fill it with a dark color? While it white I can't see the issue. The idea is to see if there white color for a short period.

Done, app updated

blink2.zip
It blinks! Is this the Lazarus issue?

It wasn't captured but the window disappears smoothly and then abruptly arises when I toggle the state with its taskbar button. I'll try to change capturing options to show it.

P.S. It blinks when it appears.

blink3_slow.zip
See what it looks like. Do you agree it looks wrong?

It seems they have a dozen issues per day, so I should just forget about the fix. :)

I subscribed to it.

yes, Lazarus issue.

So, it's time to remove the tag 'invalid' and add 'Lazarus/FPC issue' :)

as we see, it's hard to fix for Lazarus devs. noone replied there with a patch.

@xcme
Placed beta at http://uvviewsoft.com/c/
it has fix for 'monitor count is 1' case, because for '>1 monitors' fix was already here.
and I confirm on win10 that current 1.134 release works ok (no blinks) on my 2 monitors. please check?

@Alexey-T, yeah!

It fixed not only blinking but disappearing/appearing as well. Now it looks like a typical windows application, collapsing to its place on the taskbar, not disappearing far into space as before.

Good.

@Alexey-T, just FYI. Above I mentioned that on other laptop I saw that problem half of time. But I tested it long time ago and don't remember details. But these days I noticed that laptop has neither this or that problem from #2909 on an older CT version (1.115.0.1).

Both my laptops are run under Win10, but a bit different releases. And that which had problems has AMD Radeon Graphics for the desktop, while second (which has no issues now) has Intel UHD Graphics.

Basically, nothing to do with that. I just mentioned that now I started to think that only part of Windows users had the same problems I had. May be Lazarus doesn't work well with AMD drivers, I don't know.

Maybe you are right , but it won鈥檛 help Lazarus devs.

Was this page helpful?
0 / 5 - 0 ratings