Using 'Browse' to find an app for the 'Command' section (New Item), backslashes are not automatically inserted for spaces

Bug #1593998 reported by Ads20000
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce, open Alacarte and click 'New Item'. Then browse for a file/application which is stored in a directory which contains spaces. If you add that item, backslashes won't be automatically inserted to allow the command to work with the directories which have spaces. E.g. `/home/user/Ubuntu\ Programs/firefox/firefox` is instead written by the program as `/home/user/Ubuntu Programs/firefox/firefox`. As a result, when you've added a name for the launcher, you're not able to add the launcher (the OK button remains greyed out). Of course, the really easy workaround is to just add the backslashes by hand, but it's very frustrating when you think you've added the launcher and you don't spot what's wrong! It should 'just work'.

Alternatively, the program could put speech marks ("") round the file path, this is what Startup Applications (gnome-session-properties) does.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: alacarte 3.11.91-2
ProcVersionSignature: Ubuntu 4.4.0-25.44-generic 4.4.13
Uname: Linux 4.4.0-25-generic x86_64
ApportVersion: 2.20.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME-Flashback:Unity
Date: Sat Jun 18 17:18:21 2016
InstallationDate: Installed on 2016-04-26 (52 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20160426)
PackageArchitecture: all
SourcePackage: alacarte
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ads20000 (ads20000) wrote :
Ads20000 (ads20000)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.