Bug 478503

Summary: Thumbnail view does not refresh after tag renaming
Product: [Applications] digikam Reporter: rb2005 <rbshsite>
Component: Thumbs-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.3.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.7.0
Sentry Crash Report:

Description rb2005 2023-12-14 09:54:54 UTC
SUMMARY
***
Thumbnail view shows blank after renaming tag
***


STEPS TO REPRODUCE
1.  Select an existing tag in tags view from left side bar with thumbnails shown.
2.  Rename the tag.
3.  Tag name changed according.
4. Thumbnails pane on the right become blank.
5. Select another tag and then return back to the renamed tag would refresh the thumbnails.

OBSERVED RESULT
Thumbnails pane becomes blank after renaming tag in directory tree.

EXPECTED RESULT
Thumbnails pane refreshes upon completion of tag renaming.

SOFTWARE/OS VERSIONS
Windows: Windows 11
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-12-14 10:25:25 UTC
I can't reproduce any issue here. When I rename a tag via properties in the left sidebar, there is no visible refresh of the thumbnail view. The changed tag name appears immediately under the thumbnails.
Which database are they using exactly? We may need a screencast.

Maik
Comment 2 Maik Qualmann 2023-12-14 10:27:39 UTC
Please test whether the problem also occurs with this version:

https://download.kde.org/stable/digikam/8.2.0/digiKam-8.2.0-Qt5-Win64.exe

Maik
Comment 3 rb2005 2023-12-14 13:19:44 UTC
(In reply to Maik Qualmann from comment #1)
> I can't reproduce any issue here. When I rename a tag via properties in the
> left sidebar, there is no visible refresh of the thumbnail view. The changed
> tag name appears immediately under the thumbnails.
> Which database are they using exactly? We may need a screencast.
> 
> Maik

Here's the screencast requested. The screen response was a bit slower than usual probably due to the screen capture app. For info the database used is MariaDB. The digikam version is digiKam-8.3.0-20231213T161333-Win64.exe.

https://drive.google.com/file/d/1a91bTZsjub5gHH00geCBy6FFWn5A9YCN/view?usp=sharing

p/s: not sure if you can access the google drive from this reply or not. If not please let me know an address to send to.
Comment 4 Maik Qualmann 2023-12-14 22:05:55 UTC
This is definitely a graphics card driver problem, as well as your problem with the face shifting. We also know this from Qt5. So it seems to still exist with Qt6. I have to look for the old bug reports. The problem occurs if you have 2 graphics cards in the system and have set another graphics card as the accelerator that the graphics output to the monitor.

Maik
Comment 5 rb2005 2023-12-15 10:18:21 UTC
(In reply to Maik Qualmann from comment #4)
> This is definitely a graphics card driver problem, as well as your problem
> with the face shifting. We also know this from Qt5. So it seems to still
> exist with Qt6. I have to look for the old bug reports. The problem occurs
> if you have 2 graphics cards in the system and have set another graphics
> card as the accelerator that the graphics output to the monitor.
> 
> Maik

To update, the app is running on an Intel i5 11th generation notebook with no external monitor and using Intel built in graphic engine.

I downgraded the app to ver. 8.2, specifically digiKam-8.2.0-20231116T055817-Win64.exe and have no issue with the renaming. The thumbnails stayed in place without going blank.
Comment 6 caulier.gilles 2025-04-11 18:14:02 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

https://files.kde.org/digikam/

Thanks in advance
Best regards

Gilles Caulier
Comment 7 rb2005 2025-04-13 16:46:34 UTC
Confirmed the issue is  resolved and can be considered as closed. Thank you.
Comment 8 caulier.gilles 2025-04-13 18:19:32 UTC
Excelent, thanks for the feedback.