<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Crash when switching UI to Notebookbar variant"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135495">bug 135495</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;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Crash when switching UI to Notebookbar variant"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135495#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - Crash when switching UI to Notebookbar variant"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135495">bug 135495</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>I don't know if it's the same problem reported here, but here is one way to
make it crash:

1. Open 6.4 version of Writer.
2. Tools > Customize...
3. Don't make any changes, just close the dialog and LO.
4. Open 7.0 version of Writer using the same user profile as 6.4.
5. View > User Interface > Tabbed

=> Crash

The problem here is that just opening the customization dialog copies the
notebookbar.ui file to the user profile, and the file from 6.4 isn't compatible
with 7.0. This is related to the OptionalBox changes discussed in <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - CRASH: Writer crashes changing UI to notebookbar (win)"
   href="show_bug.cgi?id=130513">Bug 130513</a>,
which at first was moved from sfx2 to vcl w/o adapting the ui files, and then
in <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - CRASH: Writer crashes changing UI to notebookbar (win)"
   href="show_bug.cgi?id=130513">Bug 130513</a> its factory function was removed, which broke loading of existing
notebookbar.ui files from the user profile.

I guess we can workaround it for now by explicitly handling sfxlo-OptionalBox
widget kind, but we really should discard existing notebookbar.ui files when an
upgrade to a major release is detected. Or even better - not use the glade ui
format for storing user customization, as it might change over time. In
addition, I think that the customization dialog should not copy anything to the
user profile, unless actual changes were made.</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>