Bug 511854 - System Restore is opening applications that it should not be restoring.
Summary: System Restore is opening applications that it should not be restoring.
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-09 09:14 UTC by deadsayer
Modified: 2025-12-11 01:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deadsayer 2025-11-09 09:14:32 UTC
SUMMARY
I have a Firefox browser window with many tabs that I have open all the time. In order to avoid having to manually open the browser every time I turn my PC on, I have Session Restore configured to open it for me automatically when I log into KDE. At one point there was an empty Firefox window open when I shut off my PC. Now that window opens continuously even after I close it. I have tried setting Session Restore to manually saved sessions, closing the empty browser window and manually saving the session but it does not prevent the window from opening. 

Previously I had a similar issue with psensor which would open every time I had Session Restore on. I turned Session Restore off for several months in the hopes it would go away, but when I re-enabled Session Restore, psensor would again continue to open. This did stop after I switched to manually saved sessions and saved a session without psensor open, however the browser issue previously described persists.

STEPS TO REPRODUCE
1. Enable Session Restore
2. Open several windows and log out of the KDE session.
3. Log back into the KDE session and allow the session to restore.
4. Close a few of the windows and log back out of the session.
5. Log back into the session and observe that Session Restore proceeds to reopen all of the previously closed windows.

OBSERVED RESULT
Empty browser window that was no open when KDE session was manually saved still opens on login.

EXPECTED RESULT
Windows not open when the session is manually saved or when the session is ended when manually saving is disabled, should not open.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: EndeavourOS rolling release with whatever the latest KDE is.
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I have a log from journalctl here: https://pastebin.com/QWhYbfi5
Comment 1 TraceyC 2025-12-08 23:44:45 UTC
Thanks for filing this bug report. Unfortunately there isn't enough information for us to try to figure out what's happening. Please add information about your system as requested in the bug report template. Copy and paste this with the information into a new comment.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Thanks for your understanding
Comment 2 deadsayer 2025-12-11 01:45:17 UTC
$ kinfo
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 640