Rain92 / UltimateMangaReader

A feature-rich online manga reader for Kobo E-Ink devices based on Qt5.
GNU Affero General Public License v3.0
180 stars 25 forks source link

[Bug] UMR crashes when resizing white pages #35

Closed azycat closed 3 years ago

azycat commented 3 years ago

Hello,

UMR crashes when loading completely white pages of certain mangas. It occurs when reading the manga online and also during download.

I have been able to replicate this problem on two mangas. "Tsukihime" (page ~33, end of chapter 1 beginning of chapter 2) and "Tsukiatte agetemo ii ka na" (page 2).*** I tried reading from multiple sources: MangaHub, MangaPanda, MangaPlus.

***These pages happen to be completely white pages.

I looked at the logfile and it seems to be crashing when the ReSizeBilinear function is applied to these completely white pages. I noticed there's an option in the settings that removes white margins. When I disabled that option, these pages are able to load just fine. So I think that it is crashing because the function is trying to remove the entire white page lol.

I've attached the log file for when it crashes on page ~33ish of Tsukihime. It's not a huge deal honestly since it works perfectly fine when the option is disabled, but I thought it might be useful for you to know that this issue exists.

log.txt

Have a nice day.

Rain92 commented 3 years ago

Thanks, fixed in the latest release.