[kmail2] [Bug 400831] New: The tooltip of message preview layout doesn't look right
younker.dl at gmail.com
younker.dl at gmail.com
Thu Nov 8 03:21:23 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=400831
Bug ID: 400831
Summary: The tooltip of message preview layout doesn't look
right
Product: kmail2
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: message list
Assignee: kdepim-bugs at kde.org
Reporter: younky.yang at yahoo.com
Target Milestone: ---
Created attachment 116174
--> https://bugs.kde.org/attachment.cgi?id=116174&action=edit
the wrong layout of the tooltip
SUMMARY
The message preview tooltip's layout doesn't look right when using chinese on a
4K display.
STEPS TO REPRODUCE
1. setting the language to Chinese. Maybe Japanese has the same issue.
2. Launch kmail
3. hover to a item in the message list and check the preview tooltip of the
message.
OBSERVED RESULT
The layout is not right for From, Sender, etc. The text was wrapped.
EXPECTED RESULT
the first column of the text should not be wrapped.
SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.x
KDE Frameworks Version: 5.51.x
Qt Version: 5.11.2
ADDITIONAL INFORMATION
I posted this to reddit
https://www.reddit.com/r/kde/comments/9uxumy/where_is_the_source_code_for_the_kmail_message/?utm_content=full_comments&utm_medium=message&utm_source=reddit&utm_name=frontpage
and I followed the guidance provided KeyRice to change the code in
messagelib/messagelist/src/core/view.cpp. changed the hard coded width setting
from 45 to 85, and it now looks good on my display.
But I think this not the solution for this problem, we need to have a method to
determine the right width based on the display(dpi) and also the scale factor.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list