Apache OpenOffice (AOO) Bugzilla – Issue 115754
don't position/size form control VCL windows during paint, but in a preceding step
Last modified: 2017-05-20 11:33:45 UTC
This is a follow-up of issue 115551. While investigating this issue, we realized that it is a bad idea to position/size form control VCL windows (i.e. the VCL window tied to a form control shape when the view is in alive mode) during Paint. The reason is that there are scenarios where a form control might (legitimately) be larger than the visible area of its parent window, this way completely covering this visible area. For instance, imagine a document, containing a form control, zoomed that much so that the control window covers the complete visible area of the document view. Now since the parent window is completely covered, it will never receive any Paint events anymore, thus the position/size of the form control's VCL window will never be adjusted, again. So, we need a mechanism in the drawing layer which allows positioning/sizing form control VCL windows, but which is independent from the actual Paint.
reminder: when fixed, the preliminary for for issue 115551, namely the two lines in ViewObjectContactOfUnoControl::createPrimitive2DSequence, should be removed, again
*** Issue 108357 has been marked as a duplicate of this issue. ***
reminder: when this issue here is fixed, also revert the preliminary fix made for issue 108325. Originally, reverting this fix was planned during issue 108375, but as we've seen, the solution proposed in issue 108375 is not as comprehensive as the solution for this issue here will be.
Reset assigne to the default "issues@openoffice.apache.org".