flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Usoltsev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35304) Spark Window (AIR NativeWindow) is freezing on move.
Date Mon, 08 May 2017 21:03:04 GMT
Vadim Usoltsev created FLEX-35304:

             Summary: Spark Window (AIR NativeWindow) is freezing on move.
                 Key: FLEX-35304
                 URL: https://issues.apache.org/jira/browse/FLEX-35304
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: Window
    Affects Versions: Apache Flex 4.16.0
            Reporter: Vadim Usoltsev

Spark Window when using in AIR desktop application is freezing when user trying to move it
on screen by the title. In debug application this is just unusable, in release - a little
bit faster.

It seems that there is a handler on move somewhere that take too mach. Scout shows nothing,
but if I create NativeWindow manually (not through Spark Window) - everything is ok, smooth
and nice. But I cant use such a window, because I can't load flex content there in a simple

Code examples:
This code opens spark glitchy window:
            var w:Window = new Window();
            w.title = "Example Window";

And this is smooth:
            var nvo:NativeWindowInitOptions = new NativeWindowInitOptions();
            nvo.systemChrome = NativeWindowSystemChrome.STANDARD;
            nvo.type = NativeWindowType.NORMAL;
            nvo.owner = FlexGlobals.topLevelApplication.stage.nativeWindow;

            var nv:NativeWindow = new NativeWindow(nvo);

This message was sent by Atlassian JIRA

View raw message