Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8186

Manage Keys Dialog: OK stays disabled when creating the first key

    Details

    • Steps to Reproduce:
      Hide

      1) make sure you have a cloud
      2) make sure you have no keys on this cloud
      3) Choose "Launch instance" in the context menu of the cloud viewer
      4) Hit "Manage..." and create a new key

      Result:
      The new key is selected but the OK-button that allows you to choose that key and get back to the "Launch instance" wizard stays disabled

      Expected:
      The new key is selected and I get back to the "Launch instance" wizard by hitting OK.

      Another usecase that shows bad behavior:

      1) make sure you have a cloud
      2) make sure you have keys for that cloud (you may have to create some, close the wizard and then get to the 3)
      3) Choose "Launch instance" in the context menu of the cloud viewer
      4) Hit "Manage..." and delete all keys

      Result:
      There's no key left but the OK-button and the "Delete" button are both enabled.

      Expected:
      "Delete" and "OK" should both be disabled since you may only delete a key that is selected. Dito for OK, you may only hit OK if you selected a key.

      Show
      1) make sure you have a cloud 2) make sure you have no keys on this cloud 3) Choose "Launch instance" in the context menu of the cloud viewer 4) Hit "Manage..." and create a new key Result: The new key is selected but the OK-button that allows you to choose that key and get back to the "Launch instance" wizard stays disabled Expected: The new key is selected and I get back to the "Launch instance" wizard by hitting OK. Another usecase that shows bad behavior: 1) make sure you have a cloud 2) make sure you have keys for that cloud (you may have to create some, close the wizard and then get to the 3) 3) Choose "Launch instance" in the context menu of the cloud viewer 4) Hit "Manage..." and delete all keys Result: There's no key left but the OK-button and the "Delete" button are both enabled. Expected: "Delete" and "OK" should both be disabled since you may only delete a key that is selected. Dito for OK, you may only hit OK if you selected a key.
    • Workaround Description:
      Hide

      Hit "Cancel" and get back into the dialog. Now the key is selected and "OK" is enabled.

      Show
      Hit "Cancel" and get back into the dialog. Now the key is selected and "OK" is enabled.

      Gliffy Diagrams

        Attachments

          Activity

            People

            • Assignee:
              maxandersen Max Andersen
              Reporter:
              adietish André Dietisheim
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: