<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 - The text box disappears when the text orientation is changed from right to left and the margin is set to 0."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139246">139246</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>The text box disappears when the text orientation is changed from right to left and the margin is set to 0.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.4.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>tengtiankaidou03@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
The text box disappears when the text orientation is changed from right to left
and the margin is set to 0.

However, it does not disappear completely, the print result is normal, and it
disappears only on the edit screen.

Also, just invisible, if you click where the text box would be, the text will
appear and you can edit it, but once you confirm it, it will disappear.

Steps to Reproduce:
1. After opening LibreOffice Writer, open "Styles"-> "Page Style" in the menu
bar and go to the "Page" tab.
2.Change the value of "Text direction" to "Right-to-left (horizontal)" or
"Right-to-left (vertical)",set "Margin" to 0 cm in all directions and press
"OK" to confirm the setting.
3.Press "Insert" in the menu bar, press "Text Box", place the text box
somewhere, and enter the appropriate sentence to confirm.

Actual Results:
The text box disappears.

Expected Results:
The text box should be displayed normally.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
When tested on Ubuntu 20.04 and Windows 7, both gave the same results.
The text box disappears only when editing. The result of exporting as PDF or
printing is displayed without any problem.
Also, on the edit screen, it is not completely disappeared, it is just
invisible, and if you click around the text box, the text will appear and you
can edit it.</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>