<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 - lack of focus; object element with dangling parent"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114722">114722</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lack of focus; object element with dangling parent
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.0.0.alpha0+
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </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>lo_bugs@iseries-guru.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I observe this on debian-buster with xfce desktop and dbgutil builds
with envvar SAL_USE_VCLPLUGIN=gtk3.  The problem is absent with
SAL_USE_VCLPLUGIN=gen.  I have not tried other desktop manager or a
production build of LibreOffice.

STR

(1) Open a terminal where it will be visible beside the LibreOffice
    window.

(2) Start Writer from the command line.  Program presents Writer
    window "Untitled 1".

    Expected : Caret in the document area.

    Observed : No caret.

(3) Type "<Ctrl>+Q".

    Expected : LibreOffice exits.

    Observed : four occurrences of terminal message (rewrapped)

        warn:legacy.tools:23785:1:basic/source/sbx/sbxobj.cxx:95:
            Object element with dangling parent

(4) Give focus to another program and then give it back to
    LibreOffice.  For example, type "<Alt>+<Tab> <Alt>+<Tab".

    Expect and observed : There is a caret in the document area.

(5) Type "<Ctrl>+Q".  Program Exits.


Other observations:

(*) Calc behaves the same way as Writer.

(*) If you start Writer from the Start Center instead of the command
    line, the document area opens with a caret.

(*) After step (2), the Writer window *does* respond to e.g. "<Alt>+F"
    to open the File menu.  However, after closing the menu with
    "<Esc>", there is still no caret in the document area.

(*) In step (3), I think that the message appears in the terminal each
    time a key is pressed or released.

(*) In step (4), if the Writer window is the only window in the
    workspace, then it suffices to type a single "<Alt>+<Tab>".

In view of the particularity of my setup and the ease of the
workaround, I am setting priority to low/minor.

In anticipation of my next comment, I am setting keywords regression,
bibisected.</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>