To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73689
------- Additional comments from [EMAIL PROTECTED] Fri May 11 11:54:30 +0000 2007 ------- I think i found the new problem. It goes like this: at first GetClientSize did not return (0,0) initially. Which it should do since this is our only indicator for the visible/non visible state (historical reasons, on windows that was the case automatically). The change form (0,0) to (whatever,whatever) after Show(TRUE) triggers activation handling in writer. This is why writer initially didn't paint, but toolbars and other widgets did (they go a paint after all :-) ). Changing that however triggered new dialog behaviour: the dialogs consider themselves resized now and immediately paint (without waiting for a paint event). This works on Windows and X11, but does not seem to with Carbon. It would not matter, if there came a system paint event afterwards (which one would expect after a Show), however occasionally, this does not come anymore (which I found out with the stderr output). Why, I cannot say, I can only guess that the immediate painting is the culprit and interferes with the system's event handling (I could imagine the calling of HIViewSetNeedsDisplayInRect interferes with the paint event hadling). However one can force the issue by calling InvalidateWindowRect after ShowWindow; this seems to trigger the expected system paint event regardless of the immediate painting. Checked in according change. Does anyone have a better solution ? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]