<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 - EDITING: Different behavior with No-break space and Narrow no-break space"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135451">135451</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: Different behavior with No-break space and Narrow no-break space
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.3.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>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>iavs.leroy@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Non-breaking spaces¹ and non-breakable narrow space² behave differently when
combining Ctrl(+Shift) with left and right arrows, backspace and delete keys.

¹(Ctrl+Shift+Space; Unicode: No-break space, U+00A0)
²(Shift+Alt+Space; Unicode: Narrow no-break space, U+202F)

Test case with non-breaking space:
1.a. Type a Ctrl+Shift+Space b (without spaces)
1.b. Press Ctrl+Left arrow, and the cursor will go to the left of "a"
Non-breaking spaces within a word behave as part of the word.

Steps to reproduce:
2.a. Type a Shift+Alt+Space b (without spaces)
2.b.1. Press Ctrl+Left arrow, and the cursor will go to the left of "b"
2.b.2. Press again Ctrl+Left arrow, and the cursor will go to the left of the
non-breakable narrow space
2.b.3. Press again Ctrl+Left arrow, and finally the cursor will go to the left
of "b"
Non-breakable narrow spaces (NBNS) within a word, for this issue, makes it to
behave as NBNS*2+1 words; in this example three words.

Expected behavior³ instead of 2.b.1 to 2.b.3.:
2.b. Press Ctrl+Left arrow, and the cursor will go to the left of "a"

³Especially in large numbers.

For "Word and character count", both spaces count as characters but do not
count as word; like (normal) space.


For the character I am using "space".
For the key I am using "Space". Although dictionaries spell it as "Space bar",
in LibreOffice Help, "Space" and "Spacebar" are used interchangeably
(<a href="https://help.libreoffice.org/6.4/en-US/text/swriter/04/01020000.html">https://help.libreoffice.org/6.4/en-US/text/swriter/04/01020000.html</a>,
<a href="https://help.libreoffice.org/6.4/en-US/text/shared/optionen/01040600.html">https://help.libreoffice.org/6.4/en-US/text/shared/optionen/01040600.html</a>).


LibreOffice 6.3.6.2 (x86); OS: Windows 6.1
Version: 6.3.6.2 (x86)
Build ID: 2196df99b074d8a661f4036fca8fa0cbfa33a497
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
Locale: es-MX (es_MX); UI-Language: en-US
Calc: threaded</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>