<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-terminal: artifacts (lingering character glyphs) when scrolling in vim (ncurses)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71935">71935</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>weston-terminal: artifacts (lingering character glyphs) when scrolling in vim (ncurses)
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>emiettin@edu.lahti.fi
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.3.0
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=89677" name="attach_89677" title="screenshot exhibiting bugged behavior">attachment 89677</a> <a href="attachment.cgi?id=89677&action=edit" title="screenshot exhibiting bugged behavior">[details]</a></span>
screenshot exhibiting bugged behavior

On weston-git 1.3.1 (commit dcfff55ef3209cb089aae0906a6235717409a81c, occurs on
some earlier revisions as well), steps to reproduce:

1. launch weston-terminal
2. open a text file with more lines than the current terminal window can
display
3. use the motion 'G' to go to the end of the buffer (or just about any other
motion involving scrolling)

result: the editing display (not the underlying vim editing buffer) becomes
corrupted.

The attached screenshot shows almost completely garbled output in vim (the
original source file in question is syntactically valid); this was achieved by
spamming some vim scrolling motions (such as '20 j' '30 k' '60 j' etc etc). The
degree of corruptness varies; the display can go from completely messed up to
completely fine and vice versa when using a vim scroll motion. 

I suppose it could have something to do with the addition of the scrollback
feature (to weston-terminal itself), since the bug doesn't occur on one that
doesn't yet include that feature (e.g. the one packaged by arch linux, labeled
1.3.1-1).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>