[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Double quotes in Comment field for Akonadi agents/resources are required
From:       Kevin Krammer <krammer () kde ! org>
Date:       2014-01-15 19:39:21
Message-ID: 6237148.BkFyT08mfx () persephone
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday, 2014-01-14, 23:35:36, Alexander Potashev wrote:
> Hi,
> 
> Many KDE translators run into the following trap in how Akonadi plugin
> loader interprets fields in .desktop files.
> 
> When there is a comma in the value for Name of Comment field, then it
> has to be enclosed in double quotes. Otherwise the string is
> considered invalid and is not shown in the UI (the parser probably
> thinks it's a comma-separated list).

It does indeed.

> (This is why I'm CCing kde-pim)
> May be the problem can be fixed in the code, because Comment fields
> with commas in .desktop files for KCM modules do not require quotes.

Most likely an unforseen consequence of not using the usual KDE classes but 
somewhat similar Qt classes.
Looks like we need a proper desktop file parser instead of QSettings.

Can you file a bug report? Product Akonadi, component "server"

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic