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...
The simplest way to get rid of this, at least when it happens for me, is to hover over anything with a tooltip to get a new tooltip. Happens to me quite often with Safari these days, very annoying.
You can often make it go away just by quitting the application. If that doesn't solve it, you may have to use ⌥+⌘+esc to relaunch the Finder.
The way I solved it was to log out and in again. Not the ideal solution but I guess that when you don't know what program it belonged to, there aren't many options.
I tracked this down at long last. See here for a workaround: https://gitlab.com/gnachman/iterm2/issues/4666
The program was "Eclipse" according to the theme named "Solarized Dark" - so java issue then :P
or iTerm uses the same theme.