| Summary: | LXDE menu doesn't properly handle field codes from Exec key | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alex Loginov <loginov_alex> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | nicolas.salguero |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | LXDE | CVE: | |
| Status comment: | |||
| Attachments: | Patches for libfm | ||
|
Description
Alex Loginov
2014-11-17 20:28:51 CET
David Walser
2014-11-18 04:45:17 CET
Assignee:
bugsquad =>
lmenut (In reply to Alex Loginov from comment #0) > Description of problem: > There is > Exec=ktuberling -caption %c %u > in ktuberling.desktop. > For Russian Name[ru]=ÐаÑÑоÑелÑнÑй паÑенÑ, > so it will be interpretate: run ktuberling with caption ÐаÑÑоÑелÑнÑй and > open file with name паÑенÑ. > And I see error like "Cannot open file" and ÐаÑÑоÑелÑнÑй in the caption. This works fine in KDE. This happens because LXDE menu doesn't properly handle field codes from .desktop Exec key. LXDE should be fixed. > > Fix: > Exec=ktuberling -caption "%c" %u nope, "%c" is against the freedesktop specification for desktop entry. http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html "Field codes must not be used inside a quoted argument, the result of field code expansion inside a quoted argument is undefined." Quotes around %c were removed from KDE .desktop files because they were against the fdo spec. https://bugs.kde.org/show_bug.cgi?id=318593 http://lists.kde.org/?l=kde-core-devel&m=136671930217439&w=4 Summary:
Wrong Exec= for ktuberling =>
LXDE menu doesn't properly handle field codes from Exec key
Alex Loginov
2014-11-19 08:16:24 CET
CC:
(none) =>
nicolas.salguero Nicolas, hello, Will you write patch and/or report to upstream? Hi, For the moment, I have not been able to find where the launcher and its parser are in the code so I only have reported the bug upstream: https://sourceforge.net/p/lxde/bugs/719/. Regards. Nico. This bug was fixed by upstream. Nicolas, hello, Will you create patch now? Created attachment 5791 [details]
Patches for libfm
Hi,
The attached tarball containes the needed patches and the patch for the SPEC file.
I have tested and I have no more the problem with ktuberling, for example.
Best regards.
Nico.
Fixed in libfm-1.2.3-4.mga5. Nicolas, thank you very much. Your mentor (akien) is waiting you :). We needs maintainer for LXDE. Resolution:
(none) =>
FIXED |