<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Moving cursor leaves behind "scum" if paragraph has two directionalities"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107296">107296</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Moving cursor leaves behind "scum" if paragraph has two directionalities
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.2.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nyh@math.technion.ac.il
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=132715" name="attach_132715" title="Example of "scum", small slanted lines, left behind when moving around a mixed RTL-LTR paragraph.">attachment 132715</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=132715&action=edit" title="Example of "scum", small slanted lines, left behind when moving around a mixed RTL-LTR paragraph.">[details]</a></span>
Example of "scum", small slanted lines, left behind when moving around a mixed
RTL-LTR paragraph.

It seems that fairly recently, LibreOffice acquired an interesting feature
where if a certain paragraph has two different directionalities - e.g., an RTL
paragraph with an LTR word, or LTR paragraph with an LTR word - when you move
around this paragraph with the cursor keys, the cursor appears not just as a
thin line (as it previously was), but as a thin line with a small triangular
"head" pointing to the direction depending on the directionality of the part of
the paragraph you are on.

So far so good. But the bug is that as you move the cursor, small bits of this
arrow are left behind on the display, looking like tiny slanted lines. These
lines do not disappear when the window is refreshed, but they do disappear if
you go to a different page and return (i.e., they are obviously just display
artifacts, not anything saved to the file).

I attach a typical example of the "scum" left on the display. Here I randomly
typed a few English and a few Hebrew characters in the same paragraph, and used
the arrow keys to move back and forth in that paragraph. You can see the
result.</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>