<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - XLSX: Long time for file opens and using 100% of one core of CPU after opening"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130326#c39">Comment # 39</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - XLSX: Long time for file opens and using 100% of one core of CPU after opening"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130326">bug 130326</a>
              from <span class="vcard"><a class="email" href="mailto:caolanm@redhat.com" title="Caolán McNamara <caolanm@redhat.com>"> <span class="fn">Caolán McNamara</span></a>
</span></b>
        <pre>Those constant refreshes on each click in a cell are since:

commit b41332475783c31136673fb44cf4c411bb0148f8
Author: Steve Yin <<a href="mailto:steve_y@apache.org">steve_y@apache.org</a>>
Date:   Mon Dec 2 15:54:29 2013 +0000

    Integrate branch of IAccessible2

in sc/source/ui/navipi/navipi.cxx with

+ case FID_KILLEDITVIEW:
+     aLbEntries.ObjectFresh( SC_CONTENT_OLEOBJECT );
+     aLbEntries.ObjectFresh( SC_CONTENT_DRAWING );
+     aLbEntries.ObjectFresh( SC_CONTENT_GRAPHIC );
+     break;

even though we already have a handler of

 case SfxHintId::ScDrawChanged:
     m_xLbEntries->Refresh( ScContentId::GRAPHIC );
     m_xLbEntries->Refresh( ScContentId::OLEOBJECT );
     m_xLbEntries->Refresh( ScContentId::DRAWING );
     break;

and those "Refresh" as opposed to "ObjectFresh" try not to clear and refill the
navigator unless content has changed.

and that ObjectFresh seems to really center on the use of "sKeyString" which is
only set by ScContentTree::KeyInputHdl (in that same commit) if space is used
to select an entry with the comment "Make KEY_SPACE has same function as
DoubleClick".

I suspect ObjectFresh is a cut and paste job from Refresh that just wants to
keep the same item selected (and expanded) in the navigator that was selected
by the user before any content change that might cause the navigator to refill</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>