[
https://issues.apache.org/jira/browse/PIVOT-507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873518#action_12873518
]
Greg Brown commented on PIVOT-507:
----------------------------------
This is related to an earlier change to DesktopApplicationContext that attaches
listeners to the top-level window to ensure that the AWT frame title properly
reflects the top-level window's title. It seems to happen when nested popup
windows are closed - you don't actually need to select Help > About twice - it
should happen even the first time. Not sure what the problem is yet.
> Listener registration issues in menu items containing sub-menus
> ---------------------------------------------------------------
>
> Key: PIVOT-507
> URL: https://issues.apache.org/jira/browse/PIVOT-507
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Affects Versions: 1.5
> Reporter: Todd Volkert
> Priority: Minor
> Fix For: 1.6
>
>
> 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.desktopapplicationcontex...@7acc7439 removed from
> org.apache.pivot.wtk.window$windowlistenerl...@4e2892b
> Duplicate listener org.apache.pivot.wtk.desktopapplicationcontex...@7acc7439
> added to org.apache.pivot.wtk.window$windowlistenerl...@349b688e
> Nonexistent listener
> org.apache.pivot.wtk.desktopapplicationcontex...@7acc7439 removed from
> org.apache.pivot.wtk.window$windowlistenerl...@4e2892b
> Duplicate listener org.apache.pivot.wtk.desktopapplicationcontex...@7acc7439
> added to org.apache.pivot.wtk.window$windowlistenerl...@349b688e
> Sometimes it doesn't take two menu item selections to reproduce this. The
> same behavior can be seen in the MenuBarTest as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.