Skip to content

Retain existing arguments #726

@Goddard

Description

@Goddard

Pre-submit checks

  • I checked for similar issues beforehand, but could not find any. I could not add my proposal to any existing issue.
  • I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Feature description

When you perform an update it doesn't keep the existing command arguments. I use Plasma and when I use the Menu Editor to add additional "Command-line arguments:" it shows me %F, but on the previous version I already had placed additional command line arguments I want to run the program with. I am wonder if it is possible to keep those arguments and put them back in place.

Proposed solution

Check the existing short cut arguments and prepend/append them to %F depending on where they are located in relation to %F

Alternative solutions you considered

I don't think any alternative exists, but I guess not doing it is an alternative.

Additional context

Some programs require wayland arguments because it isn't enabled by default, or disabling GPU compositing for example. Keeping these arguments would make life a little easier and not have to reapply them after every upgrade. Once the app image is already "integrated", You could show a window asking the user if they want to keep their command line arguments and to check them for correctness. It would only need to show if the user had changed it from the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions