-
Couldn't load subscription status.
- Fork 71
Open
Description
describe your issue
Sorry for being so obsessed with tray icons 😅
I noticed that unless I am continuously calling some function from an AHK object, tooltips and the tray icon right-click menu do not appear.
Thanks for your consideration.
ahk.version
1.5.2
AutoHotkey version
v1
Code to reproduce the issue
from ahk import AHK
from ahk.directives import NoTrayIcon
from time import sleep
ahk = AHK()
ahk.menu_tray_tooltip('The problematic one')
def show_tooltip():
print('Showing tooltip')
ahk.hide_tooltip()
ahk.show_tooltip('Hello, world!')
ahk.add_hotkey('~t', show_tooltip) # Press T to bring up the tooltip
ahk.start_hotkeys()
while True:
ahk.get_mouse_position() # I can't right click the tray icon unless this line is uncommented
# This framerate of the tooltip fade-in animation is capped by how often the mouse position is checked
sleep(1)Traceback/Error message
No response
Metadata
Metadata
Assignees
Labels
No labels