SUMMARY: Just rendered a masterplan for architectural project. It in A0 size. It is high quality for better print results. Gwenview doesn't open the image. In plasma 5 it used to work, now it won't. Gwenview terminal log: kf.i18n.kuit: "Unknown subcue ':whatsthis,' in UI marker in context {@info:whatsthis, %1 the action's text}." org.kde.kdegraphics.gwenview.lib: Unresolved mime type "image/x-mng" org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type "image/x-samsung-srw" qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 256 megabytes qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 256 megabytes qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 256 megabytes INFO: Operating System: Arch Linux KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.7.9-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i5-9300H CPU @ 2.40GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 + Nvidia
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 ***