Public bug reported:

I've seen certain phrases lock up autokey-gtk, and ultimately lock up
your ability to type into any other application until the autokey python
process is killed. Autokey should save my phrases exactly the way I type
them, but behind the scenes it needs to do a better job escaping special
characters or keywords, so that later, when it autokeys my phrases,
special words or characters don't lock autokey up.

Specifically, try making a phrase for "<script>" without quotes. Doing
so will cause a lock-up when you try to autokey that phrase later.

To reproduce this bug, simply do the following steps:

1)  If you don't have autokey install, do this:
sudo apt-get install autokey-gtk

2) Create a new phrase, by clicking the "New" button on the top-bar-
panel then click "phrase" from the sub-menu.

3) Name the phrase anything you want ("test" without quotes will be
fine).

4) For the phrase, type "<script>" (without quotes) into the text-box-
control.

5) After this, click the "Set" button to create a hotkey combination, so
that anytime you press that combination of keys autokey will type
<script>. For example, I chose ctrl-alt-q as the hot combination.

6) Click the "Save" button on the top-bar-panel of autkey.

7) Open up a text editor (like gedit), and now hit the hot-key-
combination you created in step 5.

Expected result: Autokey should type "<script>" (without quotes) into
gedit.

Actual result: Autokey not only locks up itself, but it also locks up
your ability to type anywhere else until you actually kill the autokey
python process that is running autokey.

I have a lot of html templates that I use autokey to insert into code-
editors and such. Many of these templates have <script></script> tags in
them. Each time I try to autokey phrases containing "<script>", Autokey
locks up with the behavior I've described.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: autokey-gtk 0.90.4-1
ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
Uname: Linux 4.4.0-8-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Feb 28 18:59:23 2016
InstallationDate: Installed on 2016-02-10 (18 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
PackageArchitecture: all
SourcePackage: autokey
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: autokey (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

** Description changed:

  I've seen certain phrases lock up autokey-gtk, and ultimately lock up
  your ability to type into any other application until the autokey python
  process is killed. Autokey should save my phrases exactly the way I type
  them, but behind the scenes it needs to do a better job escaping special
- characters or keywords, so that later, when it autokeys my phrases
- special words don't lock it up.
+ characters or keywords, so that later, when it autokeys my phrases,
+ special words or character don't lock it up.
  
  Specifically, try making a phrase for "<script>" without quotes. Doing
  so will cause a lock-up when you try to autokey that phrase later.
  
  To reproduce this bug, simply do the following steps:
  
  1)  If you don't have autokey install, do this:
  sudo apt-get install autokey-gtk
  
  2) Create a new phrase, by clicking the "New" button on the top-bar-
  panel then click "phrase" from the sub-menu.
  
  3) Name the phrase anything you want ("test" without quotes will be
  fine).
  
  4) For the phrase, type "<script>" (without quotes) into the text-box-
  control.
  
  5) After this, click the "Set" button to create a hotkey combination, so
  that anytime you press that combination of keys autokey will type
  <script>. For example, I chose ctrl-alt-q as the hot combination.
  
  6) Click the "Save" button on the top-bar-panel of autkey.
  
  7) Open up a text editor (like gedit), and now hit the hot-key-
  combination you created in step 5.
  
  Expected result: Autokey should type "<script>" (without quotes) into
  gedit.
  
  Actual result: Autokey not only locks up itself, but it also locks up
  your ability to type anywhere else until you actually kill the autokey
  python process that is running autokey.
  
  I have a lot of html templates that I use autokey to insert into code-
  editors and such. Many of these templates have <script></script> tags in
  them. Each time I try to autokey phrases containing "<script>", Autokey
  locks up with the behavior I've described.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: autokey-gtk 0.90.4-1
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Feb 28 18:59:23 2016
  InstallationDate: Installed on 2016-02-10 (18 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
  PackageArchitecture: all
  SourcePackage: autokey
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  I've seen certain phrases lock up autokey-gtk, and ultimately lock up
  your ability to type into any other application until the autokey python
  process is killed. Autokey should save my phrases exactly the way I type
  them, but behind the scenes it needs to do a better job escaping special
  characters or keywords, so that later, when it autokeys my phrases,
- special words or character don't lock it up.
+ special words or characters don't lock autokey up.
  
  Specifically, try making a phrase for "<script>" without quotes. Doing
  so will cause a lock-up when you try to autokey that phrase later.
  
  To reproduce this bug, simply do the following steps:
  
  1)  If you don't have autokey install, do this:
  sudo apt-get install autokey-gtk
  
  2) Create a new phrase, by clicking the "New" button on the top-bar-
  panel then click "phrase" from the sub-menu.
  
  3) Name the phrase anything you want ("test" without quotes will be
  fine).
  
  4) For the phrase, type "<script>" (without quotes) into the text-box-
  control.
  
  5) After this, click the "Set" button to create a hotkey combination, so
  that anytime you press that combination of keys autokey will type
  <script>. For example, I chose ctrl-alt-q as the hot combination.
  
  6) Click the "Save" button on the top-bar-panel of autkey.
  
  7) Open up a text editor (like gedit), and now hit the hot-key-
  combination you created in step 5.
  
  Expected result: Autokey should type "<script>" (without quotes) into
  gedit.
  
  Actual result: Autokey not only locks up itself, but it also locks up
  your ability to type anywhere else until you actually kill the autokey
  python process that is running autokey.
  
  I have a lot of html templates that I use autokey to insert into code-
  editors and such. Many of these templates have <script></script> tags in
  them. Each time I try to autokey phrases containing "<script>", Autokey
  locks up with the behavior I've described.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: autokey-gtk 0.90.4-1
  ProcVersionSignature: Ubuntu 4.4.0-8.23-generic 4.4.2
  Uname: Linux 4.4.0-8-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Feb 28 18:59:23 2016
  InstallationDate: Installed on 2016-02-10 (18 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160210)
  PackageArchitecture: all
  SourcePackage: autokey
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1551054

Title:
  Certain Key-Phrases Lockup AutoKey-GTk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/1551054/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to