View Issue Details

IDProjectCategoryView StatusLast Update
0037908LazarusIDEpublic2021-06-16 21:54
ReporterDDDZZZ Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Platformx64OSWin10 
Product Version2.0.10 
Summary0037908: App's window appears wrong on Windows 10 (it blinks during the process)
DescriptionHello.

The app window disappears smoothly and then abruptly arises when I toggle the state with its taskbar button. In addition, it blinks with white background for a while.
Neither the disappearing or appearing don't look like standard Win10 behavior. But the disappearing looks good, so appearing should be fixed too.

Thx.
Steps To Reproduce1. Compile the source codes or just run the attached file
2. Increase window size a bit
3. Minimize and maximize the window by pressing on it's taskbar button

or

1. Just watch the attached video

I attached both source codes and video capture
Additional InformationP.S. The issue originally comes from https://github.com/Alexey-T/CudaText/issues/2864 but it seems it's Lazarus issue.

Lazarus 2.1.0 r63991
FPC 3.0.4
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

DDDZZZ

2020-10-11 11:18

reporter  

tst-sampleapp-for-win2.zip (1,030,284 bytes)
blink4_slow.zip (1,811,798 bytes)

Joeny Ang

2021-06-16 04:56

reporter   ~0131322

Hi CudaText man, try setting Application.MainFormOnTaskBar := True inside OnCreate().

CudaText man

2021-06-16 09:34

reporter   ~0131325

Maybe it should be in the .lpr file, not OnCreate?

Joeny Ang

2021-06-16 11:01

reporter   ~0131330

Hi, it should work too. I tried it inside the main form's onCreate() and the animations are ok.

CudaText man

2021-06-16 16:47

reporter   ~0131340

With that assignment, it's fixed! you may close this.

Juha Manninen

2021-06-16 21:54

developer   ~0131348

Resolving.

Issue History

Date Modified Username Field Change
2020-10-11 11:18 DDDZZZ New Issue
2020-10-11 11:18 DDDZZZ File Added: tst-sampleapp-for-win2.zip
2020-10-11 11:18 DDDZZZ File Added: blink4_slow.zip
2021-06-16 04:56 Joeny Ang Note Added: 0131322
2021-06-16 09:34 CudaText man Note Added: 0131325
2021-06-16 11:01 Joeny Ang Note Added: 0131330
2021-06-16 16:47 CudaText man Note Added: 0131340
2021-06-16 21:54 Juha Manninen Assigned To => Juha Manninen
2021-06-16 21:54 Juha Manninen Status new => resolved
2021-06-16 21:54 Juha Manninen Resolution open => no change required
2021-06-16 21:54 Juha Manninen LazTarget => -
2021-06-16 21:54 Juha Manninen Widgetset Win32/Win64 => Win32/Win64
2021-06-16 21:54 Juha Manninen Note Added: 0131348