tumashu / ivy-posframe

ivy-posframe is a ivy extension, which let ivy use posframe to show its candidate menu, ivy-posframe is a **GNU ELPA** package.
415 stars 26 forks source link

Frame title changing and flickering when in use #81

Closed yankcrime closed 4 years ago

yankcrime commented 4 years ago

Using ivy-posframe causes the frame title to change and results in a distracting flickering effect. Here's a GIF that demonstrates:

Kapture 2019-12-18 at 11 00 52

I'm using Emacs 26.3 on macOS (10.15.2). The version of ivy-posframe is 20191103.105 installed via Melpa, and my configuration is as follows:

(use-package ivy-posframe
 :custom-face
 (internal-border ((t (:background "#cccccc"))))
 :after (ivy)
 :config
 (setq ivy-posframe-parameters
     '((left-fringe . 8)
       (right-fringe . 8))
     ivy-posframe-border-width 1
     ivy-posframe-hide-minibuffer t
     ivy-posframe-style 'frame-center)
 (ivy-posframe-mode 1))

This doesn't happen if I'm using Ivy without ivy-posframe.

yankcrime commented 4 years ago

I've traced the problem to this commit introduced recently in posframe.

mpereira commented 4 years ago

I've been seeing the same for a while now. Currently running ivy-posframe 20191103.135 on Emacs 26.3 on macOS.

tumashu commented 4 years ago

Fixed in posframe