Apache OpenOffice (AOO) Bugzilla – Issue 82427
Mac OS X (Aqua): Drawing function does not draw anything
Last modified: 2013-08-07 15:34:42 UTC
Execute test sub routine and you will see that under Mac OS X Aqua nothing is being drawn. sub wZeichenobjektEinfuegen ( Objekt$, xStart%, yStart%, xEnde%, yEnde%, optional sCloseToolbar as boolean ) Kontext "DrawBar" if Not DrawBar.Exists then Call hToolbarSelect("Drawing", true) Sleep 2 Objekt = UCase( Objekt ) select case Objekt case "RECHTECK" : Rechteck.Click case "LINIE" : Linie.Click case "ELLIPSE" : Ellipse.Click case "TEXT" : Textobjekt.Click case "VTEXT" : try VerticalText.Click catch if gAsianSup = True then Warnlog "Unable to insert Vertical Text! Asian Support in Options activated ?" endif endcatch case "LAUFTEXT" : Lauftext.Click case "LEGENDE" : Legende.Click case "VLEGENDE" : try VerticalCallout.Click catch Warnlog "Unable to insert Vertical Callout! Asian Support in Options activated ?" endcatch end select Select Case gApplication Case "WRITER" Kontext "DocumentWriter" DocumentWriter.MouseDown xStart%, yStart% DocumentWriter.MouseMove xEnde%, yEnde% DocumentWriter.MouseUp xEnde%, yEnde% wait 100 Kontext "Drawbar" if IsMissing(sCloseToolbar) then Drawbar.Close else if sCloseToolbar = true then Drawbar.Close endif if Objekt <> "TEXT" and Objekt <> "VTEXT" then Kontext "DocumentWriter" Call gMouseClick (99, 99) wait 100 end if Case "MASTERDOC" Kontext "DocumentMasterDoc" DocumentMasterDoc.MouseDown xStart%, yStart% DocumentMasterDoc.MouseMove xEnde%, yEnde% DocumentMasterDoc.MouseUp xEnde%, yEnde% wait 100 Kontext "Drawbar" if IsMissing(sCloseToolbar) then Drawbar.Close else if sCloseToolbar = true then Drawbar.Close endif if Objekt <> "TEXT" and Objekt <> "VTEXT" then Kontext "DocumentMasterDoc" Call gMouseClick (99, 99) wait 100 end if end select end sub
added keyword
@af: does this one have the same root cause as issue 81673? (Thanks ericb for finding the similarities!)
jsi->hdu: I think we're talking about different things because the TestTool is not drawing a square or a push button but manually you can do it. jsi->gh: Use testcase t_TB_Form in qa/qatesttool/writer/update/w_updt.bas (inc/w_020_.inc, ../tools/w_tool1.inc) to see that also pushbuttons not visible via testtool drawing function.
@jsi Two questions : 1) How reproduce that issue ? 2) can you really try to draw, say - a smiley - an ellipse - a fontwork object ... manually with m231 or > ? Here it does not work ( m231 + aquavcl03, means something like m233 for Aqua part): I got the control points but nothing in the middle. Tested with most of the objects you can draw using the Writer the drawing toolbar
seems to work in m233 please check again
setting to fixed so it can be checked ;-)
@tbo: Could you please check that again in aquavcl05 TT?
target 3.0
testcase t_TB_Form in qa/qatesttool/writer/update/w_updt.bas doesn't work for me in aquavcl05 -> reopened
not working on MacOS X aqua for me
looks like a partial fix
ok, for testtool dummies like me, is there a shorter method to reproduce this issue than running 3 hours of w_updt.bas ?
Hi pl, as written to gh earlier: "jsi->gh: Use testcase t_TB_Form in qa/qatesttool/writer/update/w_updt.bas (inc/w_020_.inc, ../tools/w_tool1.inc) to see that also pushbuttons not visible via testtool drawing function." So, remove the call's of w_updt.bas in the test section (between hstatusin and hstatusout call) and insert call t_TB_Form Also remove call hStatusIn and hStatusOut. Then it is the exact test case.
works for controls except the pushbutton which is inserted first. Could you please give me a hint what is actually going wrong here ?
postponed to 3.x
jsi: can you have a look what's going wrong here please.
@tbo: worksforyou?
Just verified on Mac OS X 10.4 Intel: OK no error - closing
.