Bug#992918: re: gwenview: fails to save jpg/jpeg image
I got home, and followed Ian's suggestion, and removed "*.jfif" from the top of the list. The problem is now resolved.
Bug#992918: gwenview: fails to save jpg/jpeg image
Can not reproduce the bug on a different KDE installed on Bullseye with Fufu Fang sat next to me (original bug reporter). We suspect something has been changed under the package on Fufu's PC -- /RattusRattus Debian is not always the answer, however it is surprising how many times it is...
Bug#992918: Workaround
I have discovered a workaround. KDE Settings > Applications > File Associations Search for jpeg in the filename pattern. The Filename Patterns in the results bog starts with *.jpe What happens, I wondered, if I click Remove and Accept? What happens is that Gwenview no longer defaults to offering .jpe as the default Save as type and the problem goes away.
Bug#992918:
Further detail: Only "Save asW is affected. "Save" is OK, does not complain about format and retains original file name extension.
Bug#992918: gwenview: fails to save jpg/jpeg image
If I installed the libjpeg62-turbo from Debian Buster, the "automatically select filename extension (.jfif)" would change into "automatically select filename (.jpeg)". I suspect it is the problem with libjpeg62-turbo. On Sun, 2021-08-29 at 13:17 +0100, Ian Goddard wrote: > On Sun, 29 Aug 2021 10:27:30 +0200 Francesco > wrote: > > Package: gwenview > > Version: 4:21.08.0-1 > > Followup-For: Bug #992918 > > > > Dear Maintainer, > > > > *** Reporter, please consider answering these questions, where > > appropriate *** > > > > * What led up to the situation? > > Maybe a shared QT library bug, not only gwenview is affected > > Kolourpaint is also affected. > > I noticed that for both Gwenview & Kolourpaint when the format JPEG > is > selected on the save menu the file extension is set to .jpe rather > than > .jpeg or .jpg. Correcting the extension doesn't resolve the problem > but maybe this is a quirk of the same library. > > Krita is not affected. >
Bug#992918: gwenview: fails to save jpg/jpeg image
On Sun, 29 Aug 2021 10:27:30 +0200 Francesco wrote: Package: gwenview Version: 4:21.08.0-1 Followup-For: Bug #992918 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Maybe a shared QT library bug, not only gwenview is affected Kolourpaint is also affected. I noticed that for both Gwenview & Kolourpaint when the format JPEG is selected on the save menu the file extension is set to .jpe rather than .jpeg or .jpg. Correcting the extension doesn't resolve the problem but maybe this is a quirk of the same library. Krita is not affected.
Bug#992918: gwenview: fails to save jpg/jpeg image
Package: gwenview Version: 4:21.08.0-1 Followup-For: Bug #992918 Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Maybe a shared QT library bug, not only gwenview is affected * What exactly did you do (or not do) that was effective (or ineffective)? Tried to save a jpg from spectacle, it complains about QImageWriter * What was the outcome of this action? "cannot write image: format not supported" "Error when writing file" *** End of the template - remove these template lines *** -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gwenview depends on: ii kinit 5.83.0-2 ii kio5.83.0-2 ii libc6 2.31-17 ii libcfitsio94.0.0-1 ii libexiv2-270.27.3-3+deb11u1 ii libgcc-s1 11.2.0-3 ii libjpeg62-turbo1:2.0.6-4 ii libkf5activities5 5.83.0-2 ii libkf5baloo5 5.83.0-2 ii libkf5completion5 5.83.0-2 ii libkf5configcore5 5.83.0-2 ii libkf5configgui5 5.83.0-2 ii libkf5configwidgets5 5.83.0-3 ii libkf5coreaddons5 5.83.0-2 ii libkf5filemetadata35.83.0-2 ii libkf5guiaddons5 5.83.0-2 ii libkf5i18n55.83.0-3 ii libkf5iconthemes5 5.83.0-2 ii libkf5itemmodels5 5.83.0-2 ii libkf5itemviews5 5.83.0-2 ii libkf5jobwidgets5 5.83.0-2 ii libkf5kdcraw5 21.08.0-1 ii libkf5kiocore5 5.83.0-2 ii libkf5kiofilewidgets5 5.83.0-2 ii libkf5kiogui5 5.83.0-2 ii libkf5kiowidgets5 5.83.0-2 ii libkf5kipi32.0.0 4:21.08.0-1 ii libkf5notifications5 5.83.0-3 ii libkf5parts5 5.83.0-2 ii libkf5purpose-bin 5.83.0-2 ii libkf5purpose5 5.83.0-2 ii libkf5service-bin 5.83.0-2 ii libkf5service5 5.83.0-2 ii libkf5solid5 5.83.0-2 ii libkf5widgetsaddons5 5.83.0-2 ii libkf5xmlgui5 5.83.0-2 ii liblcms2-2 2.12~rc1-2 ii libphonon4qt5-44:4.11.1-4 ii libpng16-161.6.37-3 ii libqt5core5a 5.15.2+dfsg-10 ii libqt5dbus55.15.2+dfsg-10 ii libqt5gui5 5.15.2+dfsg-10 ii libqt5printsupport55.15.2+dfsg-10 ii libqt5svg5 5.15.2-3 ii libqt5widgets5 5.15.2+dfsg-10 ii libqt5x11extras5 5.15.2-2 ii libstdc++6 11.2.0-3 ii libtiff5 4.2.0-1 ii libx11-6 2:1.7.2-1 ii perl 5.32.1-5 ii phonon4qt5 4:4.11.1-4 Versions of packages gwenview recommends: ii kamera 4:21.08.0-1 ii kio-extras 4:21.08.0-1 ii qt5-image-formats-plugins 5.15.2-2 gwenview suggests no packages. -- no debconf information
Bug#992918: gwenview: fails to save jpg/jpeg image
Package: gwenview Version: 4:20.12.3-2 Severity: normal Dear Maintainer, I opened an image in Gwenview (it can be any format), then I go to the "File" menu, and click on the "Save As..." menu option. If I select "JPEG image" as the file type, then press the "Save" button, two modal dialogs pop up. One dialog has the title "Error -- Gwenview", with the text "Unsupported image format". The other dialog has the title "Warning -- Gwenview", with the text "Saving 'x.jpg' failed: Unspported image format". I am offered to save it as another format. -- System Information: Debian Release: 11.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gwenview depends on: ii kinit 5.78.0-2 ii kio5.78.0-5 ii libc6 2.31-13 ii libcfitsio93.490-3 ii libexiv2-270.27.3-3+deb11u1 ii libgcc-s1 10.2.1-6 ii libjpeg62-turbo1:2.0.6-4 ii libkf5activities5 5.78.0-2 ii libkf5baloo5 5.78.0-3 ii libkf5completion5 5.78.0-3 ii libkf5configcore5 5.78.0-4 ii libkf5configgui5 5.78.0-4 ii libkf5configwidgets5 5.78.0-2 ii libkf5coreaddons5 5.78.0-4 ii libkf5filemetadata35.78.0-2 ii libkf5i18n55.78.0-2 ii libkf5iconthemes5 5.78.0-2 ii libkf5itemmodels5 5.78.0-2 ii libkf5itemviews5 5.78.0-2 ii libkf5jobwidgets5 5.78.0-2 ii libkf5kdcraw5 20.12.0-1 ii libkf5kiocore5 5.78.0-5 ii libkf5kiofilewidgets5 5.78.0-5 ii libkf5kiowidgets5 5.78.0-5 ii libkf5kipi32.0.0 4:20.12.1-1 ii libkf5notifications5 5.78.0-2 ii libkf5parts5 5.78.0-3 ii libkf5purpose-bin 5.78.0-2 ii libkf5purpose5 5.78.0-2 ii libkf5service-bin 5.78.0-2 ii libkf5service5 5.78.0-2 ii libkf5solid5 5.78.0-2 ii libkf5widgetsaddons5 5.78.0-2 ii libkf5xmlgui5 5.78.0-2 ii liblcms2-2 2.12~rc1-2 ii libphonon4qt5-44:4.11.1-4 ii libpng16-161.6.37-3 ii libqt5core5a 5.15.2+dfsg-9 ii libqt5dbus55.15.2+dfsg-9 ii libqt5gui5 5.15.2+dfsg-9 ii libqt5printsupport55.15.2+dfsg-9 ii libqt5svg5 5.15.2-3 ii libqt5widgets5 5.15.2+dfsg-9 ii libqt5x11extras5 5.15.2-2 ii libstdc++6 10.2.1-6 ii libtiff5 4.2.0-1 ii libx11-6 2:1.7.2-1 ii perl 5.32.1-4+deb11u1 ii phonon4qt5 4:4.11.1-4 Versions of packages gwenview recommends: ii kamera 4:20.12.0-1 pn kio-extras ii qt5-image-formats-plugins 5.15.2-2 gwenview suggests no packages.