[Bug]: 图片显示空白
Preflight Checklist
- [x] 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
win11
Installed via
.exe
Steps to reproduce
图片格式png
软件内显示
实际的图
Expected Behavior
正常显示
Actual Behavior
显示空白
Error message
No response
Additional Information
No response
Sample file
No response
后面多张图都是显示为空白
左侧预览正常
图片格式都是png
Can you check the console for any errors? Debug > Toggle DevTools > Console
You could also try it in the latest OpenComic build?
Build: https://mega.nz/file/fWwkGYwa#HUSW0eoWwOSukiSCjVaKQOpPWSb1HeE4zM-_NgMBH0Q
Can you check the console for any errors? Debug > Toggle DevTools > Console
You could also try it in the latest OpenComic build?
Build: https://mega.nz/file/fWwkGYwa#HUSW0eoWwOSukiSCjVaKQOpPWSb1HeE4zM-_NgMBH0Q 重新安装后,打开黑屏了
You could also try it in the latest OpenComic build?
Build: https://mega.nz/file/fWwkGYwa#HUSW0eoWwOSukiSCjVaKQOpPWSb1HeE4zM-_NgMBH0Q
下载安装 1.4.1.master.46ba727 后,打开软件黑屏报错,我重新安装1.4.1,软件正常能打开
下载安装 1.4.1.master.46ba727 后,打开软件黑屏报错,我重新安装1.4.1,软件正常能打开
Try this other build, there was an error when migrating cache data to new version f61e6ce3555d540eb61fb1a0065550a0fdb4f208
Build: https://mega.nz/file/WGxx0BTJ#53zPsdJaomKVCREYLFM-WVPdXqwQJaFsfjYUmPD6OPg
Are the images in avif format?
It seems to be the same error as https://github.com/ollm/OpenComic/issues/268 and https://github.com/ollm/OpenComic/issues/315#issuecomment-2575303134, and it seems to be related to Chrome https://github.com/flutter/flutter/issues/160600, I will try to investigate further.
下载安装 1.4.1.master.46ba727 后,打开软件黑屏报错,我重新安装1.4.1,软件正常能打开
Try this other build, there was an error when migrating cache data to new version f61e6ce
Build: https://mega.nz/file/WGxx0BTJ#53zPsdJaomKVCREYLFM-WVPdXqwQJaFsfjYUmPD6OPg
Are the images in avif format?
It seems to be the same error as #268 and #315 (comment), and it seems to be related to Chrome flutter/flutter#160600, I will try to investigate further.
格式png
https://mega.nz/file/sd8FzBjT#X5rAdH048Gkz7oHzJKShpG-PYQCCMHTSZO6VQE4Z0ec
Thank you for the sample file! It helped me find the error.
The error occurred when trying to detect whether an image is animated or not (in order to decide whether to use image interpolation). It seems that some PNG images cause this error. I have made some changes to ignore it in these cases and treat the image as non-animated 1439b9b584aa4a3e1703b641c1e7f36f890dff07
Buid: https://mega.nz/file/yGxTSZyB#xSA1KInb71wVX8d9GNdPxxz2_erIW9nWUiCj4wSqPrA
Closing this, since the fix is now available in v1.6.0