Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA, 4.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:IF4 trunk r. 47078/ EE-3.3.0-maintenance branch r.47051, all browsers
Server: Tomcat7
-
Assignee Priority:P2
Description
The ace:menu "right-click" trigger event does not work more than once, causing the webdriver test to fail.
This can be reproduced manually with the QA ace:menu test application, on the dynamic attribute test page:
- go to /menuDynAttribute.jsf
- enable "rendered" attribute, select position=dynamic.
- under "Additional Testing For Dynamic Position" select: trigger=<any option>; triggerEvent=<rtclick>
- right click on the selected trigger component, (div, image, input or text); the list of menuItems opens up and remains open.
- optional step: click on one of the menu items; the list closes, the selected value is rendered on page.
- right click again on the trigger component; the list of menu items opens up only for a second and then closes, making impossible to click on an item.
This issue can be reproduced also with ICEfaces 4.1.0 libraries.
QA test app:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/menu
This can be reproduced manually with the QA ace:menu test application, on the dynamic attribute test page:
- go to /menuDynAttribute.jsf
- enable "rendered" attribute, select position=dynamic.
- under "Additional Testing For Dynamic Position" select: trigger=<any option>; triggerEvent=<rtclick>
- right click on the selected trigger component, (div, image, input or text); the list of menuItems opens up and remains open.
- optional step: click on one of the menu items; the list closes, the selected value is rendered on page.
- right click again on the trigger component; the list of menu items opens up only for a second and then closes, making impossible to click on an item.
This issue can be reproduced also with ICEfaces 4.1.0 libraries.
QA test app:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/menu
r47608: corrected selector to unregister document click handler (4.0 trunk)
r47609: committed fix to the 3.3 EE maintenance branch
The problem was that the event handlers to hide the menu weren't being unregistered and were being accumulated.