Highlighted

Horizontal color lines when resizing AIR NativeWindow with image in background

Community Beginner ,
Jan 27, 2015

Copy link to clipboard

Copied

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?

TOPICS
Air beta

Views

242

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Horizontal color lines when resizing AIR NativeWindow with image in background

Community Beginner ,
Jan 27, 2015

Copy link to clipboard

Copied

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?

TOPICS
Air beta

Views

243

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 27, 2015 0
nemi123 LATEST
Community Beginner ,
Jan 27, 2015

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 27, 2015 0