Bug 482838

Summary: Ask for confirmation when closing Kate windows with a terminal panel running a program
Product: [Applications] kate Reporter: Yevhen Popok <xalt7x.service>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: cullmann
Priority: NOR Keywords: qt6, usability
Version: 24.02.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=304816
Latest Commit: Version Fixed In:

Description Yevhen Popok 2024-03-08 09:05:19 UTC
SUMMARY
When user has something running in Kate built-in terminal panel, and closes Kate, there's no warning that process running in shell will terminate.  It would be nice to have such feature, especially for users that hide terminal panel with F4 (keyboard shortcut that toggles "Show Terminal Panel").


STEPS TO REPRODUCE
1. Open Terminal Panel
2. Run `watch ls`
3. Close Kate window which was a terminal panel with the running process

OBSERVED RESULT
No warning that the program 'watch' will terminate if user closes the window

EXPECTED RESULT
Warning dialog like in KDE Dolphin ("The program 'watch' is still running in the Terminal panel. Are you sure you want to quit?")

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40 Kinoite
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0 
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Similar feature was implemented for KDE Dolphin (https://bugs.kde.org/show_bug.cgi?id=304816)