Bug 391016 - Additional text rendered after auto-completion with powerline and zsh
Summary: Additional text rendered after auto-completion with powerline and zsh
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: emulation (show other bugs)
Version: 17.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-24 18:09 UTC by Rui Zhao
Modified: 2020-12-03 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Illustration of the problem (23.81 KB, image/png)
2018-02-24 18:09 UTC, Rui Zhao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Zhao 2018-02-24 18:09:48 UTC
Created attachment 110972 [details]
Illustration of the problem

With the combination of powerline and zsh (not sure whether other things are related), when performing auto-completion, a duplicated text will be rendered (but it doesn't actually exist for that command line), causing the whole line mis-match (i.e. the text under the cursor is one character sibling to the correct text).

The attachment shown an illustration of this problem. The only action performed between the two segments is: hit the "tab" key to trigger auto-completion.

I have tested that this problem won't happen if I'm using bash with powerline or I'm using zsh without powerline; it also won't happen if I'm using other terminal emulators (e.g. Terminator, (u)xterm) with zsh and powerline.
As a result, this seems because of some special thing generated by powerline not correctly handled by konsole.

If needed, my zsh config is https://github.com/renyuneyun/myconf/blob/master/home/.zshrc . The `.shrc` is simply many aliases and (non-related) environment variables.
Comment 1 Justin Zobel 2020-11-03 02:05:36 UTC
I can't replicate with current konsole/zsh/powerline and your config. 

Can you please retest and confirm if the issue persists, thanks.
Comment 2 Bug Janitor Service 2020-11-18 04:33:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-03 04:34:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!