https://bugs.documentfoundation.org/show_bug.cgi?id=76274
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |[email protected] --- Comment #3 from Julien Nabet <[email protected]> --- Jan: noticing you had worked on "recent docs" parts, I thought you might be interested in this one. First I thought about just a missing xlt here 69 bool RecentDocsView::typeMatchesExtension(ApplicationType type, const OUString &rExt) 70 { 71 bool bRet = false; 72 73 if (rExt == "odt" || rExt == "doc" || rExt == "docx" || 74 rExt == "rtf" || rExt == "txt" || rExt == "odm" || rExt == "otm") 75 { 76 bRet = type & TYPE_WRITER; 77 } 78 else if (rExt == "ods" || rExt == "xls" || rExt == "xlsx") 79 { 80 bRet = type & TYPE_CALC; (see http://opengrok.libreoffice.org/xref/core/sfx2/source/control/recentdocsview.cxx#78) but with gdb, I tried to unwind all this and noticed this part: 162 void SfxPickList::AddDocumentToPickList( SfxObjectShell* pDocSh ) 163 { 164 SfxMedium *pMed = pDocSh->GetMedium(); 165 if( !pMed ) 166 return; 167 168 // Unnamed Documents and embedded-Documents not in Picklist 169 if ( !pDocSh->HasName() || 170 SFX_CREATE_MODE_STANDARD != pDocSh->GetCreateMode() ) 171 return; see http://opengrok.libreoffice.org/xref/core/sfx2/source/appl/sfxpicklist.cxx#162 HasName method returned empty. Keeping on with unwinding, I noticed the call to SetNoName, see: #0 SfxObjectShell::SetNoName (this=0x6ea77f0) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/doc/objmisc.cxx:988 #1 0x00002aaaaed15c2a in SfxObjectShell::TemplateDisconnectionAfterLoad (this=0x6ea77f0) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/doc/objmisc.cxx:1321 #2 0x00002aaaaed1580b in SfxObjectShell::FinishedLoading (this=0x6ea77f0, nFlags=3) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/doc/objmisc.cxx:1269 #3 0x00002aaae52edbe4 in ScDocShell::ConvertFrom (this=0x6ea77f0, rMedium=...) at /home/julien/compile-libreoffice/libreoffice/sc/source/ui/docshell/docsh.cxx:1506 #4 0x00002aaaaed27108 in SfxObjectShell::DoLoad (this=0x6ea77f0, pMed=0x2aa2040) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/doc/objstor.cxx:781 #5 0x00002aaaaed6b693 in SfxBaseModel::load (this=0x29a6570, seqArguments=uno::Sequence of length 15 = {...}) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:1859 #6 0x00002aaaaee590ea in (anonymous namespace)::SfxFrameLoader_Impl::load (this=0x2a62050, rArgs=uno::Sequence of length 12 = {...}, _rTargetFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x280d2e8) at /home/julien/compile-libreoffice/libreoffice/sfx2/source/view/frmload.cxx:703 Since, there's no ott too, may we suppose template files won't be in recent docs on purpose? -- 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
