Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#992918: gwenview: fails to save jpg/jpeg image

73 views
Skip to first unread message

Fufu Fang

unread,
Aug 24, 2021, 7:00:03 PM8/24/21
to
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
'xxxxx.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 kio 5.78.0-5
ii libc6 2.31-13
ii libcfitsio9 3.490-3
ii libexiv2-27 0.27.3-3+deb11u1
ii libgcc-s1 10.2.1-6
ii libjpeg62-turbo 1: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 libkf5filemetadata3 5.78.0-2
ii libkf5i18n5 5.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-4 4:4.11.1-4
ii libpng16-16 1.6.37-3
ii libqt5core5a 5.15.2+dfsg-9
ii libqt5dbus5 5.15.2+dfsg-9
ii libqt5gui5 5.15.2+dfsg-9
ii libqt5printsupport5 5.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 <none>
ii qt5-image-formats-plugins 5.15.2-2

gwenview suggests no packages.

Francesco

unread,
Aug 29, 2021, 4:40:04 AM8/29/21
to
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 kio 5.83.0-2
ii libc6 2.31-17
ii libcfitsio9 4.0.0-1
ii libexiv2-27 0.27.3-3+deb11u1
ii libgcc-s1 11.2.0-3
ii libjpeg62-turbo 1: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 libkf5filemetadata3 5.83.0-2
ii libkf5guiaddons5 5.83.0-2
ii libkf5i18n5 5.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-4 4:4.11.1-4
ii libpng16-16 1.6.37-3
ii libqt5core5a 5.15.2+dfsg-10
ii libqt5dbus5 5.15.2+dfsg-10
ii libqt5gui5 5.15.2+dfsg-10
ii libqt5printsupport5 5.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

Ian Goddard

unread,
Aug 29, 2021, 8:30:03 AM8/29/21
to
On Sun, 29 Aug 2021 10:27:30 +0200 Francesco <harp...@alice.it> 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.

Fufu Fang

unread,
Aug 29, 2021, 1:20:03 PM8/29/21
to
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.

Ian Goddard

unread,
Sep 8, 2021, 4:50:03 PM9/8/21
to
Further detail: Only "Save asW is affected. "Save" is OK, does not
complain about format and retains original file name extension.

Ian Goddard

unread,
Dec 21, 2021, 2:20:03 PM12/21/21
to
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.

RattusRattus

unread,
Aug 27, 2023, 4:20:05 PM8/27/23
to
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...

Fufu Fang

unread,
Aug 27, 2023, 9:10:06 PM8/27/23
to
I got home, and followed Ian's suggestion, and removed "*.jfif" from
the top of the list. The problem is now resolved.
0 new messages