Bug 435683

Summary: The discover software center does not play nice with the desktop session
Product: [Applications] Discover Reporter: Sergio <sergio.callegari>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version: 5.18.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergio 2021-04-13 09:48:39 UTC
SUMMARY

If you set your system to restore the previous session at startup, then discover does not respect it. Once you have used discover once, at every start up the discover window covers your desktop, even if you close it before shutdown.

I realize that I see the issue with an older version of discover. However this is what I get in ubuntu 20.04 since ubuntu has stopped providing updates to KDE via dedicated PPAS. Even if my version is too old for looking into it, I would appreciate any hint at whether this has already been fixed and a pointer, so maybe ubuntu can at least backport the fix.

STEPS TO REPRODUCE

1. Set your system settings > Startup and shutdown -> desktop session to restore the previous session at startup.
 
2. Open the discover software center
 
3. Close the discover software center

4. Logout

5. Login again 


OBSERVED RESULT

the discover software center is automatically started at login, producing a window covering the desktop

EXPECTED RESULT

the discover software center should only be started to open its window if it was open before logout, since the system is set to restore the session as it was before logout.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Sergio 2021-04-13 09:53:57 UTC
This seems to happen because when you close the discover software center window, discover does not exit. You need to actually kill discover to assure that after logout and re-login you do not get the discover window to cover everything.
Comment 2 Nate Graham 2021-04-13 17:37:30 UTC

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