I have done some more testing. Things that *did not* solve the problem:
- Uninstalling the antivirus
- Disabling just about every third-party program from startup
- Updating the video driver (coincidentally, AMD has just offered a new version)
- Starting Calibre with the --ignore-plugins (well, it worked *once*, and then never again)
However, I noticed one peculiar thing that might give a hint to someone with a better understanding of the program innards: although Calibre itself becomes non-responsive when the issue hits, the window can still be moved or minimized... and when I do that, I find that the Calibre splash (the one that says "Starting up, please wait... Initializing user interface...") is still showing up, only moved to the background.
I also found that running
calibre --start-in-tray
works fine, no matter what layout has been used.
As I mentioned, I have no idea of how the innards of Calibre work... but it seems to me that the UI code hangs trying to draw the cover grid *if a specific part of the rest of the program has not yet been loaded.* Maybe it relies on a service that it's not yet available, or maybe it causes a racing condition, I don't know, I'm not much of a programmer.
Why does it work in Windows safe mode, then? Beats me. Maybe it just loads fast enough when there's less stuff using machine resources.
This is by no means a competent technical analysis; this is what in Portuguese is called a "palpite", which could be roughly translated to English as "uninformed guess."
|