Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Page stutter/lagging in webtoon mode #367

Open
1 task done
TinkieWanker opened this issue Apr 5, 2025 · 3 comments
Open
1 task done

[Bug]: Page stutter/lagging in webtoon mode #367

TinkieWanker opened this issue Apr 5, 2025 · 3 comments
Assignees

Comments

@TinkieWanker
Copy link

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

Operating System

windows 10

Installed via

.exe

Steps to reproduce

  1. open a high resolution webtoon.
  2. scrolling down with either mouse dragging or controller.
  3. program stutters (while loading in new pages?)

This might be because opencomic isnt allocated enough processing power, I have a pretty beefy rig and in task manager everything is very low utilisation when doing this.

I could not find a in-depth performance section in the settings area, and with the stuttering happening every 10 seconds it was very distracting.

I would also like to add that i have tried some very basic things such as,

  1. converting the files to .avif as to lower the file size and thus memory load needed to load the comic.
  2. compressing the chapers in a .zip as opposed to a normal folder.
  3. moving the webtoons location to a different drive (another SSD) as this comic was originally loaded onto my desktop.

Expected Behavior

  1. open a high resolution webtoon.
  2. scrolling down with either mosue dragging or controller.
  3. program proceeds to function smoothly without any stuttering.

When reading the same files on Mihon on an android mobile device there is no noticable stuttering present.

Actual Behavior

The whole program freezes multiple times. (Stuttering/Lagging) while reading high resolution images.

Error message

No response

Additional Information

I would like to add that I am using a 4k 120HZ oled tv to read the comic. The high resolution might be causing the issue although I do doubt it.

Sample file

No response

@ollm ollm self-assigned this Apr 6, 2025
@ollm ollm added the duplicate label Apr 6, 2025
@ollm
Copy link
Owner

ollm commented Apr 6, 2025

Thanks for reporting!

I think it might be an issue related to #337, try the suggestions there to see if they fix the issue.

I'm also leaving a build of the master branch, in case the issue is currently fixed.

Master build: https://mega.nz/file/yWJDWQoI#AJPZ85kdZEGZDygzpC1fsRL1sF49WDvJEFqJlUsJasI

If none of this solves the issue, you can do a performance record from DevTools when the stuttering happens and attach the profile/result, to see what is causing the stuttering, I leave you an example video how to do it.

2025-04-06.16-53-20.mp4

@TinkieWanker
Copy link
Author

Thanks for the response!

I tried the fix and while i thought it worked for a second the problem actually still persisted. I have however found a part of the reason the issue is happening.

The issue (lagging pages/ freezing) only happens in webtoon mode with no zooming in/out so the pixels of the image are aligned with the pixels of my display (I think at least) (basically just no scaling happening)

I followed the performace record steps in the video but couldnt upload the file to github but I found a free file hosting webstite. link to performance json: https://easyupload.io/spe6f9

I have also found an issue that might be linked to this one.

Sometimes when the program stutters while scrolling it automatically appears to scroll down super quickly so it's just blasting past part of the chapter. just though I migh add it but I'll search if this issue already has a fix in the open/closed issues tab.

@TinkieWanker
Copy link
Author

I see a guy with the same page skipping issue made another issue thread with that. I'll link my performace record of that happening in that thread. (issue #369 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants