Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-08 Thread Alex Harui
IIRC, standard Flex “monkey-patching” should also work.  Copy the one source 
file into the source-path with the correct folder structure.

-Alex

From: Piotr Zarzycki 
Reply-To: "users@royale.apache.org" 
Date: Wednesday, July 8, 2020 at 4:57 AM
To: "users@royale.apache.org" 
Subject: Re: UIComponents set visible positioner.style.visibility = null not 
working wir IE11

Hi Nicolas,

You have two options to build framework.

1) Using ANT - instruction can be found here [1]
2) Using Apache Maven - I personally recommend to use that one, but that's just 
a preference [2]. There is special parameter which allows you to output Royale 
binaries which can be used in your IDE.

[1] 
https://github.com/apache/royale-asjs/blob/develop/README.md<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2FREADME.md=02%7C01%7Caharui%40adobe.com%7C9dd84ef10f084f0fee0a08d823360fbf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637298062383443383=1a6pilMdF9S5eOwfW84m17YtijZodDVthrouAXZ%2Bg%2Fo%3D=0>
[2] 
https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Maven=02%7C01%7Caharui%40adobe.com%7C9dd84ef10f084f0fee0a08d823360fbf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637298062383443383=7PoInX3qYS46IKSm4E91ob8Gi6ke25rh%2FrUygAU5T9o%3D=0>

Thanks,
Piotr

śr., 8 lip 2020 o 13:53 tranquiliste 
mailto:nicolas.agut...@gmail.com>> napisał(a):
Hello,

No I am not compiling from source, how should I do?

my current compiler options are (with visual studio code)
{
"compilerOptions": {
"targets": ["JSRoyale"],
"source-path": ["src"],
"source-map": true,
"output": "../ProjectBuilds",
"html-output-filename": "Project.html",
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"remove-circulars": true
},
"additionalOptions":
"-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject",
"mainClass": "Project",
"copySourcePathAssets": true
}

Thanks
Nicolas



-
Nicolas
--
Sent from: 
http://apache-royale-users.20374.n8.nabble.com/<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F=02%7C01%7Caharui%40adobe.com%7C9dd84ef10f084f0fee0a08d823360fbf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637298062383453373=1iMzkiLlok35i2olA0RXl%2BXZFfiTd4%2BYxePvKqIy1Ko%3D=0>


--

Piotr Zarzycki

Patreon: 
https://www.patreon.com/piotrzarzycki<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki=02%7C01%7Caharui%40adobe.com%7C9dd84ef10f084f0fee0a08d823360fbf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637298062383453373=WOzDN%2BvGhIAwm%2Blkwq9DqaPpXdKJwXQNELy589XAOkI%3D=0>


RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-08 Thread tranquiliste
Hello,

No I am not compiling from source, how should I do?

my current compiler options are (with visual studio code)
{
"compilerOptions": {
"targets": ["JSRoyale"],
"source-path": ["src"],
"source-map": true,
"output": "../ProjectBuilds",
"html-output-filename": "Project.html",
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"js-library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc"
],
"remove-circulars": true
},
"additionalOptions":
"-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject",
"mainClass": "Project",
"copySourcePathAssets": true
}

Thanks
Nicolas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-08 Thread Yishay Weiss
Are you compiling from source? If so, it should be as easy as re-compiling 
after cherry-picking 9029464918b0d3dbb746343cd5bb337d77cd2a3c.

From: tranquiliste<mailto:nicolas.agut...@gmail.com>
Sent: Wednesday, July 8, 2020 1:09 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: UIComponents set visible positioner.style.visibility = null not 
working wir IE11

Thanks Harbs,

I don't want to use the nightly build for the project to avoid regression,
so I  was thinking to backport the 2 lines modification in the 0.9.7 and I
was wondering if/what I need to compile the patched 0.9.7?

Nicolas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/



Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-08 Thread tranquiliste
Thanks Harbs,

I don't want to use the nightly build for the project to avoid regression,
so I  was thinking to backport the 2 lines modification in the 0.9.7 and I
was wondering if/what I need to compile the patched 0.9.7?

Nicolas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-07 Thread Harbs
As soon as I get my act together… ;-)

Harbs

> On Jul 7, 2020, at 5:21 PM, tranquiliste  wrote:
> 
> I confirm that it is corrected in the nightly build.
> 
> Do you know when 0.9.8 is expected to be released?
> 
> Nicolas
> 
> 
> 
> -
> Nicolas
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/



RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-07 Thread tranquiliste
I confirm that it is corrected in the nightly build.

Do you know when 0.9.8 is expected to be released?

Nicolas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-07 Thread tranquiliste
Hello,
Thanks for your quick answer. I am using 0.9.7.

Il will install the nightly build to see if it has been corrected

Nioclas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-07 Thread Yishay Weiss
Yes, it’s a bug. Which version are you using? Have you tried the nightly build? 
I think this has been fixed.

From: tranquiliste
Sent: Tuesday, July 7, 2020 3:14 PM
To: users@royale.apache.org
Subject: UIComponents set visible positioner.style.visibility = null not 
working wir IE11

Hello all,

I was testing my application on IE11 and I noticed that set visible was not
working correctly in IE11 as the container had still the visibility at
'hidden' (with errorContainer.visible=true; fir instance)

 Looking in more detail to the source of UIComponents.js I saw that the set
visible function was using
* positioner.style.visibility = null *
to set it ot visible and that it had no effect with IE11.

switching to * positioner.style.visibility = 'visible'* makes it working on
IE1 (and continue to work on FF)

Is this a bug?

Nicolas



-
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/