-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
launching neovim causes size of qterminal to increase and sets a minimumsize #288
Comments
Sorry - forgot to mention: I'm using latest qterminal & qtermwidget from git. |
Reproducible |
Same here. |
reproducible on debian/sid, latest q* from git - but the bug seems to be in the widget - steps to reproduce:
|
The cause is that neovim sents a resize command to the terminal: https://github.com/neovim/neovim/blob/master/src/nvim/tui/tui.c#L422. The behavior can be simulated by:
After this command @surlykke I saw you wrote this line in lxqt/qtermwidget#7. I removed that line and seems the search bar is still working fine. Is there a reason for that line? |
Hmm. I'm afraid I have no recollection on why I put that there. |
Not really. This bug is a combination of special behavior in neovim and the reaction of qterminal. I feel removing that line the best fix. Hope that won't bring other issues - lxqt/qtermwidget#123 |
I'm experiencing a weird problem - anybody else seing it?
Steps
to reproduce:(the size of qterminal increased by 1 line)
The problem does not occur with vim. Nor does it occur in other terminal applications (tried xterm and terminology).
I'm not using lxqt, just openbox.
I've done a git bisect and found the behavior to be introduced by:
d24725f: Removed minimum size (#265)
Reverting that commit fixes for me. I have no glimmer of an idea why this commit should cause this behavior.
I suppose the intent of d24725f was to allow really small qterminal's, so as an alternative to reverting, one might apply this:
which also fixes.
The text was updated successfully, but these errors were encountered: