[Akonadi] [Bug 330010] New: KDEPIM .desktop file parser considers invalid the strings containing commas

Alexander Potashev aspotashev at gmail.com
Wed Jan 15 23:11:29 GMT 2014


            Bug ID: 330010
           Summary: KDEPIM .desktop file parser considers invalid the
                    strings containing commas
    Classification: Unclassified
           Product: Akonadi
           Version: 4.11
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: aspotashev at gmail.com

When a field in .desktop file is set to a string containing commas and this
string is not enclosed in double quotes, then Akonadi parser does not consider
it as a valid string.

See details in this thread:

Reproducible: Always

Steps to Reproduce:
1. Write a value for "Comment" field in .desktop file for a resource/agent,
e.g. openxchangeresource.desktop, to be a string with comma(s) and remove the
enclosing double quotes.
2. Go to System Settings -> Personal Information (Akonadi Resources) and click
"Add...". Find the agent/resource that you changed the .desktop file for.
Actual Results:  
When the "Name" field in .desktop file contains a comma, then "System Settings"

When the "Comment" field in .desktop file containts a comma, then whole Comment
is not below the agent/resource name.

Expected Results:  
Strings with commas in .desktop files should be properly treated as strings
with commas.

The .desktop file parser used for example in KDE Control Modules (KCM) don't
suffers from this issue. See details in the above mentioned discussion thread
"Double quotes in Comment field for Akonadi agents/resources are required".

You are receiving this mail because:
You are the assignee for the bug.

More information about the Kdepim-bugs mailing list