Recent

Author Topic: Flickering on Windows using Trunk  (Read 3969 times)

lainz

  • Hero Member
  • *****
  • Posts: 4449
    • https://lainz.github.io/
Flickering on Windows using Trunk
« on: May 02, 2018, 08:23:40 pm »
Hi, someone noticed 'flickering' (https://en.wikipedia.org/wiki/Flicker_(screen)#Software_artifacts) on the IDE and compiled forms applications?

I can notice it.

The way I solve it is to put DoubleBuffered to all my forms. But the IDE still has this issue.

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Flickering on Windows using Trunk
« Reply #1 on: May 02, 2018, 08:29:53 pm »
There have been some changes to trunk concerning DoubleBuffering some weeks/month ago.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

lainz

  • Hero Member
  • *****
  • Posts: 4449
    • https://lainz.github.io/
Re: Flickering on Windows using Trunk
« Reply #2 on: May 02, 2018, 09:43:14 pm »
Thanks  :)

Fahmy Rofiq

  • Jr. Member
  • **
  • Posts: 83
Re: Flickering on Windows using Trunk
« Reply #3 on: May 26, 2018, 06:59:41 am »
I also notice it. Object Inspector property grid flickering when dragging form designer or components on it.
How to fix this?
Lazarus Trunk + FPC Fixes 32bit
Windows 10 x64

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Flickering on Windows using Trunk
« Reply #4 on: June 04, 2018, 12:23:14 am »
Please retest. (See wiki.freepascal.org/Lazarus_1.10.0_release_notes for more details on DoubleBuffered changes in 1.9/1.10.)

Fahmy Rofiq

  • Jr. Member
  • **
  • Posts: 83
Re: Flickering on Windows using Trunk
« Reply #5 on: June 04, 2018, 02:07:24 am »
Please retest. (See wiki.freepascal.org/Lazarus_1.10.0_release_notes for more details on DoubleBuffered changes in 1.9/1.10.)
Yes, it is fixed on trunk. Thank you... :)
Lazarus Trunk + FPC Fixes 32bit
Windows 10 x64

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Flickering on Windows using Trunk
« Reply #6 on: June 04, 2018, 06:15:23 am »
@Ondrej, please also remove FDoubleBuffered in TOpenGLContext.
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

Pascal

  • Hero Member
  • *****
  • Posts: 932
Re: Flickering on Windows using Trunk
« Reply #7 on: June 04, 2018, 04:29:38 pm »
@Ondrej, please also remove FDoubleBuffered in TOpenGLContext.

Done. Thanks!
laz trunk x64 - fpc trunk i386 (cross x64) - Windows 10 Pro x64 (21H2)

 

TinyPortal © 2005-2018