Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1216

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.0.2
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: