Menu

#1369 flash feedback is still a bit slow

nextrelease
open-fixed
nobody
None
5
2022-04-23
2015-04-12
No

I'm painfully close to figuring out what's going on with the flash feedback, where it hangs for a short while when providing feedback. I'm chasing after this because a bug Tami at Goddard saw motivated me to brush off the hang detector and get it into production. It does a great job of detecting these slow flashes, printing warnings when the event queue is slow to process.

One thing I've noticed with this is that when the focus is changed to another plot, there's an extraneous event fired off by the DasPlot, where the focus will go back to the original plot and then return to the final plot. E.g. plot_1 is selected, but then focus returns to plot_0, and then returns to plot_1 leaving things in a correct state. This would have the effect of making the flash three times slower than it should be, and erratic, both of which are true.

Here's a procedure:
1. plot vap+inline:rand(1000)
2. plot below vap+inline:rand(1000)
3. in the console tab, turn up the log level of logger "gui" to "FINE"
4. click plot_0 to focus on it.
5. clear the console tab.
6. click plot_1 to focus on it. Often you'll see the plot_1, plot_0, plot_1 focus.

Discussion

  • Jeremy Faden

    Jeremy Faden - 2015-04-12
    gui: set plotElement plotElement_1
    gui: "" from  of "null" of "data"null of "Autoplot (dev22602)"
    gui: set plot plot_1
    console.stderr: painter is taking too long to paint (123 ms): org.virbo.autoplot.dom.CanvasController$5@28a9e620
    gui: "focusEvent" from  of "canvas" of "Autoplot (dev22602)"
    gui: set plotElement plotElement_0
    gui: "" from  of "null" of "data"null of "Autoplot (dev22602)"
    gui: "" from  of "null" of "data"null of "Autoplot (dev22602)"
    gui: set plot plot_0
    gui: handled "focusEvent" in (ms): 846
    gui: "focusEvent" from  of "canvas" of "Autoplot (dev22602)"
    gui: set plotElement plotElement_1
    gui: "" from  of "null" of "data"null of "Autoplot (dev22602)"
    gui: set plot plot_1
    gui: handled "focusEvent" in (ms): 848
    console.stderr: painter is taking too long to paint (123 ms): org.virbo.autoplot.dom.CanvasController$5@28a9e620
    
     
  • Jeremy Faden

    Jeremy Faden - 2022-04-23
    • status: open --> open-fixed
     
  • Jeremy Faden

    Jeremy Faden - 2022-04-23

    I don't think this is a problem any more, maybe it was fixed.