Yeah. Depending on your browser, loading all the JS files can take time. You shouldn’t be using an app in debug mode unless you’re debugging.
> On Dec 14, 2021, at 2:48 AM, Hugo Ferreira <hferreira...@gmail.com> wrote: > > I forgot, there are some issues inside the application in release mode, so > I'm in dead end. > We need to find out the release mode issues to fix the IE11 performance. > > Hugo Ferreira <hferreira...@gmail.com> escreveu no dia terça, 14/12/2021 > à(s) 00:46: > >> I found the issue about the IE11 performance. >> I opened the network tab on IE11 and saw IE11 loading each js file one by >> one (crazy).So, I tried to build a release version (even with SimpleLoader >> issues) and now it opens in about 1 second! >> I will investigate a workaround for SimpleLoader and I will support IE11 >> again. >> The second try, Microsoft rejected again because they insiste in IE11 >> support because an older version of Office 365 may run on IE11 (does not >> any make sense because with Office 365 updated will use Edge Webview 2 but >> it is what it is). >> >> Hugo Ferreira <hferreira...@gmail.com> escreveu no dia terça, 14/12/2021 >> à(s) 00:25: >> >>> Hi, >>> >>> About the animation, I can workaround by simply don't showing the >>> animation on IE11 (only the wait ... text). >>> The big issue is about the performance on IE11. >>> I'm using Jewel and build in debug mode (there is an issue building in >>> release mode to investigate later). >>> >>> Harbs <harbs.li...@gmail.com> escreveu no dia segunda, 13/12/2021 à(s) >>> 14:25: >>> >>>> IE11 does not support animate. >>>> >>>> To get animations to work in IE11, you need to use keyframe animations. >>>> >>>> Are you testing in release mode or debug mode? That sounds like a VERY >>>> long time. This page loads in IE11 very quickly. >>>> https://unhurdle.github.io/spectrum-royale/ >>>> >>>>> On Dec 13, 2021, at 4:09 PM, Hugo Ferreira <hferreira...@gmail.com> >>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> Yes, Add-In failed on Office 2016 for Windows because Office 2016 for >>>>> Windows use IE11. >>>>> So, I tested directly on IE11 and I was able to reproduce both main >>>> issues >>>>> (it's not necessary to have Office 2016 installed to test the issues). >>>>> >>>>> Issue 1: The SimpleLoader crash because the method animate as you >>>> mention >>>>> is not recognized (I compiled the SDK using ANT); >>>>> Issue 2: The application start with a blank page for a delay of a >>>> minute => >>>>> Then I tested with a just simple Label and it took 3 seconds to show. >>>>> >>>>> Even if we find a way to fix issue 1 or find an alternative way for >>>> IE11, >>>>> issue 2 it's a blocker, so I decided to remove Office 2016 for Windows >>>> for >>>>> my Add-In (I put a minimum requirement on the manifest file). >>>>> >>>>> I'm waiting for the second approval process. >>>>> >>>>> Greg Dove <greg.d...@gmail.com> escreveu no dia domingo, 12/12/2021 >>>> à(s) >>>>> 20:54: >>>>> >>>>>> Yes, I just checked, and this is the case. >>>>>> There are a lot of changes in defaults.css inside the themes folder, I >>>>>> think there may even be some from Carlos at the beginning of the year >>>> that >>>>>> were not compiled into the defaults.css yet. >>>>>> So I suggest you push the changes to all the defaults.css files >>>> inside the >>>>>> themes folder after the maven sass build. Or let me know if you want >>>> me to >>>>>> do that. >>>>>> >>>>>> After I compiled these themes locally using sass and all the swcs were >>>>>> built with the sass-generated defaults.css files, your tri-state demo >>>>>> started working for me. It looks great. >>>>>> One other quick mention: >>>>>> In the demo, the 'Not Checked (with ReadOnly bead)' does not actually >>>> have >>>>>> a ReadOnly bead attached - small thing. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Dec 13, 2021 at 9:10 AM Maria Jose Esteve <mjest...@iest.com> >>>>>> wrote: >>>>>> >>>>>>> I didn't know that, ... but there is still something missing... I >>>> have >>>>>>> compiled with Maven JewelTheme and, as you say, it has created a >>>>>>> defaults.css file BUT it doesn't contain the modifications for the >>>>>>> "indeterminate" state. I'll check it and let you know later. >>>>>>> >>>>>>> Thx Greg, >>>>>>> Hiedra >>>>>>> >>>>>>> -----Mensaje original----- >>>>>>> De: Greg Dove <greg.d...@gmail.com> >>>>>>> Enviado el: domingo, 12 de diciembre de 2021 20:46 >>>>>>> Para: Apache Royale Development <dev@royale.apache.org> >>>>>>> Asunto: Re: IE11 takes several seconds to load >>>>>>> >>>>>>> Hi Maria, for Jewel, the ant build requires that the defaults.css has >>>>>>> already been updated (via any maven sass build updates) and >>>> committed to >>>>>>> the repo, alongside the sass-related changes. >>>>>>> >>>>>>> Do you have any uncommitted changes to various defaults.css inside >>>> your >>>>>>> themes folder, after running the themes build? I think your changes >>>>>> should >>>>>>> have made updates into >>>>>>> >>>> royale-asjs\frameworks\themes\JewelTheme\src\main\resources\defaults.css >>>>>>> >>>>>>> Is that correct? >>>>>>> If yes, you should commit that defaults.css file to the repo. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Dec 13, 2021 at 8:25 AM Maria Jose Esteve <mjest...@iest.com >>>>> >>>>>>> wrote: >>>>>>> >>>>>>>> You have to compile themes, this is a symptom that something is >>>>>>>> missing in the Jewel project, true? >>>>>>>> >>>>>>>> -----Mensaje original----- >>>>>>>> De: Harbs <harbs.li...@gmail.com> >>>>>>>> Enviado el: domingo, 12 de diciembre de 2021 19:54 >>>>>>>> Para: dev@royale.apache.org >>>>>>>> Asunto: Re: IE11 takes several seconds to load >>>>>>>> >>>>>>>> I just compiler TourDeJewel and it worked, although the TriState >>>>>>>> Checkbox does not seem to work as expected. I’m guessing I’m missing >>>>>>>> the correct CSS files. >>>>>>>> >>>>>>>> I used ant FWIW. >>>>>>>> >>>>>>>>> On Dec 12, 2021, at 8:42 PM, Maria Jose Esteve <mjest...@iest.com> >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> Sorry, animate is not an attribute, it is a method... >>>>>>>>> >>>>>>>>> -----Mensaje original----- >>>>>>>>> De: Maria Jose Esteve <mjest...@iest.com> Enviado el: domingo, 12 >>>> de >>>>>>>>> diciembre de 2021 19:35 >>>>>>>>> Para: dev@royale.apache.org >>>>>>>>> Asunto: RE: IE11 takes several seconds to load >>>>>>>>> >>>>>>>>> - SimpleLoader uses the "animate" attribute (this seems the most >>>>>>>>> correct >>>>>>>> because in IE CSS transformations give a lot of problems). >>>>>>>>> >>>>>>>>> - When we compile TDJ we get a warning: >>>>>>>>> >>>>>>>>> WARNING: >>>>>>>> >>>>>>> >>>>>> >>>> D:/Develop_Royale/Projects/Royale-SDK/royale-asjs-fork/examples/jewel/TourDeJewel/target/javascript/bin/js-debug/components/SimpleLoader.js:73: >>>>>>>> WARNING - variable Animation is undeclared >>>>>>>>> this.components_SimpleLoader_animation = /* implicit cast */ >>>>>>>>> org.apache.royale.utils.Language.as >>>> (this.element["animate"]([{"trans >>>>>>>>> fo rm":"rotate(0deg)"}, {"transform":"rotate(360deg)"}], timings), >>>>>>>>> Animation, true); >>>>>>>>> >>>>>>>>> The generated code is: >>>>>>>>> >>>>>>>>> components.SimpleLoader.prototype.set__indeterminate = >>>>>>>>> function(value) { if (this.components_SimpleLoader__indeterminate >>>>>> !== >>>>>>> value) { >>>>>>>>> this.components_SimpleLoader__indeterminate = value; >>>>>>>>> if (this.components_SimpleLoader__indeterminate) { >>>>>>>>> if (!this.components_SimpleLoader_animation) { >>>>>>>>> var /** @type {Object} */ timings = {"duration":1000, >>>>>>>> "iterations":Infinity}; >>>>>>>>> this.components_SimpleLoader_animation = /* implicit cast */ >>>>>>>> org.apache.royale.utils.Language.as >>>> (this.element["animate"]([{"transfo >>>>>>>> rm":"rotate(0deg)"}, {"transform":"rotate(360deg)"}], timings), >>>>>>>> Animation, true); >>>>>>>>> } >>>>>>>>> else >>>>>>>>> this.components_SimpleLoader_animation.play(); >>>>>>>>> } else { >>>>>>>>> if (this.components_SimpleLoader_animation) >>>>>>>>> this.components_SimpleLoader_animation.pause(); >>>>>>>>> } >>>>>>>>> } >>>>>>>>> }; >>>>>>>>> >>>>>>>>> Animation is an interface defined in royale-typedefs (public >>>>>>>>> interface >>>>>>>> Animation extends EventTarget) but yet it doesn't seem to recognize >>>>>> it... >>>>>>>> do you know what this is telling us? >>>>>>>>> >>>>>>>>> Hiedra >>>>>>>>> >>>>>>>>> -----Mensaje original----- >>>>>>>>> De: Maria Jose Esteve <mjest...@iest.com> Enviado el: domingo, 12 >>>> de >>>>>>>>> diciembre de 2021 1:15 >>>>>>>>> Para: dev@royale.apache.org >>>>>>>>> Asunto: RE: IE11 takes several seconds to load >>>>>>>>> >>>>>>>>> A little more research... >>>>>>>>> >>>>>>>>> If we execute the example of the TDJ, of the SimpleLoader[1], in >>>>>>>>> IE11 it >>>>>>>> is not shown, in this case it does not delay the loading of the >>>>>>>> application, it simply does not work [2]. >>>>>>>>> >>>>>>>>> [1] https://royale.apache.org/tourdejewel/#!progressloader_panel >>>>>>>>> [2] >>>>>>>>> >>>> https://drive.google.com/file/d/1Uip8pe3QrZM4bNhFHHpBfQKvcychLegp/vi >>>>>>>>> ew >>>>>>>>> ?usp=sharing >>>>>>>>> >>>>>>>>> This error is "known", I have found a lot of information about it, >>>>>>>>> and I have tried some of the solutions specified, and ... I am >>>>>>>>> testing some changes in SimpleLoader... (I'm sure Carlos could give >>>>>>>>> us some light on this... I see his comments...) >>>>>>>>> >>>>>>>>> Hiedra >>>>>>>>> >>>>>>>>> -----Mensaje original----- >>>>>>>>> De: Maria Jose Esteve <mjest...@iest.com> Enviado el: sábado, 11 >>>> de >>>>>>>>> diciembre de 2021 23:01 >>>>>>>>> Para: dev@royale.apache.org >>>>>>>>> Asunto: RE: IE11 takes several seconds to load >>>>>>>>> >>>>>>>>> Hi Hugo, I don't know if I have understood the situation >>>> correctly... >>>>>>>> correct me if I am wrong: >>>>>>>>> >>>>>>>>> - We have a problem with minification in Release. >>>>>>>>> - We have an initial loading problem produced by using 'animate' >>>>>>>>> from >>>>>>>> 'SimpleLoader' BUT it ONLY occurs in IE11. >>>>>>>>> It has been ruled out that it is only with Office 2016/365 why do >>>>>>>>> you >>>>>>>> comment that you have simply excluded it from compatibility? >>>>>>>>> - It has not been clear to me if the OS, in this case W10, is also >>>>>>>> present in our equation. >>>>>>>>> - The TEST application "with a simple label" loads the Add-In, >>>> right? >>>>>>>>> 😝 >>>>>>>>> >>>>>>>>> These are the assumptions that we know? >>>>>>>>> >>>>>>>>> One question... are you using @externs with .js inclusion normally? >>>>>>>>> >>>>>>>>> Hiedra >>>>>>>>> >>>>>>>>> -----Mensaje original----- >>>>>>>>> De: Hugo Ferreira <hferreira...@gmail.com> Enviado el: sábado, 11 >>>> de >>>>>>>>> diciembre de 2021 13:24 >>>>>>>>> Para: Apache Royale Development <dev@royale.apache.org> >>>>>>>>> Asunto: Re: IE11 takes several seconds to load >>>>>>>>> >>>>>>>>> I decided to not support Office 2016 for Windows. >>>>>>>>> It's easy to remove from the manifest file. >>>>>>>>> >>>>>>>>> Hugo Ferreira <hferreira...@gmail.com> escreveu no dia sábado, >>>>>>>>> 11/12/2021 >>>>>>>>> à(s) 11:40: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> About Add-In, Microsoft reports that the application starts with a >>>>>>>>>> blank screen and it's true (almost a minute). >>>>>>>>>> It takes a long, long time to show the first screen (only happens >>>>>>>>>> with IE11). >>>>>>>>>> >>>>>>>>>> I tested with an application with only a TEST label without >>>>>>>>>> anything else and even so, takes several seconds to show the label >>>>>>>>>> (on Edge, Chrome, Safari open instantly). >>>>>>>>>> >>>>>>>>>> This is a know issue ? >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>> >>>>