quickviewer icon indicating copy to clipboard operation
quickviewer copied to clipboard

Double page mode crash

Open eddiezato opened this issue 4 years ago • 2 comments

Steps for reproduce:

  • Open some .cbz file;
  • Press Y to enable the 2page spread mode;
  • Press Space to go to the next page, do it several times;
  • Press Y again 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 avatar Sep 24 '21 03:09 eddiezato

@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.

kanryu avatar Sep 26 '21 09:09 kanryu

I don't think anyone should be allowed to delete .cbz opened in QV. What is the purpose of doing this?

eddiezato avatar Sep 26 '21 13:09 eddiezato