[konsole] [Bug 435339] New: 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

Yufan You bugzilla_noreply at kde.org
Sun Apr 4 10:01:16 BST 2021


https://bugs.kde.org/show_bug.cgi?id=435339

            Bug ID: 435339
           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: konsole
           Version: 20.12.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: ouuansteve at gmail.com
  Target Milestone: ---

Created attachment 137324
  --> https://bugs.kde.org/attachment.cgi?id=137324&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list