Summary: | gwenvew doesn't open high resolution png file | ||
---|---|---|---|
Product: | [Applications] gwenview | Reporter: | saxn <saileshpoudel0> |
Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | bugs_kde_org, jakob.hellermann, kde, nate, nathanael.barentin, oded |
Priority: | NOR | Keywords: | qt6, regression |
Version First Reported In: | 24.02.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
saxn
2024-03-14 11:15:32 UTC
AS a workaround you can set the environment variable QT_IMAGEIO_MAXALLOC=8192 as described in https://doc.qt.io/qt-6/qimagereader.html#setAllocationLimit I think this is a duplicate of bug https://bugs.kde.org/show_bug.cgi?id=482195 And the problem is not only with Gwenview, it's also with other KDE image viewer/editors since the Plasma 6 update. Okular and Kolourpaint give the same error. (In reply to Jakob Hellermann from comment #1) > AS a workaround you can set the environment variable > QT_IMAGEIO_MAXALLOC=8192 as described in > https://doc.qt.io/qt-6/qimagereader.html#setAllocationLimit I can confirm. It's works for heic files, but when I am trying to open 4k/60Hz movie, gwenview crashing. QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::setOpacity: Painter not active QPainter::end: Painter not active, aborted When you using fish shell, use it to open gwenview. After that, high resolution images should be opened without problems. env "QT_IMAGEIO_MAXALLOC= 8128" gwenview *** This bug has been marked as a duplicate of bug 482195 *** |