Bug 420841

Summary: Metadata labels in ‘Details’ view in file properties dialogue is cut off (truncated)
Product: [Frameworks and Libraries] baloo-widgets Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: baloo-bugs-null
Status: REPORTED ---    
Severity: normal CC: stefan.bruens
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of metadata dialogue

Description Karl Ove Hufthammer 2020-05-01 07:57:25 UTC
Created attachment 128054 [details]
Screenshot of metadata dialogue

SUMMARY
In the ‘Details’ tab in the file properties dialogue, long metadata labels (not values) are some times cut off / truncated. The default size is wide enough for English strings, but translations are typically wider.

See the attached screenshot. The next-to-last metadata labels is shown as

  Opphavleg dato og

but should be

  Opphavleg dato og klokkeslett:

(It’s a translation of ‘Original Data Time’.)

It’s truncated, even though there is plenty of horizontal space in the dialogue for the label to be expanded to the left.

STEPS TO REPRODUCE
1. Launch Dolphin in a non-English language, e.g., with ‘LANGUAGE=nn’.
2. Right-click on a photo (e.g., https://upload.wikimedia.org/wikipedia/commons/e/e7/Flaming_cocktails.jpg) and choose ‘Properties → Details’.
3. Look at one of the longer metadata labels (e.g. ‘Opphavleg dato og klokkeslett:’)

OBSERVED RESULT
The label is truncated.

EXPECTED RESULT
The label should be expanded to the left to show the entire text.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200428
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1


ADDITIONAL INFORMATION
If also the *value* of the metadata item (shown in the right-hand part of window) is too long, it is broken over two lines. Then the label is also shown over two lines, no longer truncated. You can resize the window to show/hide the truncation problem.