Skip to main content
Participating Frequently
January 27, 2015
Question

Horizontal color lines when resizing AIR NativeWindow with image in background

  • January 27, 2015
  • 1 reply
  • 315 views

Hello,

Since few days, I noticed when I resize NativeWindow I can see (sometimes) horizontal color lines over background image. I am using AIR 16.0.0.245 on Windows 7.

Length of those lines is changing width while I am resizing.

This is OK, bg image in nativewindow: http://i.imgur.com/omsHR9P.png

Then after some window resize: http://i.imgur.com/fFutbtC.png

After some more pixels resize: http://i.imgur.com/tHDqiSu.png

Is this some latest AIR bug maybe? Does anyone knows how to solve this problem?

This topic has been closed for replies.

1 reply

nemi123Author
Participating Frequently
January 27, 2015

This is a bug! I uninstalled AIR 16 and installed AIR 15.0.0.356, and there are no striped lines on window resize. What to do?

EDIT: New information:

Those lines appear and dissappear on mouse move/hover. It looks like lines disappear on "redraw region". Lines are always visible only on right side of window.

EDIT: More info:

I think I found that bug is if you have smoothingQuality="high" like in:

<s:BitmapImage source="{imgCls}" smooth="true" smoothingQuality="high"/>

If I set smoothingQuality to "default", then there are no horizontal lines flickering.


What got wrong with latest AIR so I have this issue?


EDIT: I filed a bug: Bug#3928797 - Display problem when resize a BitmapImage with smoothingQuality="high"

It looks it is related to: Bug#3923037 - Corrupted display of resized images