Apache OpenOffice (AOO) Bugzilla – Issue 72609
UnoControlModels in UnoDialogs need a Visible property
Last modified: 2013-02-24 21:07:40 UTC
I should be possible to set and query the visibility of a UnoControl in a UnoDialog at the model. Currently it is not directly possible ot query the visibility of a UnoControl. Setting the visibility at a control is possible as described further down. bc->cd: As we discussed with mt and fs we therefor would like to have Visible property at the control that meets the following specification, that I extracted from the coming Uno-awt documentation Visible: The property Visible [of the controlmodel] defines whether a dialog control is to be appear visible on its assigned dialog-step or not. The effective Visibility of a control is thus derived from the values of both properties Step and Visible. For example if the Step property of the controlmodel is not equal to the Step property of the dialogmodel (that denotes the actual visible dialog step) the control will not be really visible. In contrast the method setVisible( [in] boolean Visible ) at the interface [IDL:com.sun.star.awt.XWindow] can be applied to the control and will set the Visibility of the control regardles the value of the Step property.
cd: Accepted.
bc: As soon as this issue is fixed it should be checked if the visibility of all controls is set correctly after the creation of the dialog windowpeer. Right now the windowpeer must be created after all controls have been added to the dialog container, because otherwise their visibilty is always set to true regardless which step they are assigned to. This behaviour should be changed along with this issue.
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
*** Issue 83611 has been marked as a duplicate of this issue. ***