Menu

#517 File dialog based observation source UI freeze

Defect
closed-fixed
nobody
None
9
2018-06-01
2016-05-03
David Benn
No

There is a non-deterministic UI freeze before file based observation source file choosers load.

I suspect I saw this in the previous release but was unable to reproduce it.

This has the smell of a deadlock. Need to look at what changed in the plugin handling code in the last two releases.

Discussion

  • David Benn

    David Benn - 2018-03-28

    This appears to happen before the ob source plugin file chooser dialog is finished being created or at least opened. Debug efforts should start there. If the dialog (a singleton as I recall) is opened successfully once, it seems to be okay for all file based obs source plugins thereafter.

    Given the nature of deadlocks however, I may just be getting fooled.

     

    Last edit: David Benn 2018-03-28
  • David Benn

    David Benn - 2018-03-30
     
  • David Benn

    David Benn - 2018-03-30

    Looks like I'll need to move the file chooser code to a method that's called before the retriever code in the background thread.

     
  • David Benn

    David Benn - 2018-03-31

    I have fixed this non-determinisitc bug by moving the file chooser into a configure() method that is called before the background thread is invoked to load observations. It's that part we want progress info for anyway.

     
  • David Benn

    David Benn - 2018-03-31

    Tested all ob source plugins since they all use this common code.

     
  • David Benn

    David Benn - 2018-06-01

    Fixed in 2.20.0

     
  • David Benn

    David Benn - 2018-06-01
    • status: open --> closed-fixed
     

Log in to post a comment.