FS#62162 - [archlinux-xdg-menu] Close parentheses in names are not escaped for blackbox-family menus
Attached to Project:
Community Packages
Opened by Avery (freonmonkey) - Thursday, 28 March 2019, 04:45 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 March 2023, 12:02 GMT
Opened by Avery (freonmonkey) - Thursday, 28 March 2019, 04:45 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 29 March 2023, 12:02 GMT
|
Details
Description:
Menus for the blackbox family (including openbox and fluxbox) wraps the name of the application in parentheses. If the desktop file's name contains a close parenthesis, fluxbox believes the name has ended and doesn't show the final parenthesis. If the parenthesis is escaped with a backslash, it works. Additional info: * package version(s): 0.7.6.3-1 Steps to reproduce: Install an app with a parenthesis in the name, like steam with its "(Native)" and "(Runtime)" apps or rxvt-unicode with "(client)" and "(tabbed)", then generate menus for fluxbox or openbox. View the resulting menu and observe the final parenthesis isn't shown. Patch for xdg_menu: 1622a1623,1624 > $name =~ s/\)/\\\)/g; > Explanation of solution: When building the name of an app into a blackbox-style menu, escape close parentheses using backslashes. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 29 March 2023, 12:02 GMT
Reason for closing: Fixed
Additional comments about closing: in 0.7.6.6
Wednesday, 29 March 2023, 12:02 GMT
Reason for closing: Fixed
Additional comments about closing: in 0.7.6.6