lxqt / lxqt-config

Tools to configure LXQt and the underlying operating system
https://lxqt.github.io
GNU Lesser General Public License v2.1
79 stars 60 forks source link

LXQt Session Settings >> Autostart >> Command quote corruption #921

Open ceever opened 1 year ago

ceever commented 1 year ago

Adding an autostart command via "LXQt Session Settings" will corrupt any quotes in the command after opening it next time.

Expected Behavior

The provided command for any autostart item remains unchanged after re-opening it.

Current Behavior

Quotes in the command are escaped with backslash when reopening a saved autostart item. This cascades endlessly when continuing saving and reopening the item.

VirtualBox_22 10_19_02_2023_22_02_16

Possible Solution

Clean up any escape backslashes before displaying the stored command to the user.

Steps to Reproduce (for bugs)
  1. Create autostart item under "LXQt Session Settings"
  2. Choose a command with quotes, e.g. echo "test"
  3. Save it with "OK"
  4. Re-edit it
System Information