Bug 443649

Summary: program doesn't actually quit if window is closed without formal Quit
Product: [Applications] kgpg Reporter: Jack <ostroffjh>
Component: generalAssignee: Rolf Eike Beer <kde>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.04.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack 2021-10-12 22:22:04 UTC
SUMMARY
Quitting a kgpg gui program does not close properly if window is just closed and you don't File/Exit.

STEPS TO REPRODUCE
1. invoke kgpg from command line (for example with -k to launch key manager)
2. close key manager by clicking X in upper right (xorg, I have not tested with Wayland)

OBSERVED RESULT
command line does not return to shell prompt, you need to hit Ctl-C.

If you use File/Exit, it works and quits as expected.

EXPECTED RESULT
Command line returns to shell prompt.

Also not, that for Editor (kgpg -d) even using File/Exit does not fully quit.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85
Qt Version: 5.15.2

ADDITIONAL INFORMATION