Bug 412571

Summary: Konsole closes down the active tab without confirmation if I accidentally hit "close" instead of "copy" from the context menu
Product: [Applications] konsole Reporter: Miklos Karacsony <mkaracsony81>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: mglb, mkaracsony81
Priority: NOR    
Version: 19.08.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 19.12

Description Miklos Karacsony 2019-10-03 18:20:04 UTC
SUMMARY
I am running a script which compiles multiple packages in a chroot environment.
Sometimes I need to copy text from the output of that script to use it somewhere
else and 1 out of 10 times I hit "close" instead of "copy" which closes down the
active tab without confirmation (I am using a touch pad so it is very easy to
"tap" on "close" as soon as the context menu opens). I think Konsole should ask
the user to confirm if he/she wants to close the tab especially if your're
running a script while its open.

STEPS TO REPRODUCE
1. Open a tab
2. Run a script
3. Hit "close" from the context menu

OBSERVED RESULT
Konsole closes down the tab without first confirming with the user

EXPECTED RESULT
Konsole should ask the user first to see if the user really wants to close
the tab

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.16.5
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.66
Qt Version: 5.12.5

ADDITIONAL INFORMATION
Comment 1 Mariusz Glebocki 2019-10-03 22:21:48 UTC
I think the entry should be removed from context menu. There's (x) on window titlebar, context menu on tab header and optionally close button on a tab.
Comment 2 Mariusz Glebocki 2019-10-03 22:53:48 UTC
Merge request:
https://invent.kde.org/kde/konsole/merge_requests/35