[Konsole-devel] [konsole] [Bug 360314] New: Autokey abbreviations causes keystrokes in Konsole (and yakuake) to act strangely

Martin via KDE Bugzilla bugzilla_noreply at kde.org
Wed Mar 9 16:29:36 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360314

            Bug ID: 360314
           Summary: Autokey abbreviations causes keystrokes in Konsole
                    (and yakuake) to act strangely
           Product: konsole
           Version: unspecified
          Platform: Ubuntu Packages
               URL: http://hero.one/vids/konsole_bug.mp4
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: konsole-devel at kde.org
          Reporter: signup at flygenring.net

I'm using the Autokey-application to make writing the same thing slightly
faster for log-searches and stuff, so as an example, I have ;send which then
replaces the typed abbreviation with smtpfilter*/mail-20160309*
Based on a Python script in Autokey: 
date = system.exec_command("date +'%Y%m%d'*")
keyboard.send_keys("smtpfilter*/mail-%s" % date)

It works fine everywhere. Ubuntu standard terminal, Terminator, and Guake. 
However, in Konsole and Yakuake, it works very rarely. Often it messes up the
output, writes something extremely weird. And after that, any key you press
either doesn't work, or types part of the abbreviation. 
In the video in the link, I hold down backspace on each attempt, and when the
abbreviation fails and writes something mixed up, it starts deleting a bit,
then it writes part of the abbreviation, causing that weird back and forth..
all while holding Backspace. 

Since it works in standard ubuntu terminal, guake and terminator, it seems to
be something with Konsole and Yakuake. 
I even tried both the qt version, and gtk version of Autokey, and a completely
fresh install of Kubuntu, but it does it in that as well, so seems to be
something with KDE-consoles that messes up during the output.
Only way to stop it from doing that, is completely close Konsole and start it
again. Opening a new tab will have the same issue. 

Reproducible: Always

Steps to Reproduce:
1. Install Autokey
2. Create a script in it, with the following: 
date = system.exec_command("date +'%Y%m%d'*")
keyboard.send_keys("smtpfilter*/mail-%s" % date)
3. Add an abbreviation, choose it should trigger instantly, and save. 
4. Open Konsole or Yakuake, and type the abbreviation. 

Actual Results:  
Almost every time, it writes something completely mixed up, like:
"s/filter*ma*2010" instead of: "smtpfilter*/mail-20160309*"
Afterwards, all keyboard input fails. Occasionally it actually write what you
want it to, but most of the time it just writes part of the abbreviation.
Holding backspace causes very weird going back and forth.

Occasionally it does work, but it usually only works once, then it starts
messing up again. 

Opening a window afterwards, like the About page, or Konsole settings seem to
cause the application to hang.

Expected Results:  
It would output "smtpfilter*/mail-20160309*" and keyboard input would continue
to work properly.

Currently using:
Ubuntu 14.04, 
Fresh Kubuntu install: 15.10 (same jumpy results). 

Konsole version 2.13.2
Yakuake version: 2.9.9
KDE Platform: 4.13.3

I'm actually not sure if this is a bug with Autokey or Konsole, but since it
works with other terminals, it seems to be Konsole/Yakuake causing the issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list