Summary: | Two spaces shows as " " in notification | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Martin Klapetek <mklapetek> |
Component: | text-ui | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | ddomenichelli, kde |
Priority: | NOR | ||
Version: | 0.5.80 | ||
Target Milestone: | 0.6.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | notification screenshot |
This is quite different from the \\ bug. The \\ bug is caused by the notifications including an escaping that only applied to the text-ui. This appears to be a different bug that KNotification is escaping the & for us (and incorrectly). QLabel does support so someone is escaping it somewhere. Which notification is this? I cannot reproduce it... Incoming text-ui message, when the window is not focused. This also applied to " and other HTML entities. Lazy solution is to add a method in KTp::Message() that has the original untouched text. I'd rather not do that, but we can keep it as an option if we don't fix this before 0.6.0 I still cannot reproduce it.(In reply to comment #3) > Incoming text-ui message, when the window is not focused. I still cannot reproduce it Because you are on an older KDE with the old notifications that use QLabel ! This is a bug in Plasma.. great. Tested in QML viewer, notification just needs textFormat: Text.RichText Pending fix upstream at: https://git.reviewboard.kde.org/r/109492/ Assuming it gets in, this bug only affects 4.10.0 and 4.10.1 we should be releasing around the time of 4.10.2 so it should be OK to release like this without work arounds. Comment if you disagree. |
Created attachment 77998 [details] notification screenshot When there are two or more spaces in a message, the notification displays only one and then . See screenshot.