<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gtk3_kde5: Hang/crash when using folderpicker from Java extension"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124652">bug 124652</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>libreoffice-bugs@lists.freedesktop.org
           </td>
           <td>m.weghorn@posteo.de
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>ASSIGNED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Blocks</td>
           <td>
                
           </td>
           <td>102495
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gtk3_kde5: Hang/crash when using folderpicker from Java extension"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124652#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gtk3_kde5: Hang/crash when using folderpicker from Java extension"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124652">bug 124652</a>
              from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
        <pre>I'm self-confirming according to [1] since the bug has originally been reported
by somebody else in our internal issue tracker.

According to the bug reporter, the relevant Java code in the extension is this
one:

  XMultiComponentFactory xMCF = m_xContext.getServiceManager();
  Object obj =
xMCF.createInstanceWithContext("com.sun.star.ui.dialogs.FolderPicker",
m_xContext);
  XFolderPicker picker = UnoRuntime.queryInterface(XFolderPicker.class, obj);
  short res = picker.execute();

Using a current debug build of master crashes with a failed assert, s. attached
bt

Version: 6.3.0.0.alpha0+
Build ID: f3fc127dc007f32355859ae4fc7d34916c500a18
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3_kde5; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded


[1]
<a href="https://wiki.documentfoundation.org/QA/Guidelines_for_public_and_private_sector_deployments">https://wiki.documentfoundation.org/QA/Guidelines_for_public_and_private_sector_deployments</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] KDE VCL backend bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=102495">Bug 102495</a>] [META] KDE VCL backend bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>