Bug 454568 - Activity suspension silently fails when application requires user intervention to quit
Summary: Activity suspension silently fails when application requires user interventio...
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activities in general (show other bugs)
Version: 5.27.0
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-29 12:23 UTC by Kishore Gopalakrishnan
Modified: 2024-12-17 21:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2022-05-29 12:23:27 UTC
SUMMARY
If the user tries to suspend an activity and an application in that activity requires user intervention before quitting (e.g. there is an unsaved file), the activity suspension appears to succeed (according to the state displayed in the switcher), but the programs in that activity still remain open in the background.

STEPS TO REPRODUCE
1. Open a text file in Kate
2. Edit the text file, but don't save
3. Switch to another activity
4. From the activity sidebar, suspend the activity Kate was in

OBSERVED RESULTS
The activity disappears from switcher but it is still running in background. This can be confirmed by looking at the list of applications in the system monitor

EXPECTED RESULTS
If an application requires user intervention before quitting, the user should be taken to that window and then the activity should be properly suspended.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.15.43-1-lts (64-bit)
Graphics Platform: X11
Processors: 4 × AMD EPYC-Rome Processor
Memory: 1.4 GiB of RAM
Graphics Processor: virgl
Manufacturer: QEMU
Product Name: Standard PC (Q35 + ICH9, 2009)
System Version: pc-q35-5.1

ADDITIONAL INFORMATION
Also reproducible on Plasma 5.24.5