<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 - Odd behaviour of character highlighting"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107295">107295</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Odd behaviour of character highlighting
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Katarina.Behrens@cib.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is with LibO Online 5.3, I haven't tried if it happens w/ master as well.

1. In a self-built LibO Online tree, I did 'make run' and loaded the sample
document:
<a href="https://localhost:9980/loleaflet/d881f59/loleaflet.html?file_path=file:///build/online/test/data/hello-world.odt">https://localhost:9980/loleaflet/d881f59/loleaflet.html?file_path=file:///build/online/test/data/hello-world.odt</a>

2. I've marked 'Hello world' with mouse, opened character highlighting dropdown
in the toolbar and chose a colour (yellow, but it doesn't really matter). Text
was highlighted, so far so good

3. I pressed enter to start on a new line, I didn't want further text to be
highlighted anymore

=> Issue 1: I've no idea how to achieve that, there is no obvious way to select
'no highlighting' in the dropdown. 

=> Issue 2: I tried selecting white colour (to match 'paper' colour), but this
doesn't seem to work. In fact, selecting any other colour has no effect, the
new text is still highlighted yellow as I type (and the colour dropdown icon
indicates no change as well)

=> Issue 3: At some point, after couple of tries to get the text highlighting
right, the cursor irritatingly starts to jump to position 0 (1st character) in
the document

Maybe I'm doing something wrong and I actually don't understand what's the
correct approach to highlighting the text, but I find it extremely confusing</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>