Skip to content

[Bug]: TypeError: Cannot read properties of undefined (reading 'progress') when switching EPUB chapters #500

@Ginger-233

Description

@Ginger-233

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

OpenComic Version

1.6.5

Operating System

Windows11

Installed via

.exe

Steps to reproduce

  1. Open a specific folder containing multiple comic files (specifically EPUB format).
  2. Open one of the EPUB files and scroll/navigate to the very last page.
  3. Attempt to turn the page again to trigger the transition to the next file ).

Expected Behavior

The application should smoothly transition to the next file/chapter in the folder without any errors.

Actual Behavior

An error window "TypeError: Cannot read properties of undefined (reading 'progress')" pops up repeatedly. All buttons and UI elements within the software become unresponsive. The only way to stop the popups is to force-close the application or press 'Esc' to exit.

Error message

Image

Additional Information

I have performed further testing to narrow down the cause:

  1. PDF Files: Folders containing only PDF files work perfectly with no errors during transitions.
  2. Mixed Folders (PDF + EPUB): When performing the same action on an EPUB file within a mixed folder, the same error popup appears, but interestingly, it only pops up once instead of looping.
  3. EPUB Folders: The error consistently loops and crashes the UI as described.

Attempted Fixes (Failed):

  • Running the application with Administrator privileges.
  • Performing a clean uninstallation (including deleting app data folders) and reinstalling.

Sample file

No response

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions