Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

check populating results window #447

Closed mfrasca closed 6 years ago

mfrasca commented 6 years ago

in view.py we have this comment …

            # don't bother with a task if the results are small,
            # this keeps the screen from flickering when the main
            # window is set to a busy state

then follows a test on len(results) and I could not immediately see whether we do what we say, or the precise opposite.

I'm afraid this falls in the fibra cases #133, which I still think we should remove. I also have the impression that this fibra loop is freezing the interface in 3.1, when you do two large searches in fast sequence.

mfrasca commented 6 years ago

I've removed the fibra generator for this case, and replaced it with a Thread. structure of the Thread, so that it respects object ownership: