[vim/vim] setting opacity in popup with a terminal freeze vim (Issue #20214)

4 views
Skip to first unread message

Shad

unread,
May 13, 2026, 5:48:47 PM (2 days ago) May 13
to vim/vim, Subscribed
shadowwa created an issue (vim/vim#20214)

Steps to reproduce

  1. create a file
vim --clean testpopup.vim
let opt = {
            \ 'hidden': 1,
            \ 'term_finish': 'close',
            \ }
let bufnr = term_start(['/bin/bash'], opt)
let opts = {
            \ 'title': 'term in popup',
            \ 'border': [1, 1, 1, 1],
            \ 'opacity': 10,
            \ }
let winid = popup_create(bufnr, opts)
  1. source it
:source %
  1. try to type something, if you are fast enough you will see the first character drawn then nothing else and unable to switch mode or type something else.

Omitting the opacity option or setting it to 100 allow the expected behaviour.

Additional information:
If I don't use --clean to use my .vimrc that set some Pmenu* highlight, I can sometime see the border flickering at the bottom right of the popup when vim is not responding.
the border switch between

╔term in popup═══════╗
║                    ║
║                    ║
╚════════════════════╝

and

╔term in popup═══════╗
║                    ║
║                    ║
╚═════════════════════

Expected behaviour

Open a popup that allow to type into the terminal without freezing.

Version of Vim

vim 9.2.0437

Environment

Operating system: mageia cauldron
Terminal: Konsole
Value of $TERM: konsole-256color
Shell: bash-5.3

also reproduced with gvim 9.2.0437 from my distribution and the latest Vim-v9.2.0478.glibc2.34-x86_64.AppImage

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20214@github.com>

Christian Brabandt

unread,
11:08 AM (2 hours ago) 11:08 AM
to vim/vim, Subscribed

Closed #20214 as completed via f281493.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/20214/issue_event/25580998533@github.com>

Reply all
Reply to author
Forward
0 new messages