Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hang intermittently when using window.get_active_title() in script #86

@johnbeard

Description

@johnbeard

Classification:

Hang

Reproducibility:

Sometimes, but always evenutally

Summary

When a script calls window.get_active_title(), autokey sometime hangs forever thereafter.

Steps to Reproduce

  • Make a script with the following content, and assign a phrase:

    title = window.get_active_title()
    keyboard.send_keys("didn't hang")

Expected Results

Every invocation of script should enter "didn't hang".

Actual Results

After a small number of attempts, the phrase will not be substituted and autokey will stop responding to phrases. When running with -l, the last debug is:

 2017-06-30 18:57:40,930 DEBUG - iomediator - Send via event interface

Removing the window.get_active_title() call fixes the issue.

Version

AutoKey-Py3 version Git 38080cc. Running on Arch linux with i3 window manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp-wantedscriptingIssues related to Scripts or the scripting API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions