Apache OpenOffice (AOO) Bugzilla – Issue 110461
ucb: Assert: Error: TitleChanged event notified for unknown document!
Last modified: 2013-01-29 21:52:43 UTC
I was opening a new document based on the template which I shall attach to this issue. The program presented message ... Error: TitleChanged event notified for unknown document! From File /home/terry/OOo_hacking/DEV300_m75/ucb/source/ucp/tdoc/tdoc_docmgr.cxx at Line 358 Abort ? (Yes=abort / No=ignore / Cancel=core dump) I am running a lightly hacked non-production build of DEV300_m75. I shall attach a backtrace.
Created attachment 68606 [details] the template which provoked the assertion
Created attachment 68607 [details] backtrace
Hi Kai, can you please have a look into this issue? Thanks, Matthias
cd: tdoc code relies on the fact that com.sun.star.frame.GlobalEventBroadcaster announces new/loaded documents via OnCreate/OnLoadFinished. This works fine if a new odt file is created and an existing odt file is loaded. In case a new document gets created via loading an ott file, the broadcaster sends multiple(!) OnTitleChanged (and OnModeChanged) events before OnLoadFinished! ### Event: OnTitleChanged Error: File /Users/ks93798/src/cws/tl79/DEV300/ucb/source/ucp/tdoc/tdoc_docmgr.cxx, Line 360: TitleChanged event notified for unknown document! ### New Title: Untitled 2 ### Event: OnTitleChanged Error: File /Users/ks93798/src/cws/tl79/DEV300/ucb/source/ucp/tdoc/tdoc_docmgr.cxx, Line 360: TitleChanged event notified for unknown document! ### New Title: Untitled 2 ### Event: OnTitleChanged Error: File /Users/ks93798/src/cws/tl79/DEV300/ucb/source/ucp/tdoc/tdoc_docmgr.cxx, Line 360: TitleChanged event notified for unknown document! ### New Title: Untitled 2 ### Event: OnModeChanged ### Event: OnTitleChanged Error: File /Users/ks93798/src/cws/tl79/DEV300/ucb/source/ucp/tdoc/tdoc_docmgr.cxx, Line 360: TitleChanged event notified for unknown document! ### New Title: Untitled 2 ### Event: OnModeChanged ### Event: OnTitleChanged Error: File /Users/ks93798/src/cws/tl79/DEV300/ucb/source/ucp/tdoc/tdoc_docmgr.cxx, Line 360: TitleChanged event notified for unknown document! ### New Title: Untitled 2 ### Event: OnLoadFinished ### Event: OnTitleChanged ### New Title: Untitled 2 ### Event: OnPageCountChange ### Event: OnTitleChanged ### New Title: Untitled 2 ### Event: OnUnfocus ### Event: OnFocus ### Event: OnViewCreated ### Event: OnNew
CC me