<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 - UX: Handling of empty textboxes"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107825">107825</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>UX: Handling of empty textboxes
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.4.0.0.alpha1+ Master
          </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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>telesto@surfxs.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
It's probably by design, but the user experience with textboxes is quite
horrible (in my humble opinion). 

The issues I encounter are related to the fact that:
* Textboxes don't have any (visualized) border when deselected
* Empty text objects get removed automatically (because otherwise you might
fill you document unintentionally with unused, empty and mostly invisible
objects without noticing)

The textbox will disappear when trying to:
- dragging empty textbox (see also: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't drag an empty textbox"
   href="show_bug.cgi?id=98856">bug 98856</a>)
- pasting text into an empty textbox using right click paste
- make layout changes to the textbox before adding content
- when cutting all the content out of a textbox and paste it into the regular
text  (with the intention to use the textbox for something else). 

Text selection
- Text can be behind a textbox without knowing (until you click on it)

The rule of deleting empty text objects isn't working when: 
- A textbox is containing some content (space; enter)
- when adding and empty textbox and press CTRL+Z afterward

Actual Results:  
Textbox is invisible and will deleted if deselected and empty

Expected Results:
- Textboxes should be deleted automatically
- Textboxes have some sort of border the indicate size and position when
deselected


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.4.0.0.alpha1+
Build ID: 970b431f1a7b6b96c4c9536657ce4fe9d8f5b585
CPU threads: 4; OS: Windows 6.2; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-11_23:07:53
Locale: en-US (nl_NL); Calc: single


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101
Firefox/45.0</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>