Bug 364716

Summary: copy-input dialog "OK" shortcut not working
Product: [Applications] konsole Reporter: Andreas Bourges <andy>
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 16.04.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 18.04

Description Andreas Bourges 2016-06-24 18:04:18 UTC
when having multiple tabs, I sometimes want to send input to all sessions using keyboard shortcuts (CTL-SHIFT-.) Final "ALT-o" (OK) does not work.


Reproducible: Always

Steps to Reproduce:

1.hit "CTRL-SHIFT-." to open "copy input" dialog

2. select all sessions via shortcut "ALT-S"
 (all sessions are correctly selected)

3. try to submit using "ALT-o" (OK) does not perform "OK", but enters an "o" into the tab search bar :(

Actual Results:  
dialog is not closed, but unexpexted "o" is put into filter field

Expected Results:  
ALT-o should apply the settings and close the dialog
Comment 1 Kurt Hindenburg 2018-02-28 04:31:57 UTC
Yep, never noticed before - thanks
Comment 2 Kurt Hindenburg 2018-03-01 02:18:58 UTC
Git commit 5b6ba95255073ce13c45c4bfb7a49c1142193368 by Kurt Hindenburg.
Committed on 01/03/2018 at 02:14.
Pushed by hindenburg into branch 'master'.

Do not setShortcut() on the OK button on dialogs

using okButton->setShortcut(Konsole::ACCEL | Qt::Key_Return); causes
the Alt+O to not work on the OK button.  Both Ctrl+Return and Alt+O
now work to close the dialog.
FIXED-IN: 18.04

M  +0    -1    src/ColorSchemeEditor.cpp
M  +0    -1    src/CopyInputDialog.cpp
M  +0    -1    src/EditProfileDialog.cpp
M  +0    -1    src/HistorySizeDialog.cpp
M  +0    -1    src/RenameTabDialog.cpp

https://commits.kde.org/konsole/5b6ba95255073ce13c45c4bfb7a49c1142193368