Apache OpenOffice (AOO) Bugzilla – Issue 111984
[CWS findbar01] Testtool: Hidden toolbar controls appear as visible
Last modified: 2017-05-20 10:55:36 UTC
The button "Search Dialog" is hidden on the FindBar by default and must be enabled via context menu "visible icons->Search Dialog" (or similar). When accessing the toolbar in its default configuration (Search Dialog button hidden) using the mehods .getItemCount(), .isVisible() and .exists() we get true/the number of items including the hidden one in any case. .isVisible() should return false .getItemCount() should return the number of visible items only
cc CD
Removed this task from CWS findbar01, submitted issue 112026 as follow-up and instruction on how to proceed.
<Button>.isvisible will always fail and <Button>.exists will always be false (this is a bug, should also fail currently) print TextObjectBar.isvisible (Hochgestellt) print TextObjectBar.exists( Hochgestellt ) will both return true, as only the toolbar is asked and the additional parameter is ignored (should fail also) If I change get ItemCount I will also have to change the numbering of the buttons which would mean that you have to change scripting where the buttons are called by position. I can do it, did it for Menus also.
Sounds good. I'm not using icons by index, and i don't think others do, it is a randomizer anyway. But we will need to check that to be sure. Adding TBO to cc.
OOo 3.3 is nearly final. I change the target of this issue to OOo 3.x. Please find a solution and set a correct target, if you know when a fix can be integrated.
Reset assigne to the default "issues@openoffice.apache.org".