Bug 482838 - Ask for confirmation when closing Kate windows with a terminal panel running a program
Summary: Ask for confirmation when closing Kate windows with a terminal panel running ...
Status: REPORTED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: qt6, usability
Depends on:
Blocks:
 
Reported: 2024-03-08 09:05 UTC by Yevhen Popok
Modified: 2024-03-09 19:34 UTC (History)
1 user (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 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)