Bug 392470 - konsole: Ctrl-/ key sequence only sends / to running program (wayland)
Summary: konsole: Ctrl-/ key sequence only sends / to running program (wayland)
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 18.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-29 01:07 UTC by Alivema4ever
Modified: 2020-11-10 20:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alivema4ever 2018-03-29 01:07:41 UTC
Version: 17.12.3, Frameworks 5.44.0, Qt 5.10.1
Windowing system: wayland

This bug occurs only on wayland session.

Steps to reproduce:

Install `kbd` package to acquire `showkey` command line.

Open konsole and execute `showkey -a`
$ showkey -a
Press Ctrl-/
/        47 0057 0x2f

Compare to xterm output
Press Ctrl-/
^_       31 0037 0x1f

urxvt output
Ctrl-/
^_       31 0037 0x1f

gnome-terminal output
Ctrl-/
^_       31 0037 0x1f

Ctrl-/ is one of Undo keys on emacs, see emacs tutorial.
Comment 1 Alexander Mentyu 2018-04-19 07:32:34 UTC
Ctrl+/ work in Emacs
Ctrl+/ sends '/        47 0057 0x2f' signal into the Konsole and '^_       31 0037 0x1f' into the others mentioned terminals

emacs 25.3-3
Plasma: 5.12.4
Apps: 17.12.3
Frameworks: 5.45.0
Qt: 5.10.1
Kernel: 4.14.34-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+823+gd9bf46e4-1
Screen: 1600x900
wayland-protocols 1.13-1
wayland 1.14.0-1
Comment 2 Alivema4ever 2018-04-26 02:43:55 UTC
Still present in 18.04

This may be related to incomplete fix of bug 336638

Anyway, Ctrl modifier is ignored for both '/' and '?' keys.
Comment 3 Kiril Vladimirov 2018-06-18 08:18:53 UTC
An easy way to reproduce this:

In konsole execute `emacs -Q -nw` and hit `C-/`. You will see a / appearing on the last line of the buffer. 

Run `emacs -Q` (this will NOT run emacs in a terminal and open a GUI window instead) and hit `C-/`. You should see how the buffer goes empty and a text "Undo!" at minibuffer (status line at the bottom of the window). This is the desired behavior.
Comment 4 Justin Zobel 2020-11-05 05:12:27 UTC
This appears fixed in current konsole, I can open emacs terminal editor and Ctrl / runs the undo command.

Can you please confirm this behaviour is also observed so we can close this bug, thanks.
Comment 5 Kiril Vladimirov 2020-11-10 20:46:00 UTC
As somebody who suffered from this, I can confirm that the issue seems to be fixed now.

Konsole 20.08.1
KDE Frameworks 5.75.0
Qt 5.15.1 (built against 5.15.1)
KWin 5.20.2 running on wayland