Hi Maria, Sorry, I simply meant that the bead is missing in the TDJ, that is why it is not working.
I assume it should be: <j:TriStateCheckBox text="Not Checked (with ReadOnly bead)"> <j:beads> <j:ReadOnly /> </j:beads> </j:TriStateCheckBox> but is is currently: <j:TriStateCheckBox text="Not Checked (with ReadOnly bead)"/> On Mon, Dec 13, 2021 at 1:29 PM Maria Jose Esteve <mjest...@iest.com> wrote: > Hi, > I think it's all correct now, at least regarding the styles :P > @Harbs, please could you check that it works for you now? I have verified > it by compiling TDJ with mvn, ant and asconfigc. > > Sorry about the ReadOnly bead error, in the example project it works and > in my main working project too but effectively in the TDJ it doesn't, and I > don't know why, I will check it. > > I'm also going to try to find out why the ant and asconfigc builds are not > copying (or generating) the images that are not shown in the TDJ :( > > Thx > > Hiedra > > -----Mensaje original----- > De: Greg Dove <greg.d...@gmail.com> > Enviado el: domingo, 12 de diciembre de 2021 21:55 > Para: Apache Royale Development <dev@royale.apache.org> > Asunto: Re: IE11 takes several seconds to load > > 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.c > > ss > > > > 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"]([{"tra > > > > ns 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"]([{"trans > > > fo 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 ? > > > >> > > > > > > > > >