abo-abo / hydra

make Emacs bindings that stick around
1.85k stars 113 forks source link

Setting the display to use posframe within an ivy-posframe does not work initially #339

Open AlexLewandowski opened 5 years ago

AlexLewandowski commented 5 years ago

I have (setq hydra-hint-display-type 'posframe) and (setq hydra--work-around-dedicated nil) in my config file.

In a new emacs session, opening a hydra posframe (for example, M-o) within an ivy posframe will appear in the correct place. However, pressing keys (such as hjkl) will teleport the hydra to the top left corner and eventually disappear. It also flickers despite the hydra--work-around-dedicated being set to nil. Only the first key press will register in the hydra, subsequent key presses will not register.

This can be temporarily fixed by opening a hydra posframe outside of the ivy posframe context first. For the remainder of the session, the hydra posframe works perfectly with the ivy posframe.

Let me know if any other information is required.

Emacs version: GNU Emacs 26.2.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.31) of 2019-07-04

abo-abo commented 5 years ago

I tested your scenario and can reproduce. I think it's an issue with posframe. Please report the bug there.