Discussion:
Canvas.invisible=True -> blinking
Jean-Luc Arnaud
2017-01-31 17:29:29 UTC
Permalink
I just discovered a new behaviour in refreshing screen, between Xojo
2014 et Xojo 2016r4.1, on Windows.

In a window, I have an image as a backdrop. This image is relatively
dark and covers the whole background.

Some canvas are defined in the window, of course, they appear on the
background image.

Now, when changing these canvas property "Visible' to false, I get a
blank blinking, even with DisableBackgroundTask.

I tried playing with EraseBackGround property or DoubleBuffer property,
I get the same result.

What was changed?

How may I avoid such an annoying blink?

TIA for any help
--
Jean-Luc Arnaud


_______________________________________________

Xojo forum:

https://forum.xojo.com/
Jean-Luc Arnaud
2017-02-02 09:24:08 UTC
Permalink
I completed my test and the result is that with Xojo2016r3, no blinking,
whereas r4 and r4.1 issue the problem.

After reading r4 release notes, I found the item 41277 : Graphics now
renders using Direct2D and Graphics.UseGdiPlus is deprecated.

Well, probably very good for HiDPI screen users, but for 'normal'
screens, it's a regression.

Submitted feeback #46843.


Jean-Luc Arnaud
Post by Jean-Luc Arnaud
I just discovered a new behaviour in refreshing screen, between Xojo
2014 et Xojo 2016r4.1, on Windows.
In a window, I have an image as a backdrop. This image is relatively
dark and covers the whole background.
Some canvas are defined in the window, of course, they appear on the
background image.
Now, when changing these canvas property "Visible' to false, I get a
blank blinking, even with DisableBackgroundTask.
I tried playing with EraseBackGround property or DoubleBuffer
property, I get the same result.
What was changed?
How may I avoid such an annoying blink?
TIA for any help
_______________________________________________

Xojo forum:

https://forum.xojo.com/

Continue reading on narkive:
Loading...