Bug 451310 - Prevent start of non-running applications according to consistent session management
Summary: Prevent start of non-running applications according to consistent session man...
Status: RESOLVED DUPLICATE of bug 450624
Alias: None
Product: ksmserver
Classification: Plasma
Component: general (show other bugs)
Version: 5.24.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 11:40 UTC by Markus Elfring
Modified: 2022-03-31 19:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example for session configuration data (6.52 KB, text/plain)
2022-03-09 13:01 UTC, Markus Elfring
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Elfring 2022-03-09 11:40:17 UTC
SUMMARY
I would appreciate a working session management for my desktop.

STEPS TO REPRODUCE
1. The application “Konqueror 21.12.3” was started (for example).
2. This program was terminated a bit later.
3. Some files were intentionally deleted by the command “rm ~/.config/session/konqueror*”.
4. A logout was performed while session storage should be active.
5. Another login was triggered for the previously selected user.

OBSERVED RESULT
The application “Konqueror” was started again despite of the detail that it should not belong to the programs which were configured for automatic starting.

EXPECTED RESULT
Some application windows may be restored for another work session but without the programs which were intentionally terminated before.
Comment 1 David Edmundson 2022-03-09 11:49:03 UTC
Please include your ~/.config/ksmserverrc
Comment 2 Markus Elfring 2022-03-09 13:01:15 UTC
Created attachment 147390 [details]
Example for session configuration data

(In reply to David Edmundson from comment #1)
How will the chances evolve to fix software components for proper session management?
Comment 3 Nate Graham 2022-03-23 13:19:49 UTC
Konqueror autostarting on login has nothing to do with session management and everything to do with the konqy_preload file in /etc/xdg/autostart. Can you check to see if you have a file by that name (or a similar one, I can't quite remember) in there?
Comment 4 Markus Elfring 2022-03-24 08:28:39 UTC
(In reply to Nate Graham from comment #3)
The set of available session storage files evolved in the meantime.
But I would like to point out that on one of my running systems the application window is not presented for the program “konqueror” after another login despite of the existing file “/etc/xdg/autostart/konqy_preload.desktop”.
Comment 5 Nate Graham 2022-03-31 19:04:13 UTC

*** This bug has been marked as a duplicate of bug 450624 ***