You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to issues/5744 but without fzf/term_start(), just a preview window with popup.
Also the mentioned workaround there call popup_close(win_getid()) not working either.
The problem
Stuck in popup window and cannot escape from it.
P.S.
I don't know how to reproduce exactly yet.
Just try hard to describe it clearly, so it can help.
I will briefly describe what I encounter below
Failed attempt
echom win_getid() popup_getoptions(win_getid())
call popup_clear()
call popup_close(win_getid())
winc s
Output of above failed attemps
1520 {'highlight': '', 'mousemoved': [0, 0, 0], 'line': -43, 'close': 'none', 'time': 0, 'drag': 0, 'cursorline': 0, 'minheight': 20, 'wrap': 1, 'pos': 'topleft', 'dragall': 0, 'minwidth': 66, 'fixed': 0, 'col': 30, 'maxwidth': 0, 'zindex': 50, 'firstline': 0, 'title': '', 'scrollbar': 1, 'posinvert': 1, 'moved': [0, 0, 0], 'mapping': 1, 'tabpage': 0, 'resize': 0, 'maxheight': 21}
E994: Not allowed in a popup window
E994: Not allowed in a popup window
E994: Not allowed in a popup window
How it happens
I don't known how to reproduce yet. But most likely in a preview window, call(winid, 'some_call_back') which throws some error.
checks :mess seems like
at s:onSetText() added a line, using len(lines) without a: caused the error.
at SetText() call win_execute(winid, 'call self.onSetText(lines)') after popup_settext and popup_show.
then stuck there forever, anything window related cause E994
vim version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Apr 5 2024 16:51:39)
Included patches: 1-265
Compiled by user@beta
Huge version with GTK3 GUI. Features included (+) or not (-):
Expected behaviour
Either do not stuck in popup window, or has some way to escape afterwards.
Version of Vim
9.1-265
Environment
Ubuntu 18.04, kitty 0.31.0,
echo $TERM
xterm-kitty
bash --version
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Similar to issues/5744 but without fzf/term_start(), just a preview window with popup.
Also the mentioned workaround there
call popup_close(win_getid())
not working either.The problem
Stuck in popup window and cannot escape from it.
P.S.
I don't know how to reproduce exactly yet.
Just try hard to describe it clearly, so it can help.
I will briefly describe what I encounter below
Failed attempt
Output of above failed attemps
1520 {'highlight': '', 'mousemoved': [0, 0, 0], 'line': -43, 'close': 'none', 'time': 0, 'drag': 0, 'cursorline': 0, 'minheight': 20, 'wrap': 1, 'pos': 'topleft', 'dragall': 0, 'minwidth': 66, 'fixed': 0, 'col': 30, 'maxwidth': 0, 'zindex': 50, 'firstline': 0, 'title': '', 'scrollbar': 1, 'posinvert': 1, 'moved': [0, 0, 0], 'mapping': 1, 'tabpage': 0, 'resize': 0, 'maxheight': 21}
E994: Not allowed in a popup window
E994: Not allowed in a popup window
E994: Not allowed in a popup window
How it happens
I don't known how to reproduce yet. But most likely in a preview window, call(winid, 'some_call_back') which throws some error.
checks
:mess
seems likelen(lines)
without a: caused the error.call win_execute(winid, 'call self.onSetText(lines)')
afterpopup_settext and popup_show
.E994
vim version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Apr 5 2024 16:51:39)
Included patches: 1-265
Compiled by user@beta
Huge version with GTK3 GUI. Features included (+) or not (-):
Expected behaviour
Either do not stuck in popup window, or has some way to escape afterwards.
Version of Vim
9.1-265
Environment
Ubuntu 18.04, kitty 0.31.0,
echo $TERM
xterm-kitty
bash --version
GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
Logs and stack traces
No response
The text was updated successfully, but these errors were encountered: