flycheck-posframe icon indicating copy to clipboard operation
flycheck-posframe copied to clipboard

Posframe doesn't hide automatically on moving the point out of the error line

Open Gleek opened this issue 4 years ago • 6 comments

This might be an issue in recent updates of posframe but flycheck-posframe has stopped hiding automatically once moved out of the error line. It stays open until I hover on it with my mouse or change my focus to the minibuffer.

I have solved it by running the flycheck posframe hide on post-command-hook.

(add-hook 'post-command-hook #'flycheck-posframe-hide-posframe)

Gleek avatar Feb 23 '21 08:02 Gleek

@Gleek Do you notice quite sticky when moving the cursor up/down after having this hook?

zhenwenc avatar Mar 14 '21 20:03 zhenwenc

Apologies for taking so long to get to this issue, I expect to have a fix ready later this morning.

alexmurray avatar Mar 14 '21 21:03 alexmurray

This should be fixed now - a new package should be available on MELPA with this fix within ~24 hours.

alexmurray avatar Mar 15 '21 00:03 alexmurray

hi @alexmurray, it seems the original issue returned with the recent commit 911368472919b33db622c2d1ad062dadb7b20ca3. It seemed to work properly for me with the previous commit 6eea204138721f511051af5138326fecaad237b7.

If it helps, I'm using doom-emacs with lsp and lsp-ui.

mattsawyer77 avatar Mar 15 '21 20:03 mattsawyer77

Damn, ok I have a new implementation in 8f60c9b - let me know if that works any better - or if anyone notices any other weirdness...

alexmurray avatar Mar 16 '21 06:03 alexmurray

thanks @alexmurray ! 8f60c9b seems to work perfectly for me.

mattsawyer77 avatar Mar 17 '21 21:03 mattsawyer77