Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126596

ChoiceBox has lazy check mark movement

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: fx2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      If you have a choice box with three items, where item two is selected, the selection menu looks something like this

         item one
      ✓item two
         item three

      Now if you select item three, you would of course expect the check mark to move from item two to item three like this

         item one
         item two
      ✓item three

      However, after selecting item three on my Mac and then clicking the ChoiceBox to open the selection menu again, what I am seeing is actually a short animation like this

      at 0 milliseconds
         item one
      ✓item two
         item three

      and at approximately 200 milliseconds
         item one
         item two
      ✓item three

      So the check mark position is only updated *after* I open the selection menu again. Of course this flickering is not desirable, and I recommend changing this so that the check mark is relocated before showing the selection menu again.

        Attachments

          Activity

            People

            Assignee:
            psomashe Parvathi Somashekar (Inactive)
            Reporter:
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: