Hi DiapDealer,
Quote:
Originally Posted by DiapDealer
On Linux and Windows, it takes Book View and Preview being open to trigger it (when deleting a PNG that's in the displayed page). If I'm in Code View it never crashes--regardless of whether Preview is open or not.
|
Wow that is interesting. So it must be some sort of race or interference between BookView and Preview. I simply can't understand why it is only with png files and not jpegs as well.
Since QtWebKit supports both, I wonder if this is actually a long-standing bug in QtWebkit when it comes to handling PNG files. As for Sigil, as far as I know, we really make no internal distinction treating all Image files the same, and simply load the file as a resource in the QtWebKit widget.
Hmm ... until we can understand exactly what is going on here, we might want to auto-hide Preview if BookView is opened, and Un-auto-hide it if you return to CodeView?
Another alternative if this bug is internal to Qt is to turn off Preview automatically when deleting files until the delete is completely done and then re-opening it.
This is one strange bug.
KevinH