Subject: gwenview: thumbnails not updated; sometimes thumbnails point at deleted image
Date: Tue, 26 Oct 2021 08:47:05 -0400
Package: gwenview
Version: 4:20.12.3-2
Severity: normal
X-Debbugs-Cc: [email protected]
If I replace an image with another image with the same name, the thumnail is
not updated. This is a well-known problem. A work-around is to empty the KDE
thumbnail directory.
If I replace an image with another image with the same name, when I click on a
thumbnail, Gwenview displays the deleted image. It seems that Gwenview is
maintaining
a pointer to a deleted file.
-- System Information:
Debian Release: 11.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-9-amd64 (SMP w/6 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/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+deb11u2
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+deb11u2
ii phonon4qt5 4:4.11.1-4
Versions of packages gwenview recommends:
ii kamera 4:20.12.0-1
ii kio-extras 4:20.12.2-1
ii qt5-image-formats-plugins 5.15.2-2
gwenview suggests no packages.
Acknowledgement sent
to Norbert Preining <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <[email protected]>.
(Tue, 26 Oct 2021 23:42:02 GMT) (full text, mbox, link).
Subject: Re: Bug#997873: gwenview: thumbnails not updated; sometimes
thumbnails point at deleted image
Date: Wed, 27 Oct 2021 08:38:38 +0900
Hi Edward,
On Tue, 26 Oct 2021, Edward C. Jones wrote:
> If I replace an image with another image with the same name, the thumnail is
> not updated. This is a well-known problem. A work-around is to empty the KDE
> thumbnail directory.
>
> If I replace an image with another image with the same name, when I click on a
> thumbnail, Gwenview displays the deleted image. It seems that Gwenview is
> maintaining
> a pointer to a deleted file.
I cannot reproduce *any* of the two behaviours when terminating gwenview
inbetween:
cd $(mktemp -d)
cp ~/photo1.jpg test.jpg
gwenview .
# shows the thumbnail of photo1.jpg, and opens test.jpg with the
# content of photo1.jpg
# quit gwenview
cp ~/photo2.jpg test.jpg
gwenview .
# shows the thumbnail of photo2.jpg, and opens test.jpg with the
# content of photo2.jpg
OTOH, when I keep gwenview running I see a different bevhaviour:
- thumbnail is properly updated
- actual photo is not update (still shows photo1.jpg!)
So it seems the thumbnail issue is fixed, but the display of the actual
photo not.
Thanks
Norbert
--
PREINING Norbert https://www.preining.info
Fujitsu Research + IFMGA Guide + TU Wien + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Acknowledgement sent
to Norbert Preining <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <[email protected]>.
(Wed, 27 Oct 2021 00:00:05 GMT) (full text, mbox, link).
Subject: Re: Bug#997873: gwenview: thumbnails not updated; sometimes
thumbnails point at deleted image
Date: Wed, 27 Oct 2021 08:56:35 +0900
forwarded 997873 https://bugs.kde.org/show_bug.cgi?id=444461
thanks
I have forwarded it to the KDE bug tracker.
Best
Norbert
--
PREINING Norbert https://www.preining.info
Fujitsu Research + IFMGA Guide + TU Wien + TeX Live + Debian Dev
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.