Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: EE-4.0.0.GA
-
Fix Version/s: 4.1
-
Component/s: ACE-Components, Sample Apps
-
Labels:None
-
Environment:ICEfaces EE- 4.0.0.GA
Browsers: Firefox 34/36, Chrome43
Server: Tomcat7
Windows 7
-
Assignee Priority:P2
-
ICEsoft Forum Reference:
Description
There's some sort of focus problem when multiple ace:maskedEntry fields are used in a page. Go to the showcase demo for it,
http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=maskedEntryBean
Click on the first masked field, Date of birth. Move the focus to a different application window (e.g., Alt-Tab elsewhere). Now click in a DIFFERENT masked field, e.g., Mobile Phone. The 2 fields will fight for the focus; the masks flicker on and off indefinitely. Console monitor shows a continuous stream like:
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:workPhoneInput_field"
bridge-support.js.jsf?ln=ice.core&v=4_0_0_150512:1807
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:dobInput_field"
bridge-support.js.jsf?ln=ice.core&v=4_0_0_150512:1807
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:workPhoneInput_field"
(At this point, if you click on the other masked fields, you can get all 4 fields flickering!)
The problem does NOT occur if you simply Alt-Tab back to the browser, or if you click on the same field that had the focus when you Alt-Tab'd away. System is Windows 7 Pro. Failed on Chrome 42.0.2311.135 m and Firefox 36.0.1. - See more at: http://www.icesoft.org/JForum/posts/list/22916.page#80165
http://icefaces-showcase.icesoft.org/showcase.jsf?grp=aceMenu&exp=maskedEntryBean
Click on the first masked field, Date of birth. Move the focus to a different application window (e.g., Alt-Tab elsewhere). Now click in a DIFFERENT masked field, e.g., Mobile Phone. The 2 fields will fight for the focus; the masks flicker on and off indefinitely. Console monitor shows a continuous stream like:
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:workPhoneInput_field"
bridge-support.js.jsf?ln=ice.core&v=4_0_0_150512:1807
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:dobInput_field"
bridge-support.js.jsf?ln=ice.core&v=4_0_0_150512:1807
[window] [Thu, 28 May 2015 22:31:42 GMT] persisted focus for element "form:workPhoneInput_field"
(At this point, if you click on the other masked fields, you can get all 4 fields flickering!)
The problem does NOT occur if you simply Alt-Tab back to the browser, or if you click on the same field that had the focus when you Alt-Tab'd away. System is Windows 7 Pro. Failed on Chrome 42.0.2311.135 m and Firefox 36.0.1. - See more at: http://www.icesoft.org/JForum/posts/list/22916.page#80165
Note that I could not reproduce this on OS X using Cmd-Tab to switch between application windows, might be limited to Windows.