<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 - Draw crashes if I use ALT+TAB two switch between two draw window while the cursor focus is in a text box"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138855">138855</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Draw crashes if I use ALT+TAB two switch between two draw window while the cursor focus is in a text box
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.0.0.beta1+
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux (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>Draw
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>suokunlong@126.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=168104" name="attach_168104" title="gdbtrace.log">attachment 168104</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=168104&action=edit" title="gdbtrace.log">[details]</a></span>
gdbtrace.log

Steps to Reproduce:

1. New Draw, hit F2, type in "ABCDEFG", click somewhere else so that the cursor
focus is out of the text box.
2. Click NEW icon to create a new draw window.
3. Alt+Tab to switch back to the first draw window.
4. Click within the text box, so that the cursor is somewhere between the text
(i.e. between the characters, not the text box itself!). (Do not go click
anywhere at this moment).
5. Alt+Tab to switch to the 2nd draw window, then Alt+Tab to switch back to the
1st window again.

--> Crash.
If you do not reproduce, then try to repeat step 4 and 5 several times
(sometimes you need one round, sometimes 2 or 3 but sometimes you need 5...do
remember to put cursor focus in the text box text before)

Fedora 32, Gnome 3.36.7, X11, LibreOffice master as of today and branch
libreoffice-7-1.

Note:
If Alt+tab does not switch between windows, then maybe you should use other key
shortcuts, or the Gnome Shell Extension "Alternate Tab", or if you are using a
newer version of Gnome you may take a look at
<a href="https://blogs.gnome.org/fmuellner/2018/10/11/the-future-of-alternatetab-and-why-you-need-not-worry/">https://blogs.gnome.org/fmuellner/2018/10/11/the-future-of-alternatetab-and-why-you-need-not-worry/</a></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>