I discovered this will using the Albert launcher's applications plugin. When you create a custom launcher with the Menu editor, if that executable has spaces in the path, the created desktop file escapes it as so:
But, the desktop file specification says:
Arguments may be quoted in whole. If an argument contains a reserved character the argument must be quoted. The rules for quoting of arguments is also applicable to the executable name or path of the executable program as provided.
[...] Reserved characters are space (" "), tab, newline, double quote, single quote ("'"), backslash character (""), greater-than sign (">"), less-than sign ("<"), tilde ("~"), vertical bar ("|"), ampersand ("&"), semicolon (";"), dollar sign ("$"), asterisk ("*"), question mark ("?"), hash mark ("#"), parenthesis ("(") and (")") and backtick character ("`").
So, the resulting file should actually have the following line:
Related bug reports: