There is a yellow tooltip stuck and it floats above all other windows. I do not know from what program it came.
How can I get rid of it without restarting my computer?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
There is a way to find out what application is responsible, if you have the developer tools installed.
In versions of Mac OS X before 10.6, the Quartz Debug tool had a Window List which lists every window and the application it belongs to. Unfortunately, this has been hidden in later versions, but it can be enabled (as I just found through this article: 10.6: Quartz Debug 4.0 Secrets) — run the shell command
defaults write com.apple.QuartzDebug QDVisibleClientIdentifiers -array-add -string QDWindowInfoClient
and then launch Quartz Debug. You will be able to browse all the windows and see images of each, push the “Reveal“ button to highlight it, or look at the heights to find windows that are of the right size.
This setting takes effect until you close the window. The linked article has suggestions for permanently enabling a way to bring up that window, but they don't seem to work on my Lion system and I haven't found any newer discussion. This rather suggests Apple thinks these tools shouldn't be readily accessible, so play with this at your own risk...
I tracked this down at long last. See here for a workaround: https://gitlab.com/gnachman/iterm2/issues/4666