[Bug 237544] Notifications appear empty in awesome window manager

Eike Hein hein at kde.org
Mon May 17 03:25:57 BST 2010


https://bugs.kde.org/show_bug.cgi?id=237544


Eike Hein <hein at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |notifications
            Version|1.13.3                      |Git
         AssignedTo|kdepim-bugs at kde.org         |konversation-devel at kde.org
            Product|kmail                       |konversation




--- Comment #3 from Eike Hein <hein kde org>  2010-05-17 04:25:52 ---
Sorry, I read your report a bit too hurriedly and parsed it as "KMail
notifications for new mails don't show". Reassigning.

The <qt> tag wraps a Qt rich-text document, as such it is basically a synonym
for <html>. This makes the HTML entities for the points brackets work, because
otherwise "<nick>" might be parsed as a tag and omitted:

KNotification::event(QString::fromLatin1("message"), QString("<qt><%1>
%2</qt>").arg(fromNick).arg(forKNotify), QPixmap(), m_mainWindow);

At least it was necessary in Qt 3. The Qt 4 documentaton on the matter[1] has a
"Provided for compatibility with earlier versions of Qt." note on the <qt> tag
that suggests it might be preferred to use <html> now, and perhaps Awesome
would handle that better.

We'll look into what KDE's notification experts recommend on the matter.

1 = http://doc.qt.nokia.com/4.6/richtext-html-subset.html

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list