https://bugs.freedesktop.org/show_bug.cgi?id=57553
Michael Stahl <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |[email protected], | |[email protected], | |[email protected] Ever confirmed|0 |1 --- Comment #1 from Michael Stahl <[email protected]> --- hmm... it wants to load ScriptProviderForBeanShell.jar ... ok there is a Macro tab on that Picture dialog, and since there is a Scripting Framework that has some Java based providers, it's sort of expected that it has to load these in order to display available macros. since i only have master build on windows, i'm trying on Linux... ...where the same thing happens, it's sufficient to turn off Java in Tools->Options. LO 3.6.3.2 on Linux has the same dialog, and it also crashes when clicking "No" on it with unhandled terminate called after throwing an instance of 'com::sun::star::loader::CannotActivateFactoryException'. (which actually crashes only in --enable-dbgutil build) TODO: backport b6b71d74fddca5e260ab2a3d6307603f5b469108 but the dialog only appears after clicking "Macro" tab, not when opening the Picture dialog. LO 3.5.7.2 is the same as 3.6.3 except it does not crash. LO master is annoyingly showing the dialog when opening Picture dialog. and it does not crash, neither Windows nor Linux. hmmm... on master there is apparently a timer that loads the macro stuff... ok the following code seems to force the activation of all tab pages: void SfxTabDialog::Start_Impl() { //We need to force all tabs to exist to get overall optimal size for dialog for (sal_uInt16 n=0; n < m_pTabCtrl->GetPageCount(); ++n) { sal_uInt16 nPageId = m_pTabCtrl->GetPageId(n); if (!m_pTabCtrl->GetTabPage(nPageId)) { m_pTabCtrl->SetCurPageId(nPageId); ActivatePageHdl(m_pTabCtrl); } } introduced with bd2c14ec78a7549d4a19738154cdd5ea890f61c4 and 004369c76a3c43a478d668521bf7cee3176bf5d7 for UI layout... hmm... should be possible to do the expensive java init lazily on activating the Macro tab... think i have a lame patch for this, will push it in a minute... but what i don't get here is a crash on master; i don't get the same dialog (since i have disabled Java in configuration but do have JVM installed and don't want to uninstall that on my development VM), can you get a backtrace for the crash? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
