Issue 110461 - ucb: Assert: Error: TitleChanged event notified for unknown document!
Summary: ucb: Assert: Error: TitleChanged event notified for unknown document!
Status: CONFIRMED
Alias: None
Product: ucb
Classification: Code
Component: code (show other issues)
Version: DEV300m75
Hardware: Unknown Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 09:41 UTC by 400guy
Modified: 2013-01-29 21:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
the template which provoked the assertion (25.60 KB, application/vnd.oasis.opendocument.text)
2010-03-29 09:45 UTC, 400guy
no flags Details
backtrace (17.58 KB, text/plain)
2010-03-29 09:48 UTC, 400guy
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description 400guy 2010-03-29 09:41:56 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.
Comment 1 400guy 2010-03-29 09:45:25 UTC
Created attachment 68606 [details]
the template which provoked the assertion
Comment 2 400guy 2010-03-29 09:48:07 UTC
Created attachment 68607 [details]
backtrace
Comment 3 matthias.huetsch 2010-04-06 08:45:54 UTC
Hi Kai,

can you please have a look into this issue?

Thanks,
Matthias
Comment 4 kai.sommerfeld 2010-04-08 12:34:21 UTC
 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
Comment 5 Regina Henschel 2010-12-20 16:34:36 UTC
CC me