<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi all!<br><br>Bug: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=33599">https://bugs.freedesktop.org/show_bug.cgi?id=33599</a><br><br>I think I know where is the problem. In sw/source/ui/docvw/SidebarTxtControl.cxx function SidebarTxtControl::LoseFocus. There's a call for mrSidebarWin.UpdateData(); In this function it checks whether there was any modification to the comment's text. We can see that the bug is only occuring if we press alt+tab after we changed the text.<br>Upon further inspection we can see that the bug is present because of a Broadcast call in SwAnnotationWin::UpdateData().<br>There's a comment written before the Broadcast line: <br>'// #i98686# if we have several views, all notes should update their text'<br>Commenting out that Broadcast call, or the whole call for UpdateData() solves the issue. My question is: what is the purpose of this UpdateData call (or the broadcast)?<br><br>ps.: i tried without commenting out calls. I created a Point and saved the Cursor's Pos before UpdateData and loaded it back after that. Bug was still present (but don't know why)<br><br>Szabolcs<br>                                            </div></body>
</html>