View Single Post
Old 02-07-2009, 01:04 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,407
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by itimpi View Post
I added some msgbox() calls (using easygui) around the various calls to update the progress dialog. When these were in place the dialog updated as expected, and then hid itself at the end as expected. I am sure this is a clue to the problem on Windows although I am not sure yet what it means
It is almost as though the dialog is not getting a chance to process events and update itself at the appropriate points.

I will continue to investigate further.
Hmm there is a periodic call to QApplication.processEvents(), but maybe I should just refactor the code to make it run in a separate thread.
kovidgoyal is offline   Reply With Quote