quickviewer
quickviewer copied to clipboard
Double page mode crash
Steps for reproduce:
- Open some
.cbzfile; - Press
Yto enable the 2page spread mode; - Press
Spaceto go to the next page, do it several times; - Press
Yagain to disable 2page spread mode.
QuickViewer will crash.
Win 10 x64, the latest QuickViewer-git, built with msys2/mingw64, Qt 5.15.2
In the official build it happens less often, but it happens too.
@eddiezato Thank you for reporting.
But the cause of the problem is not there. The cause is that since 1.1.7, the file handle is destroyed after reading the archive with sevenzip. This is so that you can rename or delete the archive file after reading the archive with QuickViewer, but that behavior is an unstable factor.
I don't think anyone should be allowed to delete .cbz opened in QV. What is the purpose of doing this?