Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    The data changed. I'm printing flight plan data, which is dynamic and can change with many variables.

    So is there something I can do to determine if a PDF file made it back to IE? Anything I can do to debug this?

    Thank you.

    Comment


      #17
      Sure - all the standard approaches work, for example, you can use Firebug (or any similar tools from other browsers) to look at the responses from the server.

      Comment


        #18
        I used Fiddler, and I do see the PDF response coming back. However IE8 wasn't showing me the File Download dialog. I changed my code to create a unique file name for the PDF file, and the file dialog now shows up. However, it does this in a new browser tab, the browser tab flashes, and the user has to manually select the tab to see the File Download dialog. Is there something that can be done to improve the user experience?

        Here is my code used to invoke the PDF generation:
        Code:
        DSRequest requestProperties = new DSRequest();
        				Date now = new Date();
        				requestProperties.setExportFilename("flightplan" + now.getTime());
        				requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
        				requestProperties.setContentType("application/pdf");
        				requestProperties.setDownloadResult(true);
        				RPCManager.exportContent(content, requestProperties);
        Kind Regards,
        Chris

        Comment


          #19
          The default experience (if you try the Showcase examples) doesn't do this.

          Best guess is that you have code that is manually putting focus back into the browser tab that initiated the download.

          Comment


            #20
            Yep your right, I'm inadvertently putting the focus back on the app. I need to modify the content prior to printing it, but it wasn't drawing before I made the RPCManager.exportContent() call. To allow the redraw to complete, I put a timer in before calling RPCManager.exportContent(). I only did this after I tried calling content.markForRedraw() and content.redraw(), which didn't force the content to redraw before exporting. Is there a better way to do this?

            Here is my code with the timer:
            Code:
            		// Expand required and selected sections
            		expandContentPriorToPrinting();
            		Timer t = new Timer() {
            			@Override
            			public void run() {
            				// Now print it
            				DSRequest requestProperties = new DSRequest();
            				Date now = new Date();
            				requestProperties.setExportFilename("flightplan" + now.getTime());
            				requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
            				requestProperties.setContentType("application/pdf");
            				requestProperties.setDownloadResult(true);
            				RPCManager.exportContent(content, requestProperties);
            			}
            		};
            		t.schedule(500);
            Thanks!

            Comment


              #21
              Note quite following the theory here.. the results suggest that expandContentPriorToPrinting() may be asynchronous in some way (data fetch?) and hence interfere with focus. If it is, you should wait for whatever is asynchronous before calling exportContent().

              Comment


                #22
                expandContentPriorToPrinting() is synchronous. If I then immediately following call RPCManager.exportContent(), the content that expandContentPriorToPrinting() (for example expanding a SectionStack, or making a canvas visible) hasn't drawn yet, and it doesn' show up on the export.

                I put the timer in to give it a chance to draw. This works, but has the side affect of letting the focus go back to the app, while the download opens in the second browser tab.

                Comment


                  #23
                  If you have to wait for it, something isn't synchronous :)

                  We can't do much analysis from just the method call (expandContentPriorToPrinting()) but you are looking for something like a markForRedraw() or a resize that causes a delayed redraw on a component that has keyboard focus - perhaps a form with autoFocus:true or an editable ListGrid, that kind of thing.

                  The "redraws" log in the Developer Console can show you if anything is redrawing sometime after your exportContent() call. You might also enable the "nativeFocus" log although this is more technical.

                  Comment


                    #24
                    Yes, something is being asked to redraw by the expandContentPriorToPrinting() call. That is the crux of the problem. I need the redraws to finish before I call RPCManager.exportContent().

                    How would I ensure that everything has finished drawing first?

                    Thanks for your patience. Posting on the forums isn't always the best mechanism for communication.

                    Comment


                      #25
                      The key to communicating on the forums is to provide details.. we can't do much when shown just a call to expandContentPriorToPrinting() but you've just now told us you're redrawing something. That's useful. Just think about what details someone might need in order to help, and there will be less back and forth.

                      markForRedraw() is asynchronous, but redraw() is synchronous. Likewise you might need a call to layout.reflowNow(). Using the "redraws" log you can see what might be redrawing only after a delay and avoid this.

                      However again this is seemingly a focus() issue, so a simpler solution might be to just place focus elsewhere before you reorganize the content. Again the "nativeFocus" log could show you where focus is going.

                      Comment


                        #26
                        I have added reflowNow() calls to my code with no luck.

                        I've brought up the console, and turn on debug logging for both redraws and draws. I don't see any redraws in the log, but I do see draws happening after the print window comes up. These are for items that weren't visible before and are likely being drawn for the first time.

                        I didn't see anything in the log for turning on nativeFocus. Where do I find that?

                        So I'm still not sure what I need to do here. When the user presses the print button in my app, I change the contents of my layout, and then make the exportContent() call. When I changed the contents, some things were modified, some were set visible for the first time likely resulting in their first drawing. How do I wait for all that to complete before calling exportContent? I understand all that drawing is asynchronous, so is this just not possible?

                        Here is the log
                        Code:
                        14:51:55.152:MUP5:INFO:redraws:isc_Button_91:Scheduling redraw (setTitle)
                        14:51:56.372:MUP5:INFO:redraws:isc_Button_90:Scheduling redraw (setTitle)
                        14:51:57.714:MUP5:INFO:redraws:isc_Button_89:Scheduling redraw (setTitle)
                        14:51:58.776:MUP5:INFO:redraws:isc_Button_93:Scheduling redraw (setTitle)
                        14:51:59.140:MUP5:INFO:draws:isc_PrintWindow_0:draw(): drawing PrintWindow
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef, undef, undef, undef, undef, undef, undef, undef)
                            [a]MathFunction.invokeSuper(_1=>[Class Window],  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            Window.draw(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef)
                            PrintWindow.$57j(_3=>"<div class='normal' ><div class='FlightP..."[32789],  _4=>Obj)
                            [c]Class.fireCallback(_1=>Obj,  _2=>"HTML,callback",  _3=>Array[2],  _4=>undef,  _5=>undef)
                            [c]Canvas.getPrintHTML(_1=>Array[1],  _2=>Obj,  _3=>Obj,  _4=>undef,  _5=>Array[1],  _6=>1)
                            [c]Canvas.gotComponentPrintHTML(_1=>"<div class='normal' ><div class='FlightP..."[32789],  _2=>Obj)
                            ** recursed on [c]Class.fireCallback
                        
                        14:51:59.145:MUP5:INFO:draws:isc_PrintWindow_0_header:draw(): drawing HLayout with parent: [PrintWindow ID:isc_PrintWindow_0]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef, undef, undef, undef, undef, undef)
                            [a]MathFunction.invokeSuper(_1=>[Class Window],  _2=>"layoutChildren",  _3=>"initial draw",  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            Window.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef,  _4=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.148:MUP5:INFO:draws:isc_PrintWindow_0_headerIcon:draw(): drawing Img with parent: [HLayout ID:isc_PrintWindow_0_header]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef, undef, undef)
                            StatefulCanvas.draw(_1=>undef,  _2=>undef,  _3=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.153:MUP5:INFO:draws:isc_PrintWindow_0_headerLabelParent:draw(): drawing Canvas with parent: [HLayout ID:isc_PrintWindow_0_header]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.155:MUP5:INFO:draws:isc_PrintWindow_0_headerLabel:draw(): drawing Label with parent: [Canvas ID:isc_PrintWindow_0_headerLabelParent]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef, undef, undef)
                            StatefulCanvas.draw(_1=>undef,  _2=>undef,  _3=>undef)
                            Canvas.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.159:MUP5:INFO:draws:isc_PrintWindow_0_printButton:draw(): drawing IButton with parent: [HLayout ID:isc_PrintWindow_0_header]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef, undef, undef)
                            StatefulCanvas.draw(_1=>undef,  _2=>undef,  _3=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.163:MUP5:INFO:draws:isc_PrintWindow_0_closeButton:draw(): drawing ImgButton with parent: [HLayout ID:isc_PrintWindow_0_header]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef, undef, undef)
                            StatefulCanvas.draw(_1=>undef,  _2=>undef,  _3=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.170:MUP5:INFO:draws:isc_PrintWindow_0_body:draw(): drawing Layout with parent: [PrintWindow ID:isc_PrintWindow_0]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef, undef, undef, undef, undef, undef)
                            [a]MathFunction.invokeSuper(_1=>[Class Window],  _2=>"layoutChildren",  _3=>"initial draw",  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            Window.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef,  _4=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.175:MUP5:INFO:draws:isc_PrintCanvas_0:draw(): drawing PrintCanvas with parent: [Layout ID:isc_PrintWindow_0_body]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            PrintCanvas.draw()
                            Layout.layoutChildren(_1=>"initial draw",  _2=>undef,  _3=>undef)
                            Layout.drawChildren()
                            ** recursed on Canvas.draw
                        
                        14:51:59.192:MUP5[E]:INFO:draws:isc_HTMLPane_183:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_125]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.210:MUP5[E]:INFO:draws:isc_HTMLPane_184:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_126]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.225:MUP5[E]:INFO:draws:isc_HTMLPane_187:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_129]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.238:MUP5[E]:INFO:draws:isc_HTMLPane_188:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_130]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.250:MUP5[E]:INFO:draws:isc_HTMLPane_189:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_131]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.262:MUP5[E]:INFO:draws:isc_HTMLPane_190:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_132]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.273:MUP5[E]:INFO:draws:isc_HTMLPane_191:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_133]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.284:MUP5[E]:INFO:draws:isc_HTMLPane_192:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_134]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.296:MUP5[E]:INFO:draws:isc_HTMLPane_209:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_143]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.304:MUP5[E]:INFO:draws:isc_HTMLPane_210:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_143]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.316:MUP5[E]:INFO:draws:isc_HTMLPane_211:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_144]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.321:MUP5[E]:INFO:draws:isc_HTMLPane_212:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_144]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.333:MUP5[E]:INFO:draws:isc_HTMLPane_213:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_145]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.339:MUP5[E]:INFO:draws:isc_HTMLPane_214:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_145]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.350:MUP5[E]:INFO:draws:isc_HTMLPane_215:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_146]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.357:MUP5[E]:INFO:draws:isc_HTMLPane_216:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_146]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.368:MUP5[E]:INFO:draws:isc_HTMLPane_217:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_147]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.373:MUP5[E]:INFO:draws:isc_HTMLPane_218:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_147]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.384:MUP5[E]:INFO:draws:isc_HTMLPane_219:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_148]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.389:MUP5[E]:INFO:draws:isc_HTMLPane_220:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_148]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.402:MUP5[E]:INFO:draws:isc_HTMLPane_195:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_136]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.408:MUP5[E]:INFO:draws:isc_HTMLPane_196:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_136]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.429:MUP5[E]:INFO:draws:isc_HTMLPane_197:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_137]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.435:MUP5[E]:INFO:draws:isc_HTMLPane_198:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_137]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.449:MUP5[E]:INFO:draws:isc_HTMLPane_199:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_138]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.455:MUP5[E]:INFO:draws:isc_HTMLPane_200:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_138]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.472:MUP5[E]:INFO:draws:isc_HTMLPane_201:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_139]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.478:MUP5[E]:INFO:draws:isc_HTMLPane_202:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_139]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.489:MUP5[E]:INFO:draws:isc_HTMLPane_203:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_140]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.497:MUP5[E]:INFO:draws:isc_HTMLPane_204:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_140]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.509:MUP5[E]:INFO:draws:isc_HTMLPane_205:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_141]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.516:MUP5[E]:INFO:draws:isc_HTMLPane_206:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_141]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>4)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.530:MUP5[E]:INFO:draws:isc_HTMLPane_222:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_150]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.553:MUP5[E]:INFO:draws:isc_HTMLPane_223:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_151]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.576:MUP5[E]:INFO:draws:isc_HTMLPane_224:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_152]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.599:MUP5[E]:INFO:draws:isc_HTMLPane_225:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_153]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.622:MUP5[E]:INFO:draws:isc_HTMLPane_226:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_154]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.645:MUP5[E]:INFO:draws:isc_HTMLPane_227:draw(): drawing HTMLPane with parent: [VLayout ID:isc_ExpandableStackSection_155]
                            [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                            Canvas.draw(_1=>undef)
                            [a]MathFunction.invokeSuper(_1=>null,  _2=>"draw",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
                            [a]MathFunction.Super(_1=>"draw",  _2=>[object Arguments],  _3=>undef)
                            HTMLFlow.draw()
                            Layout.layoutChildren(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>undef,  _3=>undef)
                            Layout.reflowNow(_1=>"member changed visibility: [HTMLPane ID:..."[57],  _2=>3)
                            anonymous()
                            [c]EventHandler.runTeas()
                            [c]EventHandler.$h2()
                            [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(),  _2=>[object MouseEvent])
                            anonymous(event=>[object MouseEvent])
                        
                        14:51:59.854:TMR4:DEBUG:redraws:clearRedrawQueue: 4 redraws (4 items), 10ms
                        14:51:59.856:TMR4:INFO:redraws:isc_Label_46:Scheduling redraw (setContents)
                        14:51:59.995:TMR6:DEBUG:redraws:clearRedrawQueue: 1 redraws (1 items), 3ms
                        14:52:00.508:TMR5:INFO:redraws:isc_Label_46:Scheduling redraw (setContents)
                        14:52:00.516:TMR7:DEBUG:redraws:clearRedrawQueue: 1 redraws (1 items), 5ms

                        Comment


                          #27
                          Drawing, as in calls to draw() and redraw(), is synchronous.

                          markForRedraw() is asynchronous and Layout reflows due to new members or size changes are asynchronous, but can be done synchronously by calling reflowNow().

                          "nativeFocus" is enabled via the Logging Preferences menu in the Developer Console via choosing "More.." and adding it. Make sure you match capitalization.

                          It looks like you didn't log when your call to exportContent() is happening and this log won't show anything useful until you do.

                          Comment


                            #28
                            I have turned on nativeFocus, and the RPCManager and RPCManagerResponse to debug. Hereis the log.

                            Code:
                            15:30:57.415:MUP1:INFO:redraws:isc_Button_41:Scheduling redraw (setTitle)
                            15:30:57.448:MUP1:INFO:redraws:isc_Button_42:Scheduling redraw (setTitle)
                            15:30:57.472:MUP1:INFO:redraws:isc_Button_43:Scheduling redraw (setTitle)
                            15:30:57.495:MUP1:INFO:redraws:isc_Button_45:Scheduling redraw (setTitle)
                            15:30:57.545:MUP1:INFO:RPCManager:sendQueue[65]: 1 RPCRequest(s); transport: hiddenFrame; target: http://localhost:8080/fpo/fpo/sc/IDACall?isc_rpc=1&isc_v=SNAPSHOT_v8.3d_2012-07-27&isc_tnum=65
                            15:30:57.558:MUP1:INFO:RPCManager:Sending data via frame isc_HiddenFrame_0 to server at URL: http://localhost:8080/fpo/fpo/sc/IDACall?isc_rpc=1&isc_v=SNAPSHOT_v8.3d_2012-07-27&isc_tnum=65
                            15:30:57.577:MUP1:INFO:draws:isc_HiddenFrame_0$ig:draw(): drawing Canvas
                                [a]MathFunction.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef)
                                Canvas.draw(_1=>undef)
                                Canvas.init(_1=>Obj{ID:isc_HiddenFrame_0$ig},  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef,  _11=>undef,  _12=>undef,  _13=>undef)
                                [a]MathFunction.completeCreation(_1=>Obj{ID:isc_HiddenFrame_0$ig},  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef,  _11=>undef,  _12=>undef,  _13=>undef)
                                [c]Class.create(_1=>Obj{ID:isc_HiddenFrame_0$ig},  _2=>undef,  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef,  _11=>undef,  _12=>undef,  _13=>undef)
                                HiddenFrame.sendData()
                                HiddenFrame.sendForm(_1=>"Submitting to:<B>http://localhost:8080/f..."[611],  _2=>"AUTO_FORM_0",  _3=>Obj)
                                [c]Comm.sendHiddenFrame(_1=>Obj)
                                [c]RPCManager.$84s(_1=>undef,  _2=>null,  _3=>"http://localhost:8080/fpo/fpo/sc/IDACall..."[94],  _4=>Obj)
                                [c]RPCManager.sendQueue(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef)
                                [c]RPCManager.sendRequest(_1=>Obj)
                                [c]DMI.call(_1=>Obj{className:builtin},  _2=>undef,  _3=>undef)
                                anonymous(firstArg=>Obj)
                                callback(_7=>"<div class='normal'  style='position:rel..."[72249], callback())
                                [c]Class.fireCallback(_1=>callback(),  _2=>"html, callback",  _3=>Array[2],  _4=>[VLayout ID:isc_VLayout_79],  _5=>undef)
                                [a]MathFunction.fireCallback(_1=>callback(),  _2=>"html, callback",  _3=>Array[2],  _4=>undef)
                                anonymous(_5=>"<div class='FlightPackageWarning'  style..."[72141])
                                anonymous(childIndex=>2,  html=>"<div class='normal'  style='position:abs..."[66313])
                                callback(html=>"<div class='normal'  style='position:abs..."[66313], callback())
                                ** recursed on [c]Class.fireCallback
                            
                            15:30:57.606:BLR5:DEBUG:nativeFocus:onblur fired on: [ToolStripMenuButton ID:isc_ToolStripMenuButton_3]
                            15:30:57.721:TMR0:DEBUG:redraws:clearRedrawQueue: 4 redraws (4 items), 8ms
                            15:31:00.671:TMR5:INFO:redraws:isc_Label_46:Scheduling redraw (setContents)
                            15:31:00.675:TMR6:DEBUG:redraws:clearRedrawQueue: 1 redraws (1 items), 4ms
                            15:31:05.672:TMR7:INFO:redraws:isc_Label_46:Scheduling redraw (setContents)
                            15:31:05.679:TMR8:DEBUG:redraws:clearRedrawQueue: 1 redraws (1 items), 5ms
                            Last edited by cjustice; 1 Aug 2012, 13:34. Reason: fixed code tag

                            Comment


                              #29
                              OK, the next few steps are up to you.

                              We can't be sure whether a redraw() is causing Chrome to natively switch back to a different tab - this is really just a guess - and we have no code to reproduce this in order to give a definitive reason.

                              You can see the IDs of the widgets that are redrawing in the logs and, using redraw() and reflowNow(), you will be able to ensure everything is done redrawing before you call exportContent().

                              If you've got no draws happening after the export and the tab switch still happens, it suggests some kind of odd native browser bug / gotcha and we'll need a way to reproduce it to look further.

                              Comment


                                #30
                                I was able to track down and eliminate all the draws and redraws that were occurring post call to RPCManager.exportContent(). IE is now behaving correctly, with focus going to the download dialog as it should.

                                Thanks!
                                Chris

                                Comment

                                Working...
                                X