Bug 421962 - Tooltip gets huge left margin when metadata fields contain much information
Summary: Tooltip gets huge left margin when metadata fields contain much information
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: tooltip (show other bugs)
Version: 20.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-23 10:00 UTC by Karl Ove Hufthammer
Modified: 2020-05-24 19:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of Dolphin tooltip (81.27 KB, image/png)
2020-05-23 10:00 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
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