<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when tunneled dialog is open and document is closed"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122544#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash when tunneled dialog is open and document is closed"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122544">bug 122544</a>
              from <span class="vcard"><a class="email" href="mailto:tml@iki.fi" title="Tor Lillqvist <tml@iki.fi>"> <span class="fn">Tor Lillqvist</span></a>
</span></b>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=150095" name="attach_150095" title="Patch attempt">attachment 150095</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=150095&action=edit" title="Patch attempt">[details]</a></span>
Patch attempt

Tried this, did not work, cause heap corruption, sigh. Not sure whether I
should continue this approach or try something completely different. Maybe that
SfxItemPoolUser/AddSfxItemPoolUser/RemoveSfxItemPoolUser mechanism is crack
that was just one guy's idea back in the days, and that he used only in one
corner case (it is used only by some very limited stuff in editeng, which isn't
a good sign, is it?) and it isn't usable in general....

Kendy talks about LOKNotifier, maybe that is a better idea? 

<span class="quote">> Yeah, I meant in core - something similar to the code that does "when the window has no LOKNotifier, cancel it right away"
> Just iterate through the list of the windows that have the LOKNotifier, and cancel them (?)
> But hmm, when I look at that, there it just immediately returns false from ImplStartExecute()
> [Still, the iteration over the LOKNotifiers would be possible, if it helps in any way.]</span ></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>