wf-shell icon indicating copy to clipboard operation
wf-shell copied to clipboard

command_output_tultip event

Open mrfoggg opened this issue 7 months ago • 0 comments

In the current implementation the command_output_tooltip event occurs synchronously with the command_output

Expected behavior - event occurs on hover.

For example, in my case, a script was written that displays the tracking of a parcel. The main script was added to autorun, which checks the status after a specified n seconds and writes it to a file. The command_output reads the status file every second. It was planned that when hovering, the tooltip code would work and an unscheduled update of the parcel status would occur and detailed information would be displayed. The detailed information would indicate whether the status had changed at the time of hovering, but this cannot be done since the tooltip code is executed not at the time of hovering, but every second synchronously with the command_output.

I spent a long time looking for an error in my scripts, but after running the tooltip code in the terminal, I realized that it was working and the problem was in the frequency of execution of the tooltip commands

mrfoggg avatar Jun 05 '25 04:06 mrfoggg