Bug 489192

Summary: Display error in thumbnail caption field
Product: [Applications] digikam Reporter: Peter <benedekppeter>
Component: Tags-CaptionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.4.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.4.0
Sentry Crash Report:
Attachments: Captions rows are shifted vertically
Sample image
The text must be at least two lines long

Description Peter 2024-06-25 17:33:30 UTC
Created attachment 170970 [details]
Captions rows are shifted vertically

Tested in: digiKam-8.4.0-20240623T100654-Qt6-x86-64.appimage

Enabled: Settings -- Application Views Settings -- Show digiKam Captions
Display error in thumbnail caption field: displayed rows are shifted vertically
In previous digiKam versions (Qt5) this worked fine.
Comment 1 Maik Qualmann 2024-06-25 18:02:56 UTC
I can't reproduce it here. There might be some special characters in the caption text. Can you provide a sample image?

Maik
Comment 2 Maik Qualmann 2024-06-25 18:06:01 UTC
The text must be significantly longer to reproduce it.

Maik
Comment 3 Peter 2024-06-25 19:41:57 UTC
Created attachment 170976 [details]
Sample image

The text must be at least two lines long
Comment 4 Peter 2024-06-25 19:53:55 UTC
Created attachment 170978 [details]
The text must be at least two lines long
Comment 6 Maik Qualmann 2024-06-26 00:07:21 UTC
Git commit 3b2ae2ed028cb545fc42f732ce02da3280aae883 by Maik Qualmann.
Committed on 25/06/2024 at 22:20.
Pushed by mqualmann into branch 'master'.

fix remove linefeeds in thumbnail text fields
FIXED-IN: 8.4.0

M  +1    -1    NEWS
M  +1    -1    core/libs/widgets/itemview/ditemdelegate.cpp

https://invent.kde.org/graphics/digikam/-/commit/3b2ae2ed028cb545fc42f732ce02da3280aae883