Skip to content
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

Disable tooltip timeout by default #30

Open
vanceism7 opened this issue Apr 12, 2019 · 5 comments
Open

Disable tooltip timeout by default #30

vanceism7 opened this issue Apr 12, 2019 · 5 comments

Comments

@vanceism7
Copy link

Hey guys, I know there's been some bugs in the past regarding the tooltip not disappearing, and that a timeout was added on the tooltip to manage this to some degree, but it seems like these past issues have been fixed, and I think it makes sense in general to not have a timeout on errors.
This way, we're able to read through errors without having to continually re-trigger the error popup.

Hope this suggestion is agreeable to everyone! Thanks for all your work on this cool extension!

@cpitclaudel
Copy link
Member

🤔 I'm not sure which bugs you have in mind ^^ In any case, did you consider customizing flycheck-pos-tip-timeout?

(Also, it's not just guys around here)

@vanceism7
Copy link
Author

Apparently there were some bugs a year or two back (I think) where the tooltip was staying on the screen even after the cursor left the error part of a line, or even when emacs didn't close I guess.

Anyways, it took me a while to find the settings where I could change the timeout, but I thought maybe not having a timeout might be a smarter default.

(And haha yea I meant "guys" like the blanket term for "everyone here". Kind of like how Spanish uses "Ellos" to address a group of men and women lol)

@cpitclaudel
Copy link
Member

Anyways, it took me a while to find the settings where I could change the timeout, but I thought maybe not having a timeout might be a smarter default.

I can't think of other packages that don't have a timeout on tooltips, but I'm happy to hear @fmdkdd might think.

@fmdkdd
Copy link
Member

fmdkdd commented Apr 14, 2019

I don't even use pos-tip, but I can understand that the tooltip disappearing before you had time to read and understand the error can be frustrating.

I can't think of other packages that don't have a timeout on tooltips

In Emacs land I don't know, but Firefox doesn't seem to have a timeout on tooltips. Nor do Github various tooltips.

We are already dismissing the tooltip on focus-out and post-command. I don't know which bugs @vanceism7 has in mind either, but at the very least increasing the default timeout should be safe.

@Martinsos
Copy link

Martinsos commented Jul 29, 2020

Hi all,
I am coming here from Spacemacs, where flycheck-pos-tip is used (at least as part of haskell-layer, if not wider), and I am having a problem with popup disappearing after 5 seconds, making it mostly unusable -> I have to constantly move my cursor from and back to the error to see the rest of the message. I am wondering how to other users use it if it is so short?

From what I am getting, default timeout is 5 seconds, which is way too short from my perspective. I see discussion has been here to either make it longer, or to remove it. Are there any use cases which can explain why this timeout is needed at all? If no, then I would suggest removing it completely, at least as a default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants