Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phrases and scripts inject messed up text #858

Open
6 of 16 tasks
jhueffelmann opened this issue May 11, 2023 · 21 comments
Open
6 of 16 tasks

phrases and scripts inject messed up text #858

jhueffelmann opened this issue May 11, 2023 · 21 comments

Comments

@jhueffelmann
Copy link

AutoKey is a Xorg application and will not function in a Wayland session. Do you use Xorg (X11) or Wayland?

Xorg

Has this issue already been reported?

  • I have searched through the existing issues.

Is this a question rather than an issue?

  • This is not a question.

What type of issue is this?

Bug

Choose one or more terms that describe this issue:

  • autokey triggers
  • autokey-gtk
  • autokey-qt
  • beta
  • bug
  • critical
  • development
  • documentation
  • enhancement
  • installation/configuration
  • phrase expansion
  • scripting
  • technical debt
  • user interface

Other terms that describe this issue if not provided above:

No response

Which Linux distribution did you use?

Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

Which AutoKey GUI did you use?

GTK

Which AutoKey version did you use?

autokey-gtk 0.95.10-2

How did you install AutoKey?

from apt repo

Can you briefly describe the issue?

all of scripts or snippets get messed up on insertion since one or two weeks.

Can the issue be reproduced?

Always

What are the steps to reproduce the issue?

Script triggers on abbreviation tmv and space:
keyboard.send_keys("Gib mir bitte Teamviewer ID und Password (als TEXT!)\n")

What should have happened?

should output:
Gib mir bitte Teamviewer ID und Password (als TEXT!)

What actually happened?

Gibt em iTre beirt Iamd PvasiewD unsword (als TEXT!)

Do you have screenshots?

No response

Can you provide the output of the AutoKey command?

autokey-gtk -lc
2023-05-11 08:26:24,056 INFO - root - Initialising application
2023-05-11 08:26:24,059 INFO - root - Initialise global hotkeys
2023-05-11 08:26:24,059 INFO - config-manager - Loading config from existing file: /home/jan/.config/autokey/autokey.json
2023-05-11 08:26:24,059 DEBUG - config-manager - Loading folder at '/home/jan/.config/autokey/data/My Phrases'
2023-05-11 08:26:24,060 DEBUG - config-manager - Loading folder at '/home/jan/.config/autokey/data/Sample Scripts'
2023-05-11 08:26:24,060 INFO - config-manager - Configuration changed - rebuilding in-memory structures
2023-05-11 08:26:24,060 DEBUG - inotify - Adding watch for /home/jan/.config/autokey/data/My Phrases
2023-05-11 08:26:24,060 DEBUG - inotify - Adding watch for /home/jan/.config/autokey/data/Sample Scripts
2023-05-11 08:26:24,060 INFO - config-manager - Successfully loaded configuration
2023-05-11 08:26:24,060 DEBUG - inotify - Adding watch for /home/jan/.config/autokey/data
2023-05-11 08:26:24,060 DEBUG - inotify - Adding watch for /home/jan/.config/autokey
2023-05-11 08:26:24,060 DEBUG - config-manager - Global settings: {'isFirstRun': True, 'serviceRunning': True, 'menuTakesFocus': False, 'showTrayIcon': True, 'sortByUsageCount': True, 'promptToSave': False, 'enableQT4Workaround': False, 'interfaceType': 'XRecord', 'undoUsingBackspace': True, 'windowDefaultSize': [1709, 577], 'hPanePosition': 342, 'columnWidths': [150, 50, 100], 'showToolbar': True, 'notificationIcon': 'autokey-status', 'workAroundApps': '.*VirtualBox.*|krdc.Krdc', 'triggerItemByInitial': False, 'disabledModifiers': [], 'scriptGlobals': {}}
2023-05-11 08:26:24,061 INFO - service - Starting service
2023-05-11 08:26:24,070 DEBUG - interface - Enabling sending using Alt-Grid
2023-05-11 08:26:24,071 DEBUG - interface - Modifier masks: {<Key.SHIFT: '<shift>'>: 1, <Key.CAPSLOCK: '<capslock>'>: 2, <Key.CONTROL: '<ctrl>'>: 4, <Key.ALT: '<alt>'>: 8, <Key.ALT_GR: '<alt_gr>'>: 128, <Key.SUPER: '<super>'>: 64, <Key.HYPER: '<hyper>'>: 64, <Key.META: '<meta>'>: 8, <Key.NUMLOCK: '<numlock>'>: 16}
2023-05-11 08:26:24,093 DEBUG - interface - Alt-Grid: XK_ISO_Level3_Shift, 65027
2023-05-11 08:26:24,093 DEBUG - interface - X Server Keymap, listing unmapped keys.
2023-05-11 08:26:24,093 DEBUG - interface - No mapping for [`]
2023-05-11 08:26:24,093 DEBUG - interface - No mapping for [^]
2023-05-11 08:26:24,093 DEBUG - iomediator - Set modifier Key.CAPSLOCK to False
2023-05-11 08:26:24,093 DEBUG - iomediator - Set modifier Key.NUMLOCK to True
2023-05-11 08:26:24,094 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,094 DEBUG - interface - __flushEvents: Entering event loop.
2023-05-11 08:26:24,094 INFO - iomediator - Created IoMediator instance, current interface is: <XRecordInterface(XInterface-thread, initial daemon)>
2023-05-11 08:26:24,094 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,095 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,095 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,096 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,096 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,097 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,097 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,097 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,097 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,098 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,098 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,098 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,098 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,098 INFO - interface - XRecord interface thread starting
2023-05-11 08:26:24,099 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,099 INFO - service - Service now marked as running
2023-05-11 08:26:24,099 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,100 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,100 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,100 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,101 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,102 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,102 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,102 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,102 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,103 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,103 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,103 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,103 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,103 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,104 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,105 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,106 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,107 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,108 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,109 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,110 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,111 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,112 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,113 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,114 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,115 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,115 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,116 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,116 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,116 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,116 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,117 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,118 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,119 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,120 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<super>'] 'k'
2023-05-11 08:26:24,121 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,122 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,123 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,124 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,125 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,126 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,127 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,128 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,129 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,129 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,130 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,130 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,130 DEBUG - phrase-menu - Sorting phrase menu by usage count
2023-05-11 08:26:24,131 DEBUG - phrase-menu - Triggering menu item by position in list
2023-05-11 08:26:24,131 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,131 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,131 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,131 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,132 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,133 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,133 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,133 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,133 DEBUG - root - Created DBus service
2023-05-11 08:26:24,133 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,133 INFO - root - Displaying configuration window
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,134 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,135 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,136 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,137 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,137 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,137 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,137 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,137 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,138 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,139 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,139 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,139 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,139 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,140 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,140 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,140 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,140 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,141 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,141 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,141 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,141 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,141 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,142 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,142 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,142 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,142 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,142 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,143 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,143 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,143 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,144 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,144 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,144 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,144 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,145 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,145 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,145 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,145 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,146 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,146 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,146 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,147 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,147 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,147 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,148 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,149 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,150 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,151 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,151 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,151 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,151 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,152 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,152 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,152 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,152 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,153 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,153 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,153 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,153 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,154 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,154 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,154 DEBUG - interface - Grabbing hotkey: ['<shift>', '<super>'] 'k'
2023-05-11 08:26:24,154 DEBUG - interface - Grabbing hotkey: ['<ctrl>'] '<page_up>'
2023-05-11 08:26:24,154 DEBUG - interface - Grabbing hotkey: ['<ctrl>'] '<page_down>'
2023-05-11 08:26:24,155 DEBUG - interface - Grabbing hotkey: ['<meta>'] 'c'
2023-05-11 08:26:24,155 DEBUG - interface - Grabbing hotkey: ['<ctrl>'] '<f7>'
2023-05-11 08:26:24,240 INFO - root - Entering main()
2023-05-11 08:26:31,285 DEBUG - service - Raw key: 't', modifiers: [], Key: t
2023-05-11 08:26:31,285 DEBUG - service - Window visible title: 'Skype [8]', Window class: 'skype.Skype'
2023-05-11 08:26:31,285 DEBUG - service - Input queue at end of handle_keypress: deque(['t'], maxlen=150)
2023-05-11 08:26:31,855 DEBUG - service - Raw key: 'm', modifiers: [], Key: m
2023-05-11 08:26:31,855 DEBUG - service - Window visible title: 'Skype [8]', Window class: 'skype.Skype'
2023-05-11 08:26:31,855 DEBUG - service - Input queue at end of handle_keypress: deque(['t', 'm'], maxlen=150)
2023-05-11 08:26:32,266 DEBUG - service - Raw key: 'v', modifiers: [], Key: v
2023-05-11 08:26:32,266 DEBUG - service - Window visible title: 'Skype [8]', Window class: 'skype.Skype'
2023-05-11 08:26:32,266 DEBUG - service - Input queue at end of handle_keypress: deque(['t', 'm', 'v'], maxlen=150)
2023-05-11 08:26:34,132 DEBUG - service - Raw key: ' ', modifiers: [], Key:  
2023-05-11 08:26:34,132 DEBUG - service - Window visible title: 'Skype [8]', Window class: 'skype.Skype'
2023-05-11 08:26:34,132 INFO - service - Matched Script "teamviewer" having abbreviations "['tmv']" against current input
2023-05-11 08:26:34,132 DEBUG - service - Script runner executing: Script('teamviewer')
2023-05-11 08:26:34,132 DEBUG - iomediator - Send via event interface
2023-05-11 08:26:34,132 DEBUG - interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
2023-05-11 08:26:34,133 DEBUG - service - Input queue at end of handle_keypress: deque([], maxlen=150)
2023-05-11 08:26:34,133 ERROR - service - Ignored locking error in handle_keypress
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/autokey/service.py", line 207, in __tryReleaseLock
    self.configManager.lock.release()
RuntimeError: release unlocked lock
2023-05-11 08:26:34,133 DEBUG - interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
2023-05-11 08:26:34,133 DEBUG - interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
2023-05-11 08:26:34,134 DEBUG - interface - Send special key: [<Key.BACKSPACE: '<backspace>'>]
2023-05-11 08:26:34,134 DEBUG - interface - Sending string: 'Gib mir bitte Teamviewer ID und Password (als TEXT!)'
2023-05-11 08:26:34,142 DEBUG - interface - Send special key: ['<enter>']

Anything else?

this happens similiar on everything since one or two weeks even simple snippets get messed up
on phrases the bug appears to but only on the keyboard method though when traced i also can see the lock_release error

@josephj11
Copy link
Contributor

@jhueffelmann welcome to the AutoKey community!

Although "messed up" probably isn't the best description of the problem you're experiencing, the most likely problem is that you are using Wayland which is the new default window server in Ubuntu 22.04 and newer.

You an verify this by opening a terminal and typing

echo $XDG_SESSION_TYPE

If it says anything other than x11, then that's the problem and you can fix it by manually selecting Xorg on your login screen when logging in to your user account.

If it says x11 then we'll have to take more steps to figure out what the problem is and we will need more information on precisely what's going wrong.

From your trace, it appears that you typed tmv which AutoKey recognized as an abbreviation and AutoKey emitted your phrase text asking for your Teamviewer ID and password. Looks like it worked fine from AutoKey's perspective.

When you get a chance, you should upgrade to 0.96.0, our current release to get a lot of bug fixes and a few enhancements. Notably, that Release unlocked lock exception (which doesn't cause any actual problems) will go away along with some of the annoying startup messages in trace logs. Follow these instructions.

@Elliria
Copy link
Contributor

Elliria commented May 13, 2023

This might be one of those situations where the Function to Type Text Slowly is needed, and Skype might need to be added to the list of programs that are known to have trouble receiving pasted text correctly.

@josephj11
Copy link
Contributor

@Elliria We need confirmation from more than one source (or from a trusted source such as one of us) before adding a new app to the bad boys list. I gave up on Skype after MS bought it and made things more complicated, so I don't have it installed.

@Elliria
Copy link
Contributor

Elliria commented May 14, 2023

Okay. No worries. I don't use it either because I don't agree with its terms of use, so I can't test it either.

@jhueffelmann
Copy link
Author

jhueffelmann commented May 15, 2023

okay, sorry not to mention i am using X11. i didnt have in mind it could depend on a single receiving applcation but youre absolutely right. testing the same in another application then skype was working perfectly.
thanks to Elliria, the function to type text slowly is helping me out with a 0.01 delay ;)

@josephj11
Copy link
Contributor

josephj11 commented May 15, 2023

@jhueffelmann Always try to paste text from the clipboard instead of "typing" it. Most applications can deal with that successfully (and it avoids other problems). You only need to "type" with the keyboard module when you are sending "active" key that have immediate effects like moving the cursor. See our wiki for much more detail on this.

@Elliria
Copy link
Contributor

Elliria commented May 16, 2023

That's good to know @jhueffelmann. If pasting from the clipboard doesn't work, you might want to try the Function to Type Text Slowly, since that works in Firefox and LibreOffice, which are two other programs that are known to do this sort of thing.

@jhueffelmann
Copy link
Author

just fyi: it seems current skype for linux has a bug regarding keyboard entry anyways, i have to restart sometimes cause the manual input gets corrupted in a way very similiar to the above

@josephj11
Copy link
Contributor

While Skype is (last I looked) a very popular application (so we should be concerned if AutoKey doesn't play nicely with it), there are many other great alternatives to it (if you can get the other party to use one of them).

I'm playing around with keet. Seems pretty nice, but I don't have anyone else to "call" with it.

@Elliria
Copy link
Contributor

Elliria commented May 19, 2023

We use Mumble. It's free and open source and is in the Ubuntu repositories by default. I hadn't heard of Keet before, but will keep an eye on it to see if it gets included in the Ubuntu repositories at some point.

@josephj11
Copy link
Contributor

Never encountered Mumble before. Who do you use it with? (whatever you want to share)

@Elliria Take a look at this and this.

Not saying we have to do this for AutoKey, but it is pretty impressive.

@Elliria
Copy link
Contributor

Elliria commented May 21, 2023

We use it with gaming friends. My son is more of a gamer than I am, but I occasionally join in. The conversations on Mumble can be about anything and not just the games, although it can be interesting to listen in on the fast-paced ("Oh my God," or, "Yes!" or, "No!" or, "Good job!" or, "Get him! Get him! Get him!", etc.) goings-on of a game, too.

@Elliria
Copy link
Contributor

Elliria commented May 21, 2023

I love what Mumble did with those pages you linked, @josephj11. They will be used as role-models for the changes that will be happening to the CONTRIBUTORS.rst file and some of the wiki pages. I added the two links to my ToDo list as references for when that job gets underway.

@BaDaHe
Copy link

BaDaHe commented Jun 3, 2023

Further clarification of the above bug.
Using x11.
When using a text editor:
rpa followed by a space types RaspBerry Pi
Australia followed by a space types Australia

But when using LibreOffice Writer...
the output is:
rpiRaspberry
ausAustral

The keyed shortcut is not removed, and the replacement word is not completed.

Definitely an issue with the output arriving at the destination program too soon.

BdH
Sat 3-Jun-23 20:23

@josephj11
Copy link
Contributor

@BaDaHe I'm not sure if we can fix this. I believe it's caused by the keyboard module (which we didn't write). The first thing to try is always to select the Paste using Ctrl+V option for your phrases. That fixes most problems and avoids a number of others. If that doesn't work, recode one of your phrases as a script using the type_slow function from our wiki. Try the simple version first (the first one). If you are still having problems, then report back here or on Gitter with the details of what you tried and we'll try to find another solution.

We are also testing a new I/O interface for use with Wayland. It hasn't been tested enough yet to know how it works on various edge cases.

@BaDaHe
Copy link

BaDaHe commented Jun 3, 2023

Well, that is not good enough josephj11, I want my money back.
Oh wait…

It never was an end of the world problem, so your workaround was an easy fix.

I changed what had been a PHRASE to a SCRIPT.
I retained the trigger abbreviation = rpi followed by a space.
I selected:
REMOVE TYPED ABBREVIATION and
IGNORE CASE OF TYPED ABBREVIATION and
TRIGGER IMMEDIATELY (DON’T REQUIRE A TRIGGER CHARACTER)

I used this script coding:

clipboard.fill_clipboard("Raspberry Pi ")
keyboard.send_keys("<ctrl>+v")

And in my case this now works perfectly in both a text editor and LibreOffice Writer.

I started with this script:

clipboard.fill_clipboard("Raspberry Pi ")
time.sleep(0.1)
keyboard.send_keys("<ctrl>+v")

But found that the time.sleep(0.1) instruction was not required. Other computers may required this extra line of coding.

Thanks for the very prompt response from the other side of the world.

BdH
NSW, Australia
Sun 4-Jun-23 01:26 - yeah, I couldn't sleep worrying about this problem! ;-)

@josephj11
Copy link
Contributor

josephj11 commented Jun 3, 2023

@BaDaHe Glad it works. Keep in mind that the clipboard API calls are asynchronous. They return successfully immediately even though they have started another thread to do the operation. So, as the load on your system changes they might not complete before you try to use the result.

BTW, markdown ate your <ctrl> codes. I edited your response and put them in code blocks so they would display correctly.

@Elliria
Copy link
Contributor

Elliria commented Jun 3, 2023

I'm glad it's working now, @BaDaHe. Keep the time.sleep(0.1) command in mind just in case, though, for the future. You may either run into a LibreOffice file that misbehaves and requires it or some other circumstance will interfere and make it necessary. We're not fully sure where the snag is, but it's a known issue and we all just have to remain vigilant until it can be figured out. Once we're all using Wayland, this may end up no longer being an issue, but only time will tell.

@BaDaHe
Copy link

BaDaHe commented Jun 4, 2023 via email

@josephj11
Copy link
Contributor

@Elliria
Copy link
Contributor

Elliria commented Jun 5, 2023

You could leave it commented out, @BaDaHe, and only enable it if it's needed, but you're right that it makes such a small difference that it doesn't end up being an imposition if it's left in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants