diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index 9f4d658..240e84e 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -226,6 +226,7 @@ void StatusIndicatorFactory::end(const css::uno::Reference< css::task::XStatusIn impl_stopWakeUpThread(); } +SAL_WARN("DEBUG","StatusIndicatorFactory::End calls impl_reschedule(bAllEvents = true)"); impl_reschedule(true); } @@ -517,6 +518,7 @@ void StatusIndicatorFactory::impl_reschedule(bool bForce) // SAFE -> osl::ResettableMutexGuard aRescheduleGuard(RescheduleLock::get()); +SAL_WARN("DEBUG","if InReschedule["<& xMo bool bRemote = false; sal_Int8 nStoreMode = getStoreModeFromSlotName( aSlotName ); +SAL_WARN("DEBUG","::GUIStoreModel["<& xMo aModelData.GetStorable()->store(); } +SAL_WARN("DEBUG","::GUIStoreModel finished, returning bDialogUsed["<& xMo } } +SAL_WARN("DEBUG","::GUIStoreModel finished, returning bDialogUsed["<GetRingContainer().size()<<"]"); if (!m_pViewShell) return; for (SwViewShell& rShell : m_pViewShell->GetRingContainer()) diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 113fe38f..99767d1 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -747,6 +747,7 @@ sal_uLong SwWriter::Write( WriterRef& rxWriter, const OUString* pRealFileName ) SwDoc *pDoc = nullptr; +SAL_WARN("DEBUG","::Write pShell["<IsTableMode())<<"] pOutPam["<EOD"); if ( pShell && !bWriteAll && pShell->IsTableMode() ) { bWriteAll = true; @@ -826,6 +827,7 @@ sal_uLong SwWriter::Write( WriterRef& rxWriter, const OUString* pRealFileName ) rxWriter->bWriteAll = bWriteAll; SwDoc* pOutDoc = pDoc ? pDoc : &rDoc; +SAL_WARN_IF(pOutDoc&& pOutDoc->GetEditShell()->GetCursor(),"DEBUG","::Write Cursor["<<*pOutDoc->GetEditShell()->GetCursor()<<"] node["<GetEditShell()->GetCursor()->GetNode().GetIndex()<<"] FindTable["<GetEditShell()->GetCursor()->GetNode().FindTableNode()<<"]"); // If the default PageDesc has still the initial value, // (e.g. if no printer was set) then set it to DIN A4. @@ -863,6 +865,7 @@ sal_uLong SwWriter::Write( WriterRef& rxWriter, const OUString* pRealFileName ) pOutDoc->getIDocumentSettingAccess().set(DocumentSettingId::PURGE_OLE, false); sal_uLong nError = 0; +SAL_WARN_IF(pPam,"DEBUG","::Write ready to call rxWriter->Write PaM["<<*pPam<<"] pMedium["<Write( *pPam, *pMedium, pRealFileName ); else if( pStg.Is() ) diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index d0cb168..73e0474 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -530,10 +530,13 @@ sal_uLong StgWriter::Write( SwPaM& rPaM, const uno::Reference < embed::XStorage // for comparison secure to the current Pam pOrigPam = &rPaM; +SAL_WARN("DEBUG","::Write save (m_)pCurPam["<& xInfoSet->setPropertyValue( "TargetStorage", Any( xStg ) ); uno::Any aAny; +SAL_WARN("DEBUG","::Write_ bShowProgress["<& nRedlineFlags |= RedlineFlags::ShowDelete; pDoc->getIDocumentRedlineAccess().SetRedlineFlags( nRedlineFlags ); +if( bShowProgress ) if (xStatusIndicator.is()) { +SAL_WARN("DEBUG","::Write ending xStatusIndicator. avoiding this DELAYS the cursor move"); xStatusIndicator->end(); } diff --git a/vcl/unx/gtk3/gtk3gtkdata.cxx b/vcl/unx/gtk3/gtk3gtkdata.cxx index f911d38..260a579 100644 --- a/vcl/unx/gtk3/gtk3gtkdata.cxx +++ b/vcl/unx/gtk3/gtk3gtkdata.cxx @@ -458,12 +458,15 @@ SalYieldResult GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents ) return SalYieldResult::TIMEOUT; // someone else is waiting already, return } +//bHandleAllCurrentEvents=false; //DEBUG fix this delays the cursor move for a very long time if( bDispatchThread ) { int nMaxEvents = bHandleAllCurrentEvents ? 100 : 1; gboolean wasOneEvent = TRUE; while( nMaxEvents-- && wasOneEvent ) { +if( nMaxEvents == 99) + SAL_WARN("DEBUG","::Yield nMaxEvents["<