Skip to content

[Mac OS X] imgui issues after closing laptop #248

Description

@knausj85

I typically unlock my laptop with touch ID, and then close the laptop to use my external screen.

enabling command history consistently results in the below error if talon was already running:

2021-02-19 21:24:42 ERROR     8:   talon/scripting/talon_script.py:518| 
    7:   talon/scripting/talon_script.py:264| 
    6:   talon/scripting/talon_script.py:485| 
    5:        talon/scripting/actions.py:74 | 
    4:          talon/scripting/types.py:360| 
    3: user/knausj_talon/code/history.py:59 | gui.show()
    2:                    talon/imgui.py:801| 
    1:                   talon/screen.py:241| 
ValueError: screen not found containing point 960.0, 0.0

[The below error was raised while handling the above exception(s)]
2021-02-19 21:24:42 ERROR cb error topic="phrase" cb=<bound method SpeechSystem.engine_event of <talon.scripting.speech_system.SpeechSystem object at 0x11055dea0>>
   29:       lib/python3.9/threading.py:912* # cron thread
   28:       lib/python3.9/threading.py:954* 
   27:       lib/python3.9/threading.py:892* 
   26:                    talon/cron.py:123| 
   25:                    talon/cron.py:80 | 
   24:          talon/scripting/rctx.py:225| # 'cron' talon_plugins.engines.dragon:<lambda>()
   23:      talon/scripting/dispatch.py:97 | 
   22:      talon/scripting/dispatch.py:103| 
   21:      talon/scripting/dispatch.py:138| 
   20:      talon/scripting/dispatch.py:129| 
   19:          talon/scripting/rctx.py:225| # 'phrase' main:_redispatch()
   18: talon/scripting/speech_system.py:52 | 
   17:      talon/scripting/dispatch.py:103| 
   16:      talon/scripting/dispatch.py:138| 
   15:      talon/scripting/dispatch.py:129| 
   14: ------------------------------------# cron thread
   13:          talon/scripting/rctx.py:225| # 'phrase' main:engine_event()
   12: talon/scripting/speech_system.py:353| 
   11:       talon/scripting/actions.py:74 | 
   10:         talon/scripting/types.py:360| 
    9:          talon/scripting/core.py:108| 
    8:       talon/scripting/actions.py:74 | 
    7:         talon/scripting/types.py:360| 
    6:          talon/scripting/core.py:138| 
    5:       talon/scripting/actions.py:74 | 
    4:         talon/scripting/types.py:360| 
    3:          talon/scripting/core.py:143| 
    2:  talon/scripting/talon_script.py:615| 
    1:  talon/scripting/talon_script.py:522| 
talon.scripting.talon_script.TalonScriptError: 
 in script at /Users/jeffknaus/.talon/user/knausj_talon/modes/modes.talon:7:
   user.mouse_wake()
   user.history_enable()
 > user.talon_mode()
ValueError: screen not found containing point 960.0, 0.0

only restarting talon resolves the issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions