lxqt-config icon indicating copy to clipboard operation
lxqt-config copied to clipboard

LXQt Session Settings >> Autostart >> Command quote corruption

Open ceever opened this issue 2 years ago • 0 comments

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
  • Distribution & Version: Lubuntu 22.10
  • Kernel:
  • Qt Version: 5.15.6
  • liblxqt Version: ?
  • lxqt-build-tools Version: ?
  • Package version: ?

ceever avatar Feb 19 '23 21:02 ceever