Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-507

Listener registration issues in menu items containing sub-menus

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: wtk
    • Labels:
      None

      Description

      Steps to reproduce:

      1) Run org.apache.pivot.tests.ContextMenuTest
      2) Select "Help->About"
      3) Select "Help->About" again

      Result:

      The console shows the following messages:

      Nonexistent listener org.apache.pivot.wtk.DesktopApplicationContext$1@7acc7439 removed from org.apache.pivot.wtk.Window$WindowListenerList@4e2892b
      Duplicate listener org.apache.pivot.wtk.DesktopApplicationContext$1@7acc7439 added to org.apache.pivot.wtk.Window$WindowListenerList@349b688e
      Nonexistent listener org.apache.pivot.wtk.DesktopApplicationContext$1@7acc7439 removed from org.apache.pivot.wtk.Window$WindowListenerList@4e2892b
      Duplicate listener org.apache.pivot.wtk.DesktopApplicationContext$1@7acc7439 added to org.apache.pivot.wtk.Window$WindowListenerList@349b688e

      Sometimes it doesn't take two menu item selections to reproduce this. The same behavior can be seen in the MenuBarTest as well.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tvolkert Todd Volkert

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment