Summary: | .desktop files of agents are read in the incorrect encoding | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Alexey Chernov <4ernov> |
Component: | server | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | GIT (master) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/akonadi/de588dc7fd459449ccc1d29fb30cee1774837140 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Sample screenshot of the issue. |
Description
Alexey Chernov
2016-01-27 23:02:10 UTC
Created attachment 96876 [details]
Sample screenshot of the issue.
Here's a review request link: https://git.reviewboard.kde.org/r/126911/ Git commit 1e164ae8d50b38c361595390543ebdeb45231777 by Alexey Chernov. Committed on 28/01/2016 at 11:52. Pushed by chernov into branch 'master'. Fix encoding of reading *.desktop files of Akonadi agents Explicitly set UTF-8 encoding of QSettings when reading *.desktop files of agents to prevent any encoding issues. Code parts of string conversion are also removed as now it's done in QSettings internally. REVIEW: 126911 M +3 -8 src/akonadicontrol/agenttype.cpp http://commits.kde.org/akonadi/1e164ae8d50b38c361595390543ebdeb45231777 Git commit de588dc7fd459449ccc1d29fb30cee1774837140 by Alexey Chernov. Committed on 28/01/2016 at 12:00. Pushed by chernov into branch 'Applications/15.12'. Fix encoding of reading *.desktop files of Akonadi agents Explicitly set UTF-8 encoding of QSettings when reading *.desktop files of agents to prevent any encoding issues. Code parts of string conversion are also removed as now it's done in QSettings internally. REVIEW: 126911 M +3 -8 src/akonadicontrol/agenttype.cpp http://commits.kde.org/akonadi/de588dc7fd459449ccc1d29fb30cee1774837140 Git commit 393a20b6f9e154069da09c2a2f929f1a4e886d3d by Elvis Angelaccio. Committed on 29/02/2016 at 10:51. Pushed by elvisangelaccio into branch 'master'. Parse .desktop files using KDesktopFile This replaces the parsing done by QSettings. Since KConfig supports localized entries out of the box, there is no need anymore for custom code like the overloads with a language string as argument. Related: bug 330010 Differential Revision: D994 M +1 -0 autotests/akonadicontrol/CMakeLists.txt M +8 -14 autotests/akonadicontrol/agenttypetest.cpp M +2 -5 autotests/akonadicontrol/data/googlecontactsresource.desktop M +1 -0 src/akonadicontrol/CMakeLists.txt M +6 -9 src/akonadicontrol/agentmanager.cpp M +5 -7 src/akonadicontrol/agentmanager.h M +21 -46 src/akonadicontrol/agenttype.cpp M +2 -2 src/akonadicontrol/agenttype.h M +2 -8 src/core/agentmanager.cpp M +0 -15 src/interfaces/org.freedesktop.Akonadi.AgentManager.xml http://commits.kde.org/akonadi/393a20b6f9e154069da09c2a2f929f1a4e886d3d |