Summary: | Ctrl-Space and Ctrl-@ do nothing (again) | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Richard Hansen <rhansen> |
Component: | keyboard | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | anikethgireesh, cpigat242, gforce |
Priority: | NOR | ||
Version: | 15.08.3 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/konsole/2e74a1ba73ab96fd94effe50562ba374a5eeaa96 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | This bug should with with the status fixed/resolved. |
Description
Richard Hansen
2015-11-14 23:32:28 UTC
If I check out 9d062f1f522a50aa5ec2ae2a95ce6124b4427b5b (the Git commit that fixed bug #341157), build it, and run it, I still experience the same problem. So, this must not be a regression; there must be some other underlying cause. xev shows the Ctrl, Space, Space release, and Ctrl release events. I can get it to work by following these steps: 1. edit the current profile 2. go to the Keyboard tab 3. click Edit (the selected entry is "Default (XFree 4)") 4. click Add 5. enter Space+Ctrl in the Key Combination column 6. enter \x00 in the Output column Should I need to do this? Using gdb I noticed that for the Ctrl+Space QKeyEvent: * event->modifiers() & Qt::ControlModifier is true * event->key() is Qt::Key_Space (decimal 32, hex 0x20) * event->text().isEmpty() is true Without the Space+Ctrl key binding, KeyboardTranslator::findEntry() returns an empty entry, which causes Vt102Emulation::sendKeyEvent() to send event->text(), which is empty. Created attachment 103327 [details]
This bug should with with the status fixed/resolved.
I guess for the Konsole version 15.08.0 (Tag 15.08.03) has fixed this issue. I would recommend making this bug's status as fixed/resolved. :)
This issue is still present in the latest (git head) version of konsole 17.11.70. Space+Ctrl is present in the default keytab profile, namely Default (XFree 4). Using the "test area" in Edit Current Profile/Keyboard/Edit, \x00 will appear in the output. Strangely, when I run 'showkey -a' it doesn't register Ctrl-Space, or Ctrl-Shift-@. The symptoms are exactly the same as Richard's above; 'xev' shows all the key presses. I'm running the current git master branch of KDE: Konsole 17.11.70. Qt 5.7.1 KDE Frameworks 5.36.0 Plasma 5.10.90 Git commit 0cc7fecdd7bde4e427a17585e92e5248b013437e by Kurt Hindenburg. Committed on 24/07/2017 at 13:50. Pushed by hindenburg into branch 'master'. Fix regression in pty()->write() usage Correct usage of pty()->write(const QByteArray) Related: bug 382654 M +1 -1 src/Pty.cpp https://commits.kde.org/konsole/0cc7fecdd7bde4e427a17585e92e5248b013437e Git commit 2e74a1ba73ab96fd94effe50562ba374a5eeaa96 by Kurt Hindenburg. Committed on 24/07/2017 at 14:38. Pushed by hindenburg into branch 'Applications/17.08'. Fix regression in pty()->write() usage Correct usage of pty()->write(const QByteArray) Related: bug 382654 (cherry picked from commit 0cc7fecdd7bde4e427a17585e92e5248b013437e) M +1 -1 src/Pty.cpp https://commits.kde.org/konsole/2e74a1ba73ab96fd94effe50562ba374a5eeaa96 |