Pivot
  1. Pivot
  2. PIVOT-290

Highlight state not cleared properly in nested context menus

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: wtk
    • Labels:
      None

      Description

      Steps to reproduce:

      1) Run org.apache.pivot.wtk.test.ContextMenuTest
      2) Right-click to bring up the context menu, and select "Help->About" (nothing will happen, which is expected)
      3) Right-click to bring up the context menu again...

      Result:

      1) "Help" is still highlighted, when it shouldn't be
      2) If you try to keyboard navigate the menus, you can't navigate to or past "Help". Further, "Help" remains highlighted while you highlight other nodes, leading to two concurrently highlighted menu items.

        Activity

        Hide
        Todd Volkert added a comment -

        Actually, the same behavior can be observed in the kitchen sink demo, with the following steps:

        1) Right click on the context menu area in the "Menus" section
        2) Keyboard navigate to the middle option
        3) Hit the ESCAPE key
        4) Right click to bring up the context menu again

        Show
        Todd Volkert added a comment - Actually, the same behavior can be observed in the kitchen sink demo, with the following steps: 1) Right click on the context menu area in the "Menus" section 2) Keyboard navigate to the middle option 3) Hit the ESCAPE key 4) Right click to bring up the context menu again

          People

          • Assignee:
            Greg Brown
            Reporter:
            Todd Volkert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development