Summary: | The status bar and the line numbers of (Neo)Vim seem strange when it's executed by "konsole -e" and is opened in the background in i3-wm | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Yufan You <ouuansteve> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 20.12.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | broken.jpg and normal.jpg |
Created attachment 137324 [details] broken.jpg and normal.jpg SUMMARY The status bar and the line numbers of (Neo)Vim seem strange when it's executed by "konsole -e" and is opened in the background in i3-wm. STEPS TO REPRODUCE 1. In the i3 config file, add `assign [class="konsole"] number 1`. 2. In a terminal at a workspace other than workspace 1, run `konsole -e 'nvim -u /etc/xdg/nvim/sysinit.vim'` (`-u /etc/xdg/nvim/sysinit.vim` means not using my config file). 3. Switch to workspace 1 where a nvim instance is opened to see that its status bar is broken. OBSERVED RESULT See broken.jpg in the attachment. EXPECTED RESULT See normal.jpg in the attachment. SOFTWARE/OS VERSIONS - Arch Linux - i3-wm 4.19.2 - NeoVim v0.5.0-dev+1216-g8e496b9df - konsole 20.12.3 ADDITIONAL INFORMATION This doesn't happen on KiTTY. This also doesn't happen if I use `konsole -e 'bash -c "sleep 1 && nvim"'` instead of `konsole -e nvim`. I'm not sure if this could be reproduced on Plasma. I think the key is that Konsole is invisible when NeoVim is launched.