https://bugs.documentfoundation.org/show_bug.cgi?id=117280
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #11 from Julien Nabet <[email protected]> --- (In reply to Julien Nabet from comment #10) > I retrieved 3 bts (1 per message displayed). > ... The 2 last ones are due to the already quoted commits. In include/sfx2/event.hxx The 2 ctrs of SfxPrintingHint call SfxViewEventHint with second arg "GlobalEventConfig::GetEventName( GlobalEventId::PRINTDOC )" See https://opengrok.libreoffice.org/xref/core/include/sfx2/event.hxx?r=503e0173#239. The pb is we got several printable states: - JOB_STARTED - JOB_COMPLETED etc. and only 1 event onPrint see https://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/view/PrintableState.idl?r=2b383d19#31 At which moment should we trigger the event when job began, when it finished? Also, I don't know event mechanism to distinguish what SfxGetpApp()->NotifyEvent compared to mpObjectShell->Broadcast Perhaps the initial call "SfxGetpApp()->NotifyEvent..." could be removed? Mike: any opinion here or any idea whom may help here? -- You are receiving this mail because: You are the assignee for the bug.
