Open digikar99 opened 2 years ago
I have faced similar issue. For me the "ghost" posframe does not get created but when I follow the steps above. The issue I faced is:
counsel-M-x
counsel-M-x
and now try to move around in the listWhat you observe is that the posframe in the "inactive" frame will stay active and you can move in the items of that posframe although that is not the "currrent frame".
If you tried this and it didn't happen, try running counsel-M-x
and without closing swicth to the other frame and run counsel-M-x
, and repeat it few more times.
So:
counsel-M-x
orcounsel-imenu-or-semantic
in it, and exit the posframe throughC-g
(keyboard-quit
).counsel-M-x
orcounsel-imenu-or-semantic
in the second frame.And the last one can be annoying depending on what else I'm doing.
Also, using ivy-posframe in the first emacsclient frame does not create such an empty posframe in the second or later emacsclient frames. And ivy-posframe from second emacsclient frame affects only the first but not the later created emacsclient frames.*
I have the following as the value of
ivy-posframe-display-functions-alist
:posframe version: 20220110.422 ivy-posframe version: 20211217.234
emacs-version: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-09-19
*It seems I might have discovered a temporary workaround while trying to specify the issue. The "target" of the empty posframe is the emacsclient frame in which ivy-posframe was called for the first time after all the emacsclient frames were closed. So, if I keep the first emacsclient frame as a "spare frame" on a separate unused workspace, it won't get in my way.