https://bugs.freedesktop.org/show_bug.cgi?id=49610

--- Comment #16 from Radek Doulik <[email protected]> 2012-06-28 01:53:43 PDT ---
I have pushed fix to master
http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca644612762921e772ca95d5e8737325d9f343d2

It changes the behavior of spell/find to remember only the starting position.

I have also tried hard to find the difference the

"Commit bdfbbb33a491f3ce34375de14ba33436b04
slidesorter1: #i116014# Outliner holds ViewShell as weak_ptr."

introduced. The change happens deep inside the

framework::FrameworkHelper::Instance(rBase)->RequestSynchronousUpdate();

call. It goes down to

void DrawViewShell::ReadFrameViewData(FrameView* pView)

where master page edit mode is used

B+>│311         EditMode eNewEditMode = pView->GetViewShEditMode(mePageKind);  
                                                                               
                      │
   │312         sal_Bool bNewLayerMode = pView->IsLayerMode();                 
                                                                               
                      │
   │313         ChangeEditMode(eNewEditMode, bNewLayerMode);

It comes from meStandardEditMode, which I wasn't able to find out why it was
set differently compared to the time before the bisected commit.

So I guess it might be either result of syncing the asynchronous events
differently or some change we missed in the problematic commit.

After I changed the behavior with my fix, it works as expected, at least I hope
so. Hopefully it will not introduce other regressions.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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

Reply via email to