Bug 421962

Summary: Tooltip gets huge left margin when metadata fields contain much information
Product: [Applications] dolphin Reporter: Karl Ove Hufthammer <karl>
Component: view-engine: tooltipAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kfm-devel, nate
Priority: NOR    
Version: 20.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of Dolphin tooltip

Description Karl Ove Hufthammer 2020-05-23 10:00:15 UTC
Created attachment 128712 [details]
Screenshot of Dolphin tooltip

SUMMARY
When a metadata field contains much text, the file metadata tooltip gets a *huge* left margin (area to the left of the metadata). I guess margin is there to hold the contents, but it doesn’t; it’s just empty. This looks very strange (see attached screenshot).


STEPS TO REPRODUCE
1. Create a file, e.g. by using ‘touch file.txt’.
2. Add some metadata with many characters, e.g. a ‘Downloaded from’ metadata by issuing this command (this was a real URL metadata on a file I downloaded): setfattr -n user.xdg.origin.url -v 'https://github-production-release-asset-2e65be.s3.amazonaws.com/121503804/bcb23fda-278d-11e8-9941-3ec6d3381674?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190401%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190401T195439Z&X-Amz-Expires=300&X-Amz-Signature=15bbcea43eb57dd2fa3ed2f88c852ed61ed5500e8fd9cbf643a9fcb023f619ce&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3DbBoxType_FiraGO_1000.zip&response-content-type=application%2Foctet-stream' file.txt
3. Hover over the file.

OBSERVED RESULT
A tooltip appears with a huge left margin.

EXPECTED RESULT
Normal margin. The margin to the left of the metadata should be the same for all files and should not depend on the metadata contents.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200517
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.1
Kernel Version: 5.6.12-1-default
OS Type: 64-bit