-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool-tip not disappearing #6
Comments
Just to add to the above: after setting
tool-tip will disappear after 10 seconds. However, even with the above, it will still not disappear:
|
Yeah, this is really annoying. Going to have to remove this package until it's fixed, because the tooltip popup stays in the way of my code. |
@StreakyCobra I've turned this library into a global minor mode ( Please update and try whether that's better. |
I can confirm that the 5 seconds timer works – the 60 seconds before was also working, just a little bit too long :-) – but the tooltip gets closed only by the timer. I tried to:
And it stays for the 5 seconds in any case. Is there anything else I should do to make it work, as it's a global minor mode now? Maybe it's a spacemacs problem? I just updated my packages from melpa: (define-package "flycheck-pos-tip" "20151111.131" "Flycheck errors display in tooltip" '((dash "2.12") (flycheck "0.18") (pos-tip "0.4.6")) :url "https://github.com/flycheck/flycheck-pos-tip" :keywords '("tools" "convenience")) I'm sure it's the last version as your last change is included (f2459b4) |
@StreakyCobra Did you change your configuration to enable the new minor mode? |
Sorry, I was assuming it was enabled by default, my bad. Indeed it works better, it escapes on actions within emacs, but not when changing the focus (i.e. changing to firefox, to a terminal, etc…) If I am the only one encountering this problem, it may be something wrong on my side. I'm using i3-wm by the way. |
@StreakyCobra Does it matter that the tooltip stays when switching focus? I mean, if you switch away from Emacs, why would care for the error tooltip? |
The problem is the tooltip stays in front of firefox, even if emacs is behind it. It's why I am saying it could be related to my WM. |
I just reproduced @StreakyCobra's issue. I am also on i3. I'm worried this could be an issue with Emacs' tooltip implementation and not this plugin. |
@StreakyCobra Indeed, I can't reproduce that behaviour on OS X. Anyhow, I've added code to hide the tooltip when Emacs looses focus, but you'll need at least Emacs 24.4 for that to work, as the corresponding hook is not available on earlier versions. |
👍 Many thanks, I'll try it once updated on melpa and give a feedback here. |
Is it supposed to take ~5 seconds for the tooltip to appear as well? |
@joehillen The tooltip appears after whatever you set |
Hmm, maybe it's a haskell-mode issue. |
@lunaryorn It works now 👍 Thx for your help. On last detail: the |
Show error at point again if Emacs gets the focus, and cancel error display if Emacs looses focus, as there’s no need to show an error that the user won’t even see. See flycheck/flycheck-pos-tip#6
Show error at point again if Emacs gets the focus, and cancel error display if Emacs looses focus, as there’s no need to show an error that the user won’t even see. See flycheck/flycheck-pos-tip#6
@StreakyCobra The latest |
👍 I'll try it once in melpa, thx |
@lunaryorn It works perfectly now! Many thanks. |
This issue seems to have reappeared. The tooltip remains visible when switching to another application on top of Emacs. NixOS
flycheck-pos-tip-20200516.1600 Windows
flycheck-pos-tip-20200516.1600 |
With the last version, freshly taken from MELPA (20151109.1056), the tool-tip take ages to disappear. It get updated quickly once on a new error (position and text), but even switching to another windows (like firefox) or changing the workspace (in i3) don't close it.
This issue was confirmed by @TheBB, so it shouldn't be config-specific.
The text was updated successfully, but these errors were encountered: