[Bug 838101] New: xdg_menu --format icewm misquotes the backslash
https://bugzilla.novell.com/show_bug.cgi?id=838101 https://bugzilla.novell.com/show_bug.cgi?id=838101#c0 Summary: xdg_menu --format icewm misquotes the backslash Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: giecrilj@stegny.2a.pl QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 The file /etc/icewm/menu constructs a dynamic menu for icewm by means of a self-made PERL script called xdg_menu. (This script should really be called suse_menu instead, since it is neither provided nor endorsed by XDG.) The script is undocumented. It accepts an argument --format icewm, which makes it emit a menu definition that supposedly can be understood by icewm. However, the script quotes backslashes by doubling them, which is something icewm does not support. If icewm encounters a quotation mark in a title preceded by a backslash, it treats the quotation mark as a literal character and it expects another quotation mark to end the title. The net result is that the rest of the menu definition is not processed and the remaining applications are not available. Reproducible: Always Steps to Reproduce: 1. { LANG=pl_PL.utf8 xdg_menu --format icewm; } Actual Results: 1. prog "Przeglądaj napęd C:\\" none xdg-open .wine/dosdevices/c: Expected Results: 1. prog "Przeglądaj napęd C:\ " none xdg-open .wine/dosdevices/c: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=838101 https://bugzilla.novell.com/show_bug.cgi?id=838101#c1 --- Comment #1 from Christopher Yeleighton <giecrilj@stegny.2a.pl> 2013-09-02 20:58:10 UTC --- What I have written is partially incorrect, as the slash is doubled in the desktop fie wine-browsedrive consistently for all languages. This means that xdg_menu should unquote the backslash and insert a space between the backslash and the following quotation mark (at least for icewm). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=838101 https://bugzilla.novell.com/show_bug.cgi?id=838101#c Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=838101 https://bugzilla.novell.com/show_bug.cgi?id=838101#c Christopher Yeleighton <giecrilj@stegny.2a.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|xdg_menu --format icewm |xdg_menu --format icewm |misquotes the backslash |does not protect a final | |backslash from quoting -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=838101 https://bugzilla.novell.com/show_bug.cgi?id=838101#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |nadvornik@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com