| Summary: | Text labels are not treated as html when include new line characters in the middle of text | ||
|---|---|---|---|
| Product: | [Applications] kdialog | Reporter: | Nikita Zlobin <nick87720z> |
| Component: | general | Assignee: | Brad Hards <bradh> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | wishlist | CC: | cfeck, tomashnyk |
| Priority: | NOR | ||
| Version First Reported In: | 1.0 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Nikita Zlobin
2014-01-30 05:19:15 UTC
I am trying this command:
kdialog --progressbar "<b>Test</b>"
and it displayed the "Test" text in bold face. Could you please clarify the issue so that I can reproduce?
It seems to be narrower. One-line text is rendered properly, but with some '\n' chars it is treated as plain text. I completely forgot, that in html mode <br> tag should be used! Is it ok, that EOL chars disable html interpretation? Hm, it seems to be common behavior of kdialog, if not kde or even qt %). Solved problem by creating pure html source in komposer, without shell specifics %) kdialog --progressbar "<b>Test</b><br>\nTest</b>" is rendered in bold but on one line - I think that is ok character, you can use <br> to get a newline. |