Bug 1321764

Summary: tab background color clearing problem
Product: [Fedora] Fedora Reporter: lav
Component: vte291Assignee: Kalev Lember <klember>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: egmont, klember
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:46:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the glitches (1)
none
the glitches (2)
none
the glitches (3)
none
cat the file to terminal to see the problem none

Description lav 2016-03-29 06:04:47 UTC
Created attachment 1141096 [details]
the glitches (1)

Description of problem:
When ncurses uses a tab to position cursor, vte sometimes (when the tab is past all non-blank characters on the line) clears the space with background color. It's unexpected as the terminfo does not have xt (dest_tabs_magic_smso) property.

Version-Release number of selected component (if applicable):
vte291-0.40.3-1.fc22.x86_64
gnome-terminal-3.16.2-2.fc22.x86_64

How reproducible:
In LE editor with certain files and cursor position.

Steps to Reproduce:
1. Open a file in LE
2. Position cursor on a tab stop near the line end
3. move cursor up/down

Actual results:
see the photos.

Expected results:
no glitches on the screen

Additional info:

Comment 1 lav 2016-03-29 06:05:51 UTC
Created attachment 1141097 [details]
the glitches (2)

Comment 2 lav 2016-03-29 06:06:17 UTC
Created attachment 1141098 [details]
the glitches (3)

Comment 3 Egmont Koblinger 2016-03-29 19:03:05 UTC
Reported upstream: https://bugzilla.gnome.org/show_bug.cgi?id=764330

Comment 4 Egmont Koblinger 2016-03-29 20:12:12 UTC
There's a patch in the upstream bug, could you please test it with LE and let us know the results?

Download latest vte-0.44.x tarball; untar; apply patch; ./autogen.sh --without-pcre2; make; ./src/vte-2.91 => try within this test emulator

Comment 5 Egmont Koblinger 2016-03-30 19:52:14 UTC
Could you please provide *concrete* steps to reproduce the problem?

Comment 6 lav 2016-03-31 07:16:14 UTC
Created attachment 1142086 [details]
cat the file to terminal to see the problem

To reproduce the problem, output this file to the terminal. If the bug is present, you will see cyan coloured glitches (compare with xterm).

Comment 7 Egmont Koblinger 2016-03-31 07:28:23 UTC
Thanks; based on this I can confirm that the two upstream patches fix this problem.

(Alas, there's a new one triggered by LE in vte >= 0.44: https://bugzilla.gnome.org/show_bug.cgi?id=754596#c15)

Comment 8 Fedora End Of Life 2016-07-19 18:46:59 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.