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] [Updated] (FLEX-35304) Spark Window (AIR NativeWindow) is freezing on move.
Date Mon, 08 May 2017 21:03:04 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vadim Usoltsev updated FLEX-35304:
----------------------------------
    Description: 
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 takes 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
way.

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

And this is smooth:
{code:java}
            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);
            nv.activate();
{code}


  was:
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
way.

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

And this is smooth:
{code:java}
            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);
            nv.activate();
{code}



> 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 takes 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
way.
> Code examples:
> This code opens spark glitchy window:
> {code:java}
>             var w:Window = new Window();
>             w.title = "Example Window";
>             w.open();
> {code}
> And this is smooth:
> {code:java}
>             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);
>             nv.activate();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message