Combobutton has problems with label change if it's not closed beforehand

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 6.0.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None

      If you change the label of a combobutton component while it is still open (popup visible) then the popup itself gets corrupted. It's position is changed and it's size is limited to that of parent component.

      How to reproduce:

      <zk>
      	<window border="normal" mode="overlapped" position="center">
      		<combobutton id="comboBtn" label="open me">
      			<popup>
      				<vlayout>
      					<button id="btn1" label="click me" onClick="comboBtn.label = self.label"></button>
      					<button id="btn2" label="or me" onClick="comboBtn.label = self.label"></button>
      					<button id="btn3" label="me too!" onClick="comboBtn.label = self.label"></button>
      				</vlayout>
      			</popup>
      		</combobutton>
      	</window>
      </zk>

      Now the popup is corrupted. Please note that the clicked button is still focused so you can use a Tab key and watch that it behaves correctly.

            Assignee:
            neillee
            Reporter:
            czynga
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: