Bug 435339 - 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
Summary: The status bar and the line numbers of (Neo)Vim seem strange when it's execut...
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 09:01 UTC by Yufan You
Modified: 2021-04-04 09:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
broken.jpg and normal.jpg (229.31 KB, application/zip)
2021-04-04 09:01 UTC, Yufan You
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yufan You 2021-04-04 09:01:16 UTC
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.