Bug 442626 - Applications are not session-restored with the command-line arguments they were launched with
Summary: Applications are not session-restored with the command-line arguments they we...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.27.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-18 01:59 UTC by Dominik Kummer
Modified: 2023-05-17 17:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Kummer 2021-09-18 01:59:20 UTC
SUMMARY
Custom .desktop entries created with right-click on Kickoff->Edit Applications... and custom shell parameters (e.g. `falkon --no-remote --wmclass="falkon develop" --profile develop %u`) does not restore with same shell parameters. Which breaks kwin ruleset for several falkon instances after reboot.

STEPS TO REPRODUCE
1. right-click on Kickoff->Edit Applications...
2. copy "Falkon" entry, rename it to "Falkon Develop"
3. extend shell command to `falkon --no-remote --wmclass="falkon develop" --profile develop %u`
4. start Falkon instance
5. save session
6. logout/login

OBSERVED RESULT
Default falkon instance is started without custom parameters

EXPECTED RESULT
Custom falkon instance started with new parameters
Comment 1 Nate Graham 2021-09-21 19:48:27 UTC

*** This bug has been marked as a duplicate of bug 440507 ***
Comment 2 Dominik Kummer 2021-09-21 19:52:39 UTC
Is it really a duplicate? The other bug is shortcut related, right? But this one is about session restoration. Is it related behind the scenes?
Comment 3 Nate Graham 2021-09-22 12:19:09 UTC
Hmm, maybe you're right.

Moving to ksmserver which handles session restoration.