Bug 453194 - Manual linebreaks in tooltip strings
Summary: Manual linebreaks in tooltip strings
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 5.20.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 12:50 UTC by Frank Steinmetzger
Modified: 2022-04-29 16:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.21.0


Attachments
Screenshot giving an example in the Composer configuration dialog (17.37 KB, image/png)
2022-04-29 12:50 UTC, Frank Steinmetzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2022-04-29 12:50:35 UTC
Created attachment 148458 [details]
Screenshot giving an example in the Composer configuration dialog

Hello devs,

I am currently reviewing the German translation of kmail and came across a lot of tooltip strings that use manual linebreaks (\n). Looking at my running instance, those linebreaks cause what was called "combing" in the newsgroup days: in addition to the manual breaks, lines were also auto-wrapped by the tooltip frame, which causes alternating long and short lines of text.

So my question is: are those breaks intentional, are they an oversight, or is this “historical ballast” dating from a time when tooltips did not auto-wrapp at all? I propose disposing of those breaks and let the system choose.

Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Celeron® N5100 @ 1.10GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 Laurent Montel 2022-04-29 16:39:26 UTC
It's historical. I will remove them.
Thanks
Comment 2 Laurent Montel 2022-04-29 16:40:15 UTC
Git commit 3ce06473e60ee6a6f764e03c82ec91629145d1f7 by Laurent Montel.
Committed on 29/04/2022 at 16:39.
Pushed by mlaurent into branch 'master'.

Fix Bug 453194: Manual linebreaks in tooltip strings
FIXED-IN: 5.21.0

M  +16   -37   src/configuredialog/configurecomposerpage.cpp

https://invent.kde.org/pim/kmail/commit/3ce06473e60ee6a6f764e03c82ec91629145d1f7