[jira] [Commented] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Wi

2013-06-18 Thread Shigeru Nakagaki (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686485#comment-13686485
 ] 

Shigeru Nakagaki commented on FLEX-29002:
-

This still happens if compiler.accessible = false and a screen reader was 
installed, when a modal popUp like mx:Alert is closed.

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.managers::PopUpManagerImpl/handleAccessibilityForNestedPopups()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1541]
at 
mx.managers::PopUpManagerImpl/removeModalPopUpAccessibility()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1482]
at 
mx.managers::PopUpManagerImpl/popupRemovedHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1230]
at flash.display::DisplayObjectContainer/removeChild()


 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
Assignee: Carol Frampton
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Wi

2013-06-18 Thread Shigeru Nakagaki (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686488#comment-13686488
 ] 

Shigeru Nakagaki commented on FLEX-29002:
-

Also, on Windows 8 note PC and compiler.accessible = false, this always happens.

 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
Assignee: Carol Frampton
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Wi

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686541#comment-13686541
 ] 

Justin Mclean commented on FLEX-29002:
--

Any chance you could provide some sample code that demonstrates the issue.

 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
Assignee: Carol Frampton
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Win

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-29002:
--

  Assignee: (was: Carol Frampton)

 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686548#comment-13686548
 ] 

Justin Mclean commented on FLEX-24257:
--

Part of the issue is that in the French locale the french locale the default 
date format in DD MMM  not MM/DD/ like some other locales.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686550#comment-13686550
 ] 

Justin Mclean commented on FLEX-24257:
--

Width is calculated in measure via this var bigDate:Date = new Date(2004, 12, 
31); it assumes that 31 dec 2004 will always be the widest date which may or 
may not be the case.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686560#comment-13686560
 ] 

Maurice Amsellem commented on FLEX-24257:
-

There seems to be a typo there:  2004/12/31 = new Date(2004,11,31);

Anyway, I tried the following: 
mx:DateField editable=true selectedDate={new Date(2004,11,31)}/
and scrolling still occurs.

I also tried with new Date(2004,12,31) = scrolling also happens.

Note:  My test app has now -locale=en_US to make sure I am testing in the same 
conditions.



 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reassigned FLEX-24257:


Assignee: Justin Mclean

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Build failed in Jenkins: flex-sdk_mustella #175

2013-06-18 Thread flex . mustella
See http://localhost:8080/job/flex-sdk_mustella/175/

--
[...truncated 82944 lines...]
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\DataGrid\SWFs\DataGrid_LockedRC.swf
 (2268599 bytes)
 [java] Choosing local runner bitmap save
 [java] okey doke, going to compile 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\itemRenderers\Spark\List\SWFs\List_itemRendererTests_spark.mxml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\itemRenderers\Spark\List\SWFs\List_itemRendererTests_spark.swf
 (1384955 bytes)
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 (5765581 bytes)
 [java] Choosing local runner bitmap save
 [java] okey doke, going to compile 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\resources\ResourceManager\SWFs\ResourceManagerApp.mxml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] Choosing local runner bitmap save
 [java] okey doke, going to compile 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.mxml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\resources\ResourceManager\SWFs\ResourceManagerApp.swf
 (733356 bytes)
 [java] nothing left to do
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.mxml(181):
 Warning: The CSS type selector 'spark.components.CheckBox' was not processed, 
because the type was not used in the application.
 [java] 
 [java] s|CheckBox{
 [java] 
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.swf
 (1491235 bytes)
 [java] All done with the compile
 [java] leaving the compile, elapsed: 50
 [java] ...via exit
 [echo] compileswfs jreturn is 0
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

do_fail:

compileswfs:

getExcludes:

getExcludeIds:

populateExcludeTable:
 [echo] populate exclude, got this for db time: 2013/06/18 05:37:33

justrun:
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/Library/Caches/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/AppData/Roaming/Adobe/Flash 
Player/AssetCache
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache\B2GMBUP4
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: C:\Users\ApacheFlex/Application Data/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

android_runner:

ios_runner:

qnx_runner:

desktop_runner:
 [echo]  Willkommen auf Runner 
 [java] starting results server
 [java] starting baseline server
 [java] test script count: 6
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java]  cmdArr before: 
 [java] C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java]  moreParameters before: 
 [java]  cmdArr after: 
 [java] C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs
 [java] starting the baseline server: Tue Jun 18 05:39:04 ACT 2013
 [java] Launching: 
 [java]  C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 Launching: C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java] 

[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686589#comment-13686589
 ] 

Justin Mclean commented on FLEX-24257:
--

en_US will give the same width as it uses teh date format MM/DD/ by default 
and all months are the same width with 2 digits.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686589#comment-13686589
 ] 

Justin Mclean edited comment on FLEX-24257 at 6/18/13 10:57 AM:


en_US will give the same width as it uses the date format MM/DD/ by default 
and all months are the same width with 2 digits.

  was (Author: jmclean):
en_US will give the same width as it uses teh date format MM/DD/ by 
default and all months are the same width with 2 digits.
  
 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686592#comment-13686592
 ] 

Justin Mclean commented on FLEX-24257:
--

Fixed and code checked into develop branch.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-24257.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686609#comment-13686609
 ] 

Justin Mclean commented on FLEX-24257:
--

Also should of mentioned it's an issue in Apache Flex 4.9.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-24257:
--


 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-19842) DateField size measured too small

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-19842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686615#comment-13686615
 ] 

Justin Mclean commented on FLEX-19842:
--

Fixed in Apache Flex 4.10

 DateField size measured too small
 -

 Key: FLEX-19842
 URL: https://issues.apache.org/jira/browse/FLEX-19842
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor

 DateField.measure() has two problems:
 1. It is a few pixels too small, causing the text field inside it to scroll.
 To reproduce:
 * Create an editable DateField mx:DateField editable=true /.
 * Choose a date (say, 01/01/2009).
 * Click somewhere else to move the focus out
 * Click in the DateField again, at the end (to the right of the 9)
 Result: the start of the date scrolls away
 Fix: make it 4 pixels wider (in DateField.measure, add an extra +4 to the 
 measuredMinWidth = measuredWidth = ...
 2. It tries to use 31/12/2004 as a sample date to measure the width, but it 
 does new Date(2004, 12, 31), and months are 0-based there, so it actually 
 uses 31/01/2005. With a date format where the month can be shown as 1 
 character, this causes the DateField to be one character too small.
 This can be reproduced in Flex 3.2 by having a labelFunction that formats the 
 date like that, or (didn't test) since SDK-15386 the DateField itself also 
 supports formatStrings like D/M/YY.
 Fix: replace it by new Date(2004, 11, 31)
 Workaround for both: override DateField.measure in a subclass, copying the 
 implementation but adding an extra +4 and fixing the month in the date.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-16716) Confusing behavior when using left/right arrow keys with DateField

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-16716:
--


Still an issue in Apache Flex 4.9/Apache Flex develop branch.

 Confusing behavior when using left/right arrow keys with DateField
 --

 Key: FLEX-16716
 URL: https://issues.apache.org/jira/browse/FLEX-16716
 Project: Apache Flex
  Issue Type: Improvement
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor

 We'd like you to stop moving both the date itself on a calendar and cursor 
 position on TextField, when left/right arrow key is pressed with DataChooser 
 visible in an editable DateField.
 Description:
 When left/right arrow key is pressed with DataChooser visible in an editable 
 DateField, both of listed below move:
 * date on a calendar
 * cursor position on TextField
 Could you make it, so that only a date on a calendar moves when DataChooser 
 is shown, while only a cursor position on TextField moves when DataChoose is 
 not shown? 
  
 Workarounds: 
 1) derive a new class using DateField
 2) declare two additional variables
 3) overwrite keyDownHandler, keyUpHandler event handlers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-16716) Confusing behavior when using left/right arrow keys with DateField

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-16716:
-

Assignee: (was: Adobe JIRA)

 Confusing behavior when using left/right arrow keys with DateField
 --

 Key: FLEX-16716
 URL: https://issues.apache.org/jira/browse/FLEX-16716
 Project: Apache Flex
  Issue Type: Improvement
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
  Labels: easyfix

 We'd like you to stop moving both the date itself on a calendar and cursor 
 position on TextField, when left/right arrow key is pressed with DataChooser 
 visible in an editable DateField.
 Description:
 When left/right arrow key is pressed with DataChooser visible in an editable 
 DateField, both of listed below move:
 * date on a calendar
 * cursor position on TextField
 Could you make it, so that only a date on a calendar moves when DataChooser 
 is shown, while only a cursor position on TextField moves when DataChoose is 
 not shown? 
  
 Workarounds: 
 1) derive a new class using DateField
 2) declare two additional variables
 3) overwrite keyDownHandler, keyUpHandler event handlers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-16716) Confusing behavior when using left/right arrow keys with DateField

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-16716:
-

Labels: easyfix  (was: )

 Confusing behavior when using left/right arrow keys with DateField
 --

 Key: FLEX-16716
 URL: https://issues.apache.org/jira/browse/FLEX-16716
 Project: Apache Flex
  Issue Type: Improvement
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor
  Labels: easyfix

 We'd like you to stop moving both the date itself on a calendar and cursor 
 position on TextField, when left/right arrow key is pressed with DataChooser 
 visible in an editable DateField.
 Description:
 When left/right arrow key is pressed with DataChooser visible in an editable 
 DateField, both of listed below move:
 * date on a calendar
 * cursor position on TextField
 Could you make it, so that only a date on a calendar moves when DataChooser 
 is shown, while only a cursor position on TextField moves when DataChoose is 
 not shown? 
  
 Workarounds: 
 1) derive a new class using DateField
 2) declare two additional variables
 3) overwrite keyDownHandler, keyUpHandler event handlers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24671) Allow up/down arrows to change value of a closed datefield control

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686635#comment-13686635
 ] 

Justin Mclean commented on FLEX-24671:
--

No longer an issue in Apache Flex 4.10.

 Allow up/down arrows to change value of a closed datefield control
 --

 Key: FLEX-24671
 URL: https://issues.apache.org/jira/browse/FLEX-24671
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 4.0 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Trivial

 Steps to reproduce:
 1. Run attached sample.
 2. Focus the datefield control.
 3. Attempt to use up/down arrows to change the value without opening the 
 control.
  
  Actual Results:
  Nothing happens.
  
  Expected Results:
  * If no date is selected, start with today's date on first up or down arrow.
 * If a date is selected, move back or forward one day based on which arrow 
 key was pressed.
 * Alternatively, implement more keys for navigating a closed datefield 
 control.  Suggestions:  left/right arrows move by day, up/down by week, page 
 up/down by month, ctrl+page up/down by year (if these do not cause conflicts 
 with Flash/Flex or the browser).
 * Allow automatic movement to a new month/year as necessary in either 
 direction.
 Note:  This is being entered with component Accessibility because, at this 
 time, there are accessibility problems with the control when it it is open.  
 This change would at least allow simple navigation through dates with 
 assistive technology.
  
  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-977) Using arrow keys to navigate DateField always starts on the 2nd of the month

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-977:
---

Labels: easyfix  (was: )

 Using arrow keys to navigate DateField always starts on the 2nd of the month
 

 Key: FLEX-977
 URL: https://issues.apache.org/jira/browse/FLEX-977
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
  Labels: easyfix
 Fix For: Adobe Flex SDK Previous


 Reproduction:
 1. Compile  run the following:
 ?xml version=1.0 encoding=iso-8859-1?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=600 
 height=600
 mx:DateField /
 /mx:Application
 2. Click on the DateField *Notice none of the days have a blue highlight
 3. Hit the right arrow key
 Actual Results:
 The 2nd of the month is now highlighted.
 Expected Results:
 Either the 1st of the month should be highlighted after step 2. or the 1st of 
 the month should be highlighted after hitting the right arrow key.
 Workaround:

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-977) Using arrow keys to navigate DateField always starts on the 2nd of the month

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-977:


  Assignee: (was: Adobe JIRA)

Can reproduce in Apache Flex 4.10 develop branch.

 Using arrow keys to navigate DateField always starts on the 2nd of the month
 

 Key: FLEX-977
 URL: https://issues.apache.org/jira/browse/FLEX-977
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
 Fix For: Adobe Flex SDK Previous


 Reproduction:
 1. Compile  run the following:
 ?xml version=1.0 encoding=iso-8859-1?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; width=600 
 height=600
 mx:DateField /
 /mx:Application
 2. Click on the DateField *Notice none of the days have a blue highlight
 3. Hit the right arrow key
 Actual Results:
 The 2nd of the month is now highlighted.
 Expected Results:
 Either the 1st of the month should be highlighted after step 2. or the 1st of 
 the month should be highlighted after hitting the right arrow key.
 Workaround:

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-32365) 强制转换类型失败:无法将 1975-09-17 转换为 Date

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-32365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-32365:
-

Labels: easy easytest fix  (was: )

 强制转换类型失败:无法将 1975-09-17 转换为 Date
 --

 Key: FLEX-32365
 URL: https://issues.apache.org/jira/browse/FLEX-32365
 Project: Apache Flex
  Issue Type: Bug
  Components: ADG:Display
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor
  Labels: easy, easytest, fix

 Steps to reproduce:
 1.formatString -MM-DD
 2. in AdvancedDataGrid
 3.
  
 TypeError: Error #1034: 强制转换类型失败:无法将 1975-09-17 转换为 Date。
   at mx.controls::DateField/set 
 data()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\DateField.as:735]
   at 
 mx.controls::AdvancedDataGridBaseEx/itemEditorItemEditBeginHandler()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:6417]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at 
 mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
   at 
 mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4463]
   at 
 mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1807]
   at 
 mx.controls::AdvancedDataGrid/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:5924]
   at 
 mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3071]
   at 
 mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
   at 
 mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at 
 mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
   at 
 mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-32365) 强制转换类型失败:无法将 1975-09-17 转换为 Date

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-32365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-32365:
-

Labels: easyfix easytest  (was: easy easytest fix)

 强制转换类型失败:无法将 1975-09-17 转换为 Date
 --

 Key: FLEX-32365
 URL: https://issues.apache.org/jira/browse/FLEX-32365
 Project: Apache Flex
  Issue Type: Bug
  Components: ADG:Display
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor
  Labels: easyfix, easytest

 Steps to reproduce:
 1.formatString -MM-DD
 2. in AdvancedDataGrid
 3.
  
 TypeError: Error #1034: 强制转换类型失败:无法将 1975-09-17 转换为 Date。
   at mx.controls::DateField/set 
 data()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\DateField.as:735]
   at 
 mx.controls::AdvancedDataGridBaseEx/itemEditorItemEditBeginHandler()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:6417]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at 
 mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
   at 
 mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4463]
   at 
 mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1807]
   at 
 mx.controls::AdvancedDataGrid/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:5924]
   at 
 mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3071]
   at 
 mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
   at 
 mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at 
 mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
   at 
 mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-32365) 强制转换类型失败:无法将 1975-09-17 转换为 Date

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-32365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-32365:
--


May of been fixed in Apache Flex 4.10 develop branch.

 强制转换类型失败:无法将 1975-09-17 转换为 Date
 --

 Key: FLEX-32365
 URL: https://issues.apache.org/jira/browse/FLEX-32365
 Project: Apache Flex
  Issue Type: Bug
  Components: ADG:Display
Affects Versions: Adobe Flex SDK 3.3 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor

 Steps to reproduce:
 1.formatString -MM-DD
 2. in AdvancedDataGrid
 3.
  
 TypeError: Error #1034: 强制转换类型失败:无法将 1975-09-17 转换为 Date。
   at mx.controls::DateField/set 
 data()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\DateField.as:735]
   at 
 mx.controls::AdvancedDataGridBaseEx/itemEditorItemEditBeginHandler()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:6417]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at 
 mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:9051]
   at 
 mx.controls::AdvancedDataGridBaseEx/commitEditedItemPosition()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4463]
   at 
 mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1807]
   at 
 mx.controls::AdvancedDataGrid/updateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:5924]
   at 
 mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\Work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3071]
   at 
 mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:602]
   at 
 mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:675]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at 
 mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8460]
   at 
 mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8403]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-9645) Inconsistancy in date selection with keyboard and mouse. Selection of date is different while using mouse and keyboard.

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-9645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686641#comment-13686641
 ] 

Justin Mclean commented on FLEX-9645:
-

Selection no longer toggles in Apache Flex 4.9 - however same issue exists with 
command click.

 Inconsistancy in date selection with keyboard and mouse. Selection of date is 
 different while using mouse and keyboard.
 ---

 Key: FLEX-9645
 URL: https://issues.apache.org/jira/browse/FLEX-9645
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows
 Language Found: English
Reporter: Adobe JIRA
Assignee: Adobe JIRA
Priority: Minor
 Fix For: Adobe Flex SDK Previous


 Reproduction:
 1. Run the below sample piece of code.
 ?xml version=1.0 encoding=iso-8859-1?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:DateField/
 mx:DateChooser id=dc/
 mx:TextInput text={dc.selectedDate}/
 /mx:Application
 2. Open the datefield and select the date from the datechooser window, 
 selected date will be shown in the datefield.
 3. Open the datefield again and select the date selected in the previous 
 step, now the date field will be empty. So the togglling happens when the 
 same date is selected using mouse.
 4. Open the datefield using the keyboard and select a date by hitting enter 
 key, selected date will be shown in the datefield.
 5. Open the datefield again and select the date selected in the previous step 
 using keyboard.
 Notice that the date is still shown in the date field.
 Note : This behaviour is seen in dateChooser also.
 Actual Results: Inconsistancy in date selection with keyboard and mouse
 Expected Results: Should unselect the date when the selected date is selected 
 again using keyboard.
 Workaround: none

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-9645) Inconsistancy in date selection with keyboard and mouse. Selection of date is different while using mouse and keyboard.

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-9645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-9645:
-

  Assignee: (was: Adobe JIRA)

 Inconsistancy in date selection with keyboard and mouse. Selection of date is 
 different while using mouse and keyboard.
 ---

 Key: FLEX-9645
 URL: https://issues.apache.org/jira/browse/FLEX-9645
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
 Fix For: Adobe Flex SDK Previous


 Reproduction:
 1. Run the below sample piece of code.
 ?xml version=1.0 encoding=iso-8859-1?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:DateField/
 mx:DateChooser id=dc/
 mx:TextInput text={dc.selectedDate}/
 /mx:Application
 2. Open the datefield and select the date from the datechooser window, 
 selected date will be shown in the datefield.
 3. Open the datefield again and select the date selected in the previous 
 step, now the date field will be empty. So the togglling happens when the 
 same date is selected using mouse.
 4. Open the datefield using the keyboard and select a date by hitting enter 
 key, selected date will be shown in the datefield.
 5. Open the datefield again and select the date selected in the previous step 
 using keyboard.
 Notice that the date is still shown in the date field.
 Note : This behaviour is seen in dateChooser also.
 Actual Results: Inconsistancy in date selection with keyboard and mouse
 Expected Results: Should unselect the date when the selected date is selected 
 again using keyboard.
 Workaround: none

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686643#comment-13686643
 ] 

Maurice Amsellem commented on FLEX-24257:
-

Thanks for the fix.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-16008) Enhance DateFormatter to support custom string like YY Years MM Months DD Days

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-16008:
--

  Assignee: (was: Adobe JIRA)

Still an issue in Apache Flex 4.10 develop branch.

 Enhance DateFormatter to support custom string like YY Years MM Months DD 
 Days
 

 Key: FLEX-16008
 URL: https://issues.apache.org/jira/browse/FLEX-16008
 Project: Apache Flex
  Issue Type: Bug
  Components: Formatters
Affects Versions: Adobe Flex SDK 3.0 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor

 Run the following application, Pick a date in the date field, you will see 
 the label output will be something like 08 years 10 months 22 days
 Notice the format string is YY years MM months DD days. However, if we 
 change this to YY Years MM Months DD Days, the dateformatter will fail to 
 output anything.
 ?xml version=1.0 encoding=utf-8?
 !-- Simple example to demonstrate the DateField control. --
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  
  mx:DateFormatter id=df formatString=YY years MM months DD days/
 mx:Panel title=DateField Control Example height=75% width=75%
 paddingTop=10 paddingLeft=10 paddingRight=10
 mx:Label text=Disable dates on or before June 1, 2006./
 mx:DateField id=dateField2 yearNavigationEnabled=true
 disabledRanges={[ {rangeEnd: new Date(2006, 5, 1)} ]} /
 mx:Label color=blue text=Date selected: 
 {df.format(dateField2.selectedDate)}/
 /mx:Panel
 /mx:Application

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-16008) Enhance DateFormatter to support custom string like YY Years MM Months DD Days

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-16008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean updated FLEX-16008:
-

Labels: easyfix  (was: )

 Enhance DateFormatter to support custom string like YY Years MM Months DD 
 Days
 

 Key: FLEX-16008
 URL: https://issues.apache.org/jira/browse/FLEX-16008
 Project: Apache Flex
  Issue Type: Bug
  Components: Formatters
Affects Versions: Adobe Flex SDK 3.0 (Release)
 Environment: Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Priority: Minor
  Labels: easyfix

 Run the following application, Pick a date in the date field, you will see 
 the label output will be something like 08 years 10 months 22 days
 Notice the format string is YY years MM months DD days. However, if we 
 change this to YY Years MM Months DD Days, the dateformatter will fail to 
 output anything.
 ?xml version=1.0 encoding=utf-8?
 !-- Simple example to demonstrate the DateField control. --
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  
  mx:DateFormatter id=df formatString=YY years MM months DD days/
 mx:Panel title=DateField Control Example height=75% width=75%
 paddingTop=10 paddingLeft=10 paddingRight=10
 mx:Label text=Disable dates on or before June 1, 2006./
 mx:DateField id=dateField2 yearNavigationEnabled=true
 disabledRanges={[ {rangeEnd: new Date(2006, 5, 1)} ]} /
 mx:Label color=blue text=Date selected: 
 {df.format(dateField2.selectedDate)}/
 /mx:Panel
 /mx:Application

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (FLEX-19842) DateField size measured too small

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-19842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-19842.
--

   Resolution: Fixed
Fix Version/s: Apache Flex 4.10.0

 DateField size measured too small
 -

 Key: FLEX-19842
 URL: https://issues.apache.org/jira/browse/FLEX-19842
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
Priority: Minor
 Fix For: Apache Flex 4.10.0


 DateField.measure() has two problems:
 1. It is a few pixels too small, causing the text field inside it to scroll.
 To reproduce:
 * Create an editable DateField mx:DateField editable=true /.
 * Choose a date (say, 01/01/2009).
 * Click somewhere else to move the focus out
 * Click in the DateField again, at the end (to the right of the 9)
 Result: the start of the date scrolls away
 Fix: make it 4 pixels wider (in DateField.measure, add an extra +4 to the 
 measuredMinWidth = measuredWidth = ...
 2. It tries to use 31/12/2004 as a sample date to measure the width, but it 
 does new Date(2004, 12, 31), and months are 0-based there, so it actually 
 uses 31/01/2005. With a date format where the month can be shown as 1 
 character, this causes the DateField to be one character too small.
 This can be reproduced in Flex 3.2 by having a labelFunction that formats the 
 date like that, or (didn't test) since SDK-15386 the DateField itself also 
 supports formatStrings like D/M/YY.
 Fix: replace it by new Date(2004, 11, 31)
 Workaround for both: override DateField.measure in a subclass, copying the 
 implementation but adding an extra +4 and fixing the month in the date.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (FLEX-19842) DateField size measured too small

2013-06-18 Thread Justin Mclean (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-19842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean reopened FLEX-19842:
--

  Assignee: Justin Mclean  (was: Adobe JIRA)

 DateField size measured too small
 -

 Key: FLEX-19842
 URL: https://issues.apache.org/jira/browse/FLEX-19842
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): All OS Platforms
 Affected OS(s): All OS Platforms
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
Priority: Minor

 DateField.measure() has two problems:
 1. It is a few pixels too small, causing the text field inside it to scroll.
 To reproduce:
 * Create an editable DateField mx:DateField editable=true /.
 * Choose a date (say, 01/01/2009).
 * Click somewhere else to move the focus out
 * Click in the DateField again, at the end (to the right of the 9)
 Result: the start of the date scrolls away
 Fix: make it 4 pixels wider (in DateField.measure, add an extra +4 to the 
 measuredMinWidth = measuredWidth = ...
 2. It tries to use 31/12/2004 as a sample date to measure the width, but it 
 does new Date(2004, 12, 31), and months are 0-based there, so it actually 
 uses 31/01/2005. With a date format where the month can be shown as 1 
 character, this causes the DateField to be one character too small.
 This can be reproduced in Flex 3.2 by having a labelFunction that formats the 
 date like that, or (didn't test) since SDK-15386 the DateField itself also 
 supports formatStrings like D/M/YY.
 Fix: replace it by new Date(2004, 11, 31)
 Workaround for both: override DateField.measure in a subclass, copying the 
 implementation but adding an extra +4 and fixing the month in the date.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1368#comment-1368
 ] 

Maurice Amsellem commented on FLEX-24257:
-

Double-testing the fix:
Since I don't know how ( don't have time) to download and compile the develop 
branch, I subclassed DateField and overridden measure() with the fixed code 
(see code below).
Unfortunately, the scrolling still occurs on my environment.
Note: maxWidth is set to 62 at the end of the loop, and bigDate width was also 
62 pixels prior to the fix.
What do you think ? 
 
{code}
package controls {
import mx.controls.DateField;
import mx.core.mx_internal;

use namespace  mx_internal;

public class DateFieldExt extends DateField {
public function DateFieldExt() {
}

override protected function measure():void {
// skip base class, we do our own calculation here
// super.measure();

  var buttonWidth:Number = downArrowButton.getExplicitOrMeasuredWidth();
  var buttonHeight:Number = downArrowButton.getExplicitOrMeasuredHeight();

// copied from sdk develop branch
  var bigDate:Date;
 var txt:String;
var textWidth:Number;
var maxWidth:Number = 0;

// Width may vary based on date format
for (var month:int = 0; month  12; month++) {
bigDate = new Date(2000, month, 28); // day 28 
exist in all months
txt = (labelFunction != null) ? 
labelFunction(bigDate) : dateToString(bigDate, formatString);
textWidth = measureText(txt).width;
if (textWidth  maxWidth) {
maxWidth = textWidth;
}
}


measuredMinWidth = measuredWidth = maxWidth + 8 + 2 + buttonWidth;
measuredMinWidth = measuredWidth += getStyle(paddingLeft) + 
getStyle(paddingRight);
measuredMinHeight = measuredHeight = 
textInput.getExplicitOrMeasuredHeight();
}
{code}

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Comment Edited] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1368#comment-1368
 ] 

Maurice Amsellem edited comment on FLEX-24257 at 6/18/13 12:59 PM:
---

Trying the fix on my side:
Since I don't know how ( don't have time) to download and compile the develop 
branch, I subclassed DateField and overridden measure() with the fixed code 
(see code below).
Unfortunately, the scrolling still occurs on my environment.
Note: maxWidth is set to 62 at the end of the loop, and bigDate width was also 
62 pixels prior to the fix.
What do you think ? 
 
{code}
package controls {
import mx.controls.DateField;
import mx.core.mx_internal;

use namespace  mx_internal;

public class DateFieldExt extends DateField {
public function DateFieldExt() {
}

override protected function measure():void {
// skip base class, we do our own calculation here
// super.measure();

  var buttonWidth:Number = downArrowButton.getExplicitOrMeasuredWidth();
  var buttonHeight:Number = downArrowButton.getExplicitOrMeasuredHeight();

// copied from sdk develop branch
  var bigDate:Date;
 var txt:String;
var textWidth:Number;
var maxWidth:Number = 0;

// Width may vary based on date format
for (var month:int = 0; month  12; month++) {
bigDate = new Date(2000, month, 28); // day 28 
exist in all months
txt = (labelFunction != null) ? 
labelFunction(bigDate) : dateToString(bigDate, formatString);
textWidth = measureText(txt).width;
if (textWidth  maxWidth) {
maxWidth = textWidth;
}
}


measuredMinWidth = measuredWidth = maxWidth + 8 + 2 + buttonWidth;
measuredMinWidth = measuredWidth += getStyle(paddingLeft) + 
getStyle(paddingRight);
measuredMinHeight = measuredHeight = 
textInput.getExplicitOrMeasuredHeight();
}
{code}

  was (Author: mamsellem):
Double-testing the fix:
Since I don't know how ( don't have time) to download and compile the develop 
branch, I subclassed DateField and overridden measure() with the fixed code 
(see code below).
Unfortunately, the scrolling still occurs on my environment.
Note: maxWidth is set to 62 at the end of the loop, and bigDate width was also 
62 pixels prior to the fix.
What do you think ? 
 
{code}
package controls {
import mx.controls.DateField;
import mx.core.mx_internal;

use namespace  mx_internal;

public class DateFieldExt extends DateField {
public function DateFieldExt() {
}

override protected function measure():void {
// skip base class, we do our own calculation here
// super.measure();

  var buttonWidth:Number = downArrowButton.getExplicitOrMeasuredWidth();
  var buttonHeight:Number = downArrowButton.getExplicitOrMeasuredHeight();

// copied from sdk develop branch
  var bigDate:Date;
 var txt:String;
var textWidth:Number;
var maxWidth:Number = 0;

// Width may vary based on date format
for (var month:int = 0; month  12; month++) {
bigDate = new Date(2000, month, 28); // day 28 
exist in all months
txt = (labelFunction != null) ? 
labelFunction(bigDate) : dateToString(bigDate, formatString);
textWidth = measureText(txt).width;
if (textWidth  maxWidth) {
maxWidth = textWidth;
}
}


measuredMinWidth = measuredWidth = maxWidth + 8 + 2 + buttonWidth;
measuredMinWidth = measuredWidth += getStyle(paddingLeft) + 
getStyle(paddingRight);
measuredMinHeight = measuredHeight = 
textInput.getExplicitOrMeasuredHeight();
}
{code}
  
 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar 

[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686690#comment-13686690
 ] 

Maurice Amsellem commented on FLEX-24257:
-

Since the problem exists also in TextInput, what would you think about just 
preventing the scrolling from happening, when the component gets the focus ?

Something like: 

mx/controls/TextInput.as

 override protected function focusInHandler(event:FocusEvent):void {

 textField.setSelection(0, textField.length);
 textField.scrollH = 0; // undo any scrolling




 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686692#comment-13686692
 ] 

Justin Mclean commented on FLEX-24257:
--

On OSX with locale set to fr_FR I get 68 as the maxWidth (for September, 
November and December). Values for each month vary form 62 to 68.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Justin Mclean (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686698#comment-13686698
 ] 

Justin Mclean commented on FLEX-24257:
--

Issue is with the DateField measure method not TextInput from what I can see. 
May be other fixes/changes in ApacheFlex develop branch that are contributing 
as there's been quite a few fixes involving dates in the 4.10 branch. You could 
try the next build (#100 just about done) from Jenkins to see if it fixes the 
issue (https://builds.apache.org/job/flex-sdk/) but it's not actually that hard 
to compile the SDK.

 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Nightly build Jenkins issue

2013-06-18 Thread Justin Mclean
Hi,Looks like there a git issue with Jenkins:https://builds.apache.org/job/flex-sdk_release/configureFailed to connect to repository : Error performing command: git ls-remote -h https://git-wip-us.apache.org/repos/asf/flex-sdk.git HEADPath looks OK to me so not sure what the issue is.Thanks,Justin

[jira] [Commented] (FLEX-24257) DateField text scrolled when pressing DateField calendar button

2013-06-18 Thread Maurice Amsellem (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-24257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13686718#comment-13686718
 ] 

Maurice Amsellem commented on FLEX-24257:
-

You are right: I looked at the history of DateField.as in the develop branch 
and it had many changes (eg. dateToString / stringToDate) which explain the 
differences between your results and mine.
I will download build #100 when it's done and re-do the tests.
Thanks again.



 DateField text scrolled when pressing DateField calendar button
 ---

 Key: FLEX-24257
 URL: https://issues.apache.org/jira/browse/FLEX-24257
 Project: Apache Flex
  Issue Type: Bug
  Components: mx: DateField
Affects Versions: Adobe Flex SDK 3.2 (Release)
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Browser: Internet Explorer 8.x
 Language Found: English
Reporter: Adobe JIRA
Assignee: Justin Mclean
 Fix For: Apache Flex 4.10.0

 Attachments: screenshot-1.jpg


 Steps to reproduce:
 1. Click on an editable DateField's calendar button when the DateField 
 doesn't currently have focus.
 2. Observe the text in the DateField's textinput area.
  
  Actual Results:
 The text is automatically highlighted and scrolled to the left such that the 
 beginning part of the date text isn't visible. 
  
  Expected Results:
 The text should not be highlighted or scrolled at all. 
  
  Workaround (if any):
 Click in the textinput area before pressing the button.
  
 Sample app:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical
   mx:DateField editable=true/
 /mx:Application
 I see this on Flex SDK 3.2, 3.4 and 4.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: Nightly build Jenkins issue

2013-06-18 Thread Frédéric THOMAS
It is set as “git ls-remote -h 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git HEAD” instead of “git 
ls-remote -h https://git-wip-us.apache.org/repos/asf/flex-sdk.git develop”

the –h flag serves to designate the HEAD already.

-Fred

From: Justin Mclean 
Sent: Tuesday, June 18, 2013 3:40 PM
To: dev@flex.apache.org 
Subject: Nightly build Jenkins issue

Hi, 

Looks like there a git issue with Jenkins:

https://builds.apache.org/job/flex-sdk_release/configure


  Failed to connect to repository : Error performing command: git ls-remote 
-h https://git-wip-us.apache.org/repos/asf/flex-sdk.git HEAD 
   
   
Path looks OK to me so not sure what the issue is. 

Thanks,

Justin

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-24257 Fixed measured width of date field as it may vary month by month based on format.

2013-06-18 Thread Alex Harui
Hi Justin,

Thanks for looking into it.  Seems like a reasonable approach, but one
concern is that adding a loop in measure may affect performance.  I'm
thinking of the DataGrid with lots of DateFields in the renderers.
Imagine a file system datagrid with creation, modification and
last-accessed date columns.

Do you have time to build a static cache based on
fontSize/fontstyle/fontweight.  There might be code in
EmbeddedFontRegistry you can borrow?

FWIW, another approach would be a typicalDate property so folks can
offer up the pattern that will reserve enough space for them, but I think
loop-and-cache is more automatic.

-Alex

On 6/18/13 4:00 AM, jmcl...@apache.org jmcl...@apache.org wrote:

Updated Branches:
  refs/heads/develop 965ec7616 - 04b8b35ca


FLEX-24257 Fixed measured width of date field as it may vary month by
month based on format.


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/04b8b35c
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/04b8b35c
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/04b8b35c

Branch: refs/heads/develop
Commit: 04b8b35ca28eb74323032ce3835944e6064a8902
Parents: 965ec76
Author: Justin Mclean jmcl...@apache.org
Authored: Tue Jun 18 20:58:45 2013 +1000
Committer: Justin Mclean jmcl...@apache.org
Committed: Tue Jun 18 20:58:45 2013 +1000

--
 .../projects/mx/src/mx/controls/DateField.as | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/04b8b35c/frameworks/p
rojects/mx/src/mx/controls/DateField.as
--
diff --git a/frameworks/projects/mx/src/mx/controls/DateField.as
b/frameworks/projects/mx/src/mx/controls/DateField.as
index 9c65abc..e78074b 100644
--- a/frameworks/projects/mx/src/mx/controls/DateField.as
+++ b/frameworks/projects/mx/src/mx/controls/DateField.as
@@ -2203,11 +2203,22 @@ public class DateField extends ComboBase
 var buttonWidth:Number =
downArrowButton.getExplicitOrMeasuredWidth();
 var buttonHeight:Number =
downArrowButton.getExplicitOrMeasuredHeight();
 
-var bigDate:Date = new Date(2004, 12, 31);
-var txt:String = (_labelFunction != null) ?
_labelFunction(bigDate) :
-dateToString(bigDate, formatString);
+var bigDate:Date;
+var txt:String;
+  var textWidth:Number;
+  var maxWidth:Number = 0;
+  
+  // Width may vary based on date format
+  for (var month:int = 0; month  12; month++) {
+  bigDate = new Date(2000, month, 28); // day 28 exist in 
all months
+  txt = (_labelFunction != null) ? 
_labelFunction(bigDate) :
dateToString(bigDate, formatString);
+  textWidth = measureText(txt).width;
+  if (textWidth  maxWidth) {
+  maxWidth = textWidth;
+  }
+  }
 
-measuredMinWidth = measuredWidth = measureText(txt).width + 8 +
2 + buttonWidth;
+measuredMinWidth = measuredWidth = maxWidth + 8 + 2 +
buttonWidth;
 measuredMinWidth = measuredWidth += getStyle(paddingLeft) +
getStyle(paddingRight);
 measuredMinHeight = measuredHeight =
textInput.getExplicitOrMeasuredHeight();
 }




Re: Nightly build Jenkins issue

2013-06-18 Thread Frédéric THOMAS
Maybe you can try to click advance set the name “develop” and the refs to 
“refs/heads/develop”

From: Frédéric THOMAS 
Sent: Tuesday, June 18, 2013 3:52 PM
To: dev@flex.apache.org 
Subject: Re: Nightly build Jenkins issue

It is set as “git ls-remote -h 
https://git-wip-us.apache.org/repos/asf/flex-sdk.git HEAD” instead of “git 
ls-remote -h https://git-wip-us.apache.org/repos/asf/flex-sdk.git develop”

the –h flag serves to designate the HEAD already.

-Fred

From: Justin Mclean 
Sent: Tuesday, June 18, 2013 3:40 PM
To: dev@flex.apache.org 
Subject: Nightly build Jenkins issue

Hi, 

Looks like there a git issue with Jenkins:

https://builds.apache.org/job/flex-sdk_release/configure


  Failed to connect to repository : Error performing command: git ls-remote 
-h https://git-wip-us.apache.org/repos/asf/flex-sdk.git HEAD 
   
   
Path looks OK to me so not sure what the issue is. 

Thanks,

Justin

Re: Nightly build Jenkins issue

2013-06-18 Thread Justin Mclean
Hi,

 Maybe you can try to click advance set the name “develop” and the refs to 
 “refs/heads/develop”

It already switches to the develop branch after that - so don't think that's 
the issue.

Thanks,
Justin

Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-24257 Fixed measured width of date field as it may vary month by month based on format.

2013-06-18 Thread Justin Mclean
Hi,

 Thanks for looking into it.  Seems like a reasonable approach, but one
 concern is that adding a loop in measure may affect performance.
As it based on label function/format strings and font I'm not sure a cache 
would help that much ie different DateFields could use different date formats 
strings or label functions.

I'd rather check there is a performance issue before looking into with any 
possible optimisation.

 FWIW, another approach would be a typicalDate property so folks can
 offer up the pattern that will reserve enough space for them
They would need to pass the widest date not the typical one and that may be 
hard to know up front and would vary based on the locale.

There may also be date formats/font combinations that my method of picking the 
28th of each month may pick up the widest but I'd guess they are rare and it's 
better than either the current method (which is always wrong for anything other 
than straight digits) or going though all dates in existence.

Thanks,
Justin

Re: Nightly build Jenkins issue

2013-06-18 Thread OmPrakash Muppirala
In my experience this error does not affect anything else.  I would just
ignore it.

Thanks,
Om
On Jun 18, 2013 6:59 AM, Justin Mclean jus...@classsoftware.com wrote:

 Hi,

  Maybe you can try to click advance set the name “develop” and the refs
 to “refs/heads/develop”

 It already switches to the develop branch after that - so don't think
 that's the issue.

 Thanks,
 Justin


Re: downloading nightly Apache Flex build from Jenkins

2013-06-18 Thread OmPrakash Muppirala
We have a new version of the Installer coming up soon that supports nightly
builds.  I will be posting details about it soon.

Thanks,
Om
On Jun 18, 2013 7:00 AM, Maurice Amsellem maurice.amsel...@systar.com
wrote:

 Hi,

 I would like to download the latest nightly build of flex sdk (#100) from
 Jenkins

 I downloaded workspace all files in a zip file   from
 https://builds.apache.org/job/flex-sdk/ws/

 Is that the correct procedure ?

 Thanks

 Maurice



Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-24257 Fixed measured width of date field as it may vary month by month based on format.

2013-06-18 Thread Justin Mclean
Hi,

Re performance point of view I don't see there's an issue, measure take some 
time but it not significant.

With a test of a mx  datagrid with a 1000 rows and 10 columns of DateFields, 
displaying full screen and running through advanced telemetry and looking at 
the results in Scout.

On startup DateField.measure takes up less than 1% of the total time (44ms of a 
total of 5,374ms), scrolling and interacting with the DG it's even less (25ms 
of 5455ms total).

Methods like CreateUID, get name, get compatibilityVersion, getStyle, 
Date.getMonth or String.isWhitespace take more time than the new 
DateField.measure.

Thanks,
Justin

Re: downloading nightly Apache Flex build from Jenkins

2013-06-18 Thread Nick Collins
Soo where is nexus.apache.org for us to deploy our artifacts to? I have
to think there is a way we can deploy our artifacts to a free-to-access but
semi-private nexus repository for Maven/Gradle use. Even if there was a
registration process to gain access to it where you then had to put a
generated auth key into your build.username.properties or something to that
effect.


On Tue, Jun 18, 2013 at 9:17 AM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

 We have a new version of the Installer coming up soon that supports nightly
 builds.  I will be posting details about it soon.

 Thanks,
 Om
 On Jun 18, 2013 7:00 AM, Maurice Amsellem maurice.amsel...@systar.com
 wrote:

  Hi,
 
  I would like to download the latest nightly build of flex sdk (#100) from
  Jenkins
 
  I downloaded workspace all files in a zip file   from
  https://builds.apache.org/job/flex-sdk/ws/
 
  Is that the correct procedure ?
 
  Thanks
 
  Maurice
 



Re: git commit: [flex-sdk] [refs/heads/develop] - FLEX-24257 Fixed measured width of date field as it may vary month by month based on format.

2013-06-18 Thread Alex Harui


On 6/18/13 7:48 AM, Justin Mclean jus...@classsoftware.com wrote:

Hi,

Re performance point of view I don't see there's an issue, measure take
some time but it not significant.

With a test of a mx  datagrid with a 1000 rows and 10 columns of
DateFields, displaying full screen and running through advanced telemetry
and looking at the results in Scout.

On startup DateField.measure takes up less than 1% of the total time
(44ms of a total of 5,374ms), scrolling and interacting with the DG it's
even less (25ms of 5455ms total).

Methods like CreateUID, get name, get compatibilityVersion, getStyle,
Date.getMonth or String.isWhitespace take more time than the new
DateField.measure.
OK, thanks for double checking.
-Alex



RE: downloading nightly Apache Flex build from Jenkins

2013-06-18 Thread Maurice Amsellem
That's cool!  

Looking forward to your post.

Maurice 

-Message d'origine-
De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash 
Muppirala
Envoyé : mardi 18 juin 2013 16:17
À : us...@flex.apache.org; dev@flex.apache.org
Objet : Re: downloading nightly Apache Flex build from Jenkins

We have a new version of the Installer coming up soon that supports nightly 
builds.  I will be posting details about it soon.

Thanks,
Om
On Jun 18, 2013 7:00 AM, Maurice Amsellem maurice.amsel...@systar.com
wrote:

 Hi,

 I would like to download the latest nightly build of flex sdk (#100) 
 from Jenkins

 I downloaded workspace all files in a zip file   from
 https://builds.apache.org/job/flex-sdk/ws/

 Is that the correct procedure ?

 Thanks

 Maurice



Re: downloading nightly Apache Flex build from Jenkins

2013-06-18 Thread Frédéric THOMAS

Nick,

There is a https://repository.apache.org/ but we can't use it as some of the 
artifacts used in a mavenized SDK have a license to validate before to be 
able to download it.
So, at the moment, instead, use can mavenized yourself the SDK using the 
Apache Flex SDK Mavenizer [1] and deploy it with the SDK Deployer to your 
own repository.


-Fred

[1] http://flex.apache.org/download-utilities.html

-Message d'origine- 
From: Nick Collins

Sent: Tuesday, June 18, 2013 6:04 PM
To: dev@flex.apache.org
Cc: us...@flex.apache.org
Subject: Re: downloading nightly Apache Flex build from Jenkins

Soo where is nexus.apache.org for us to deploy our artifacts to? I have
to think there is a way we can deploy our artifacts to a free-to-access but
semi-private nexus repository for Maven/Gradle use. Even if there was a
registration process to gain access to it where you then had to put a
generated auth key into your build.username.properties or something to that
effect.


On Tue, Jun 18, 2013 at 9:17 AM, OmPrakash Muppirala
bigosma...@gmail.comwrote:

We have a new version of the Installer coming up soon that supports 
nightly

builds.  I will be posting details about it soon.

Thanks,
Om
On Jun 18, 2013 7:00 AM, Maurice Amsellem maurice.amsel...@systar.com
wrote:

 Hi,

 I would like to download the latest nightly build of flex sdk (#100) 
 from

 Jenkins

 I downloaded workspace all files in a zip file   from
 https://builds.apache.org/job/flex-sdk/ws/

 Is that the correct procedure ?

 Thanks

 Maurice






Re: FlexUnit

2013-06-18 Thread Nicholas Kwiatkowski
I'd like to work with you to make sure the web content is migrated to our
site. Otherwise, thanks for the help and the code!
On Jun 12, 2013 11:20 AM, Michael A. Labriola 
labri...@digitalprimates.net wrote:

 As code is here now, etc. I am going to begin taking the external build
 server down. Eventually the website should also be downed and all traffic
 redirect here.

 Any issues or concerns?
 Mike


 digital primates (r)

 Michael Labriola
 labri...@digitalprimates.netmailto:labri...@digitalprimates.net

 tel:  +1.773.693.7800 x206
 fax: +1.773.409.9251



FW: IMPORTANT: Major Confluence Upgrade Coming Soon. Please review test instance now.

2013-06-18 Thread Alex Harui
FYI

On 6/18/13 4:56 AM, gmcdonald gmcdon...@apache.org wrote:

[PMCs please forward to your dev list ; Incubator Mentors please forward
to
your Podling dev list.
 Note that this message may be received twice as it will also go to
committers@ list.]


Hi All,

If your project has a Confluence Wiki then this is an IMPORTANT
announcement
for you and your project. Please read this email carefully.

NOTICE: The ASF Confluence instance is planned to be upgraded this
Saturday
22nd June 2013. Judging by the time taken to upgrade the test instance,
please expect the service to be in a down or read only state for the
entire
day.

This email is to let you know that a test upgrade has already occurred and
is live for you to play with now. This gives us all an opportunity to test
for stability as well as any upgrade/plugin issues that might have
happened
along the way.

Our current confluence wiki is at version 3.4.9 from way back in February
2011 and Atlassian have released a further 45 updates along the way,
including another 2 major versions.
The test instance has been upgraded several times along the way, with
database surgery, operating system and server changes along the way.

There have been casualties. Most notably is the Autoexport Plugin has had
to
be disabled permanently as during extensive testing, this plugin stopped
working on version 4.3. Templates and Macros are also affected with major
changes from wiki markup to xhtml amongst other things. Some plugins
survived with upgrades all the way whilst some have been
decommissioned/replaced or have changed to 'paid for' versions that we
need
to sort out licensing for. Nothing major that I can tell, but that's where
you lot come in with your testing of your own spaces.

Please familiarise yourself with what's new in Confluence 5.1 at
https://confluence.atlassian.com/display/DOC/Confluence+5.1+Release+Notes
and also take a good look around our upgraded test instance. Do not worry
about mucking anything up on the test instance as that is what it is there
for. Any changes/additions made will be lost on Saturday when a new
migration will take place. The current confluence version will remain
online
in a read only state until the new version is completed.

A jira ticket has been raised at
https://issues.apache.org/jira/browse/INFRA-6406 where projects can add
comments on any issues they are having with the test instance as compared
to
their old site. Just problems only please, do not turn it into a how to
use
confluence 5 thread. In addition, if there are any features that you
currently use that do not work in the test instance, please replicate the
feature in the current production TEST space so that I can test them all
in
the one place along the way. (Ask if you need create page permissions to
cwiki.apache.org/confluence/display/TEST )

It may be possible in the future to replace Autoexport by playing around
with the API to export the pages but this is not a priority, nor is it
supported. We warned projects long ago that the Autoexport Tool would be
incompatible with future Confluence versions and that time has now come.

Ok so, please test and report to the Jira Issue mentioned anything amiss
with your space. Go to https://cwiki2.apache.org/confluence and have a
play
around. You have 3 DAYS to report anything you find.

Thanks

Gavin (ASF Infra)



-
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org




Build failed in Jenkins: flex-sdk_mustella #176

2013-06-18 Thread flex . mustella
See http://localhost:8080/job/flex-sdk_mustella/176/changes

Changes:

[jmclean] FLEX-24257 Fixed measured width of date field as it may vary month by 
month based on format.

[jmclean] Change out of range month should only be in range 0 -11

--
[...truncated 82919 lines...]
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\itemRenderers\Spark\List\SWFs\List_itemRendererTests_spark.swf
 (1385028 bytes)
 [java] Choosing local runner bitmap save
 [java] okey doke, going to compile 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\resources\ResourceManager\SWFs\ResourceManagerApp.mxml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 (5765684 bytes)
 [java] Choosing local runner bitmap save
 [java] okey doke, going to compile 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.mxml
 [java] Loading configuration file 
C:\jenkins_slave\workspace\flex-sdk_mustella\frameworks\flex-config.xml
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\resources\ResourceManager\SWFs\ResourceManagerApp.swf
 (733355 bytes)
 [java] nothing left to do
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.mxml(181):
 Warning: The CSS type selector 'spark.components.CheckBox' was not processed, 
because the type was not used in the application.
 [java] 
 [java] s|CheckBox{
 [java] 
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\gumbo\components\Application\SWFs\Application_Properties_App1.swf
 (1491248 bytes)
 [java] All done with the compile
 [java] leaving the compile, elapsed: 50
 [java] ...via exit
 [echo] compileswfs jreturn is 0
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

do_fail:

compileswfs:

getExcludes:

getExcludeIds:

populateExcludeTable:
 [echo] populate exclude, got this for db time: 2013/06/18 16:00:53

justrun:
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/Library/Caches/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: /Users/ApacheFlex/AppData/Roaming/Adobe/Flash 
Player/AssetCache
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache\PNR3PQEF
   [delete] Deleting directory C:\Users\ApacheFlex\AppData\Roaming\Adobe\Flash 
Player\AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

delete_cache:
 [echo] delete cache: C:\Users\ApacheFlex/Application Data/Adobe/Flash 
Player/AssetCache
 [loadfile] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\local.properties doesn't 
exist

android_runner:

ios_runner:

qnx_runner:

desktop_runner:
 [echo]  Willkommen auf Runner 
 [java] starting results server
 [java] starting baseline server
 [java] test script count: 6
 [java] new test file: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java]  cmdArr before: 
 [java] C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java]  moreParameters before: 
 [java]  cmdArr after: 
 [java] C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe
 [java] 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java] getting directory from the swf file
 [java] derived directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs
 [java] Launching: 
 [java]  C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 Launching: C:\Program Files 
(x86)\flashplayer11_1r102_55_win_sa_debug_32bit.exe 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs\LangPackApp.swf
 [java] USING directory: 
C:\jenkins_slave\workspace\flex-sdk_mustella\mustella\tests\LangPacks\Japanese\SWFs
 [java] starting 

Re: downloading nightly Apache Flex build from Jenkins

2013-06-18 Thread Nick Collins
Yeah, I did that and deployed it to my local nexus repository, but have
been having trouble getting it to resolve from there rather than going to
sonatype and of course failing. Just haven't had the time to put into
troubleshooting it.


On Tue, Jun 18, 2013 at 11:21 AM, Frédéric THOMAS
webdoubl...@hotmail.comwrote:

 Nick,

 There is a https://repository.apache.org/ but we can't use it as some of
 the artifacts used in a mavenized SDK have a license to validate before to
 be able to download it.
 So, at the moment, instead, use can mavenized yourself the SDK using the
 Apache Flex SDK Mavenizer [1] and deploy it with the SDK Deployer to your
 own repository.

 -Fred

 [1] 
 http://flex.apache.org/**download-utilities.htmlhttp://flex.apache.org/download-utilities.html

 -Message d'origine- From: Nick Collins
 Sent: Tuesday, June 18, 2013 6:04 PM
 To: dev@flex.apache.org
 Cc: us...@flex.apache.org
 Subject: Re: downloading nightly Apache Flex build from Jenkins


 Soo where is nexus.apache.org for us to deploy our artifacts to? I
 have
 to think there is a way we can deploy our artifacts to a free-to-access but
 semi-private nexus repository for Maven/Gradle use. Even if there was a
 registration process to gain access to it where you then had to put a
 generated auth key into your build.username.properties or something to that
 effect.


 On Tue, Jun 18, 2013 at 9:17 AM, OmPrakash Muppirala
 bigosma...@gmail.comwrote:

  We have a new version of the Installer coming up soon that supports
 nightly
 builds.  I will be posting details about it soon.

 Thanks,
 Om
 On Jun 18, 2013 7:00 AM, Maurice Amsellem maurice.amsel...@systar.com
 wrote:

  Hi,
 
  I would like to download the latest nightly build of flex sdk (#100) 
 from
  Jenkins
 
  I downloaded workspace all files in a zip file   from
  https://builds.apache.org/job/**flex-sdk/ws/https://builds.apache.org/job/flex-sdk/ws/
 
  Is that the correct procedure ?
 
  Thanks
 
  Maurice
 





Request change to Flex Notification scheme

2013-06-18 Thread Alex Harui
Hi,

Infra has created a new mailing list called issues@flex.a.o for JIRA email 
notifications for the Apache Flex project.  Can you update our notification 
scheme accordingly?  Is it possible to have replies go to dev@flex.a.o?

Thanks,
-Alex


Re: Request change to Flex Notification scheme

2013-06-18 Thread Dave Fisher
Alex,

Infra requested another JIRA ticket. A different person handles email from JIRA.

Regards,
Dave

On Jun 18, 2013, at 3:37 PM, Alex Harui wrote:

 Hi,
 
 Infra has created a new mailing list called issues@flex.a.o for JIRA email 
 notifications for the Apache Flex project.  Can you update our notification 
 scheme accordingly?  Is it possible to have replies go to dev@flex.a.o?
 
 Thanks,
 -Alex



Re: Request change to Flex Notification scheme

2013-06-18 Thread Alex Harui


On 6/18/13 3:46 PM, Dave Fisher dave2w...@comcast.net wrote:

Alex,

Infra requested another JIRA ticket. A different person handles email
from JIRA.
OK thanks.  Created https://issues.apache.org/jira/browse/INFRA-6410.

Regards,
Dave

On Jun 18, 2013, at 3:37 PM, Alex Harui wrote:

 Hi,
 
 Infra has created a new mailing list called issues@flex.a.o for JIRA
email notifications for the Apache Flex project.  Can you update our
notification scheme accordingly?  Is it possible to have replies go to
dev@flex.a.o?
 
 Thanks,
 -Alex




Skinning FlexJS

2013-06-18 Thread OmPrakash Muppirala

  What kind of beautification are you taking about?
  I'm don't think it looks as good as Spark or MX right now.  Colors,
  styles, spacing might make it look more like it is worth trying to use
  this stuff.
 
 Perhaps the designers in this list could help us design the next gen
 default look and feel for Flex?  Any takers?
 Thanks,
 Om


Designers in the list,

How about we try to put together a new visual look and feel for FlexJS?

I am thinking that we can use the traditional approach of creating assets
in AI or Fireworks and export them to formats we want.  This will also give
me a chance to figure out the various approaches and tooling requirements.

We have a lot of different options to do this, CSS3, FXG/MXML, SVG, etc.
 To get an idea of the first set of components we want skinned, here are
the links to some samples Alex had put out a while ago [1,2]

P.S.  Erick, you had pinged me on Twitter about wanting to help.  I hope
you are in this list now :-)

[1] http://people.apache.org/~aharui/FlexJS/
[2] http://people.apache.org/~aharui/FlexJS/StatesTest/


[jira] [Created] (FLEX-33590) Adding a preventSelection feature to spark components inheriting listbase

2013-06-18 Thread Mark Kessler (JIRA)
Mark Kessler created FLEX-33590:
---

 Summary: Adding a preventSelection feature to spark components 
inheriting listbase 
 Key: FLEX-33590
 URL: https://issues.apache.org/jira/browse/FLEX-33590
 Project: Apache Flex
  Issue Type: New Feature
  Components: Spark: ButtonBar, Spark: List, Spark: TabBar
Affects Versions: Adobe Flex SDK Next
Reporter: Mark Kessler
Assignee: Mark Kessler
Priority: Minor


Adding a small convenience feature to the ButtonBar/TabBar spark components 
that prevents the selection of the buttons (preventing toggling).

SDK builds successfully.
Passed checkintests.
Passed Mustella:
-components/ButtonBar
-components/List
-components/TabBar

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[Example] preventSelection buttonbar/tabbar

2013-06-18 Thread Mark Kessler
Adding a minor convenience feature to prevent the selection (and toggling)
of buttons in the buttonbar/tabbar spark components.  Essentially creating
momentary buttons, but with the convenience of the buttonbar/tabbar.

Simple example showing the functionality [1].  Has right click with view
source.
Diffs for the one file that was changed [2].


[1] http://people.apache.org/~mkessler/examples/FLEX-33590/app.swf
[2]
https://github.com/KesslerConsulting/example/commit/d8ed4530abdab192ed28732baa481b61dbe70a08




-Mark


[jira] [Created] (FLEX-33591) How to add comma separated numbers in the address field of message

2013-06-18 Thread Saju Thankathurai (JIRA)
Saju Thankathurai created FLEX-33591:


 Summary: How to add comma separated numbers in the address field 
of message
 Key: FLEX-33591
 URL: https://issues.apache.org/jira/browse/FLEX-33591
 Project: Apache Flex
  Issue Type: Bug
  Components: .Unspecified - Mobile
Affects Versions: Adobe Flex SDK 4.6 (Release)
 Environment: Mobile
Reporter: Saju Thankathurai


I have developed a Flex mobile application using Flex 4.6 sdk. Its a Contact 
manager application. I have given additional functionality to the Employee 
contact manager sample app of Adobe.

I am facing an issue while sending a group message.

I have a xml file to store user data. Later i use sqlite db to read and store 
the xml data into the dataBase.

I have a requirement, If we click on a menu item, Message box should be opened 
and all the mobile numbers should be populated in the TO address.

So i have a menuItem

s:viewMenuItems
s:ViewMenuItem id=grpeMsgMenu label=Group Msg 
click=grpeMsgMenu_clickHandler(event)/
/s:viewMenuItems

On click of this,,

public function grpeMsgMenu_clickHandler():void
{

var groupSmsString:String = ;
// TODO Auto-generated method stub
var phoneCollection:ArrayCollection = new 
ArrayCollection();
phoneCollection = 
srv.populatePhoneNumbersForGroupMsg(group);

if(phoneCollection != null)
{
for(var i:int = 0 ; i  phoneCollection.length 
; i++)
{
if(i == 
phoneCollection.length-1)//means last record is going to insert, So dont append 
comma
{
groupSmsString += 
phoneCollection[i];   
}
else
{
groupSmsString += 
phoneCollection[i] + ,; 
}
}   
}else
{
//Phone arrayCollection is null.
groupSmsString = ;
}
if(groupSmsString != )
navigateToURL(new 
URLRequest(sms:+encodeURIComponent(groupSmsString)));

trace(groupSmsString);
}

Where srv is the DAO class, It calls the method, Executes the query and returns 
all the phone numbers from the .db file.

Finally the groupSmsString holds the value as 
[+919223454345,+919565678876,+9192233223344,+9191] and so on

So i have comma separated values to be passed to the TO field of SMS.

The problem is in the TO field of message, the groupSmsString is not coming as 
comma separated, rather it is coming as 
+919223454345+919565678876+9192233223344+9191

This problem is observed in LG Optimus mobile. But strangely it is working fine 
in Sony Xperia. 

I spent many times in tracing the issue, by 
1.replacing encodeURIComponent with encodeURI,
2.without using  encodeURIComponent and encodeURI
3.passing %2c instead of comma..

But could not succeed.

I feel it could be a bug, So posting in Jira.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Wind

2013-06-18 Thread Shigeru Nakagaki (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shigeru Nakagaki updated FLEX-29002:


Attachment: ScreenReaderOnAccessibleOffTest.zip

1. Turn on the Microsoft Narrator from control panel on Windows 7
2. Execute the attached ScreenReaderOnAccessibleOffTest.mxml
3. click show PopUp button
4. click show alert button
5. click OK button
then, you will get a following exception

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.managers::PopUpManagerImpl/handleAccessibilityForNestedPopups()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1541]
at 
mx.managers::PopUpManagerImpl/removeModalPopUpAccessibility()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1482]
at 
mx.managers::PopUpManagerImpl/popupRemovedHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:1230]
at flash.display::DisplayObjectContainer/removeChild()
at 
mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::rawChildren_removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:2152]
at 
mx.managers::SystemManager/removeChild()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/SystemManager.as:1795]
at 
mx.managers::PopUpManagerImpl/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as:641]
at 
mx.managers::PopUpManager$/removePopUp()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/PopUpManager.as:238]
at 
mx.controls.alertClasses::AlertForm/removeAlert()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as:532]
at 
mx.controls.alertClasses::AlertForm/clickHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/mx/src/mx/controls/alertClasses/AlertForm.as:571]


On Windows 8 note PC, The Capabilities.hasAccessibility  Accessibility.active 
are both true even if Microsoft Narrator is OFF. I do not know why.

The AIR runtime is 3.5.0.1060 on my test environment.

thanks

 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0

 Attachments: ScreenReaderOnAccessibleOffTest.zip


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FLEX-29002) RunTime Error #1009 at mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying more than one modal popup via PopUpManager on top of each other. On Wi

2013-06-18 Thread Shigeru Nakagaki (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-29002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13687563#comment-13687563
 ] 

Shigeru Nakagaki commented on FLEX-29002:
-

Please do not forget to set accessible = false on compiler setting.
(My attached project includes it in .actionScriptProperties)

 RunTime Error #1009 at 
 mx.managers::PopUpManagerImpl/addModalPopUpAccessibility() when displaying 
 more than one modal popup via PopUpManager on top of each other. On Windows 7 
 running on some PCs
 ---

 Key: FLEX-29002
 URL: https://issues.apache.org/jira/browse/FLEX-29002
 Project: Apache Flex
  Issue Type: Bug
  Components: PopUp Manager
Affects Versions: Adobe Flex SDK Previous
 Environment: Affected OS(s): Windows
 Affected OS(s): Windows 7
 Language Found: English
Reporter: Adobe JIRA
 Fix For: Adobe Flex SDK Next, Apache Flex 4.10.0

 Attachments: ScreenReaderOnAccessibleOffTest.zip


 Steps to reproduce:
 1. in the AIR application, create modal popup via popupmanager - ok.
 2. on the popup, create another modal popup via popupmanager (so we have two 
 modal popups one on top of the other) - RT error #1009.
 3. close top popup, due to RT error #1009 modal shade stays on stage and 
 keeps blocking the application.
  
  Actual Results:
  Popupmanager closes modal titlewindow, but the modal shade stays on display 
 due to RunTime error #1009 and so application becomes non-operable.
  
  Expected Results:
  Popupmanager should close the modal titlewindow along with the modal shade 
 as it does if only one modal popup was invoked.
  
  Workaround (if any): 
  On Windows7 Control Panel, disable some stuff in control panel (Attachments) 
 and reboot OS. Trully, this works.
  
  Note:
  This happens only on Windows 7 OS running on some All-In-One PCs (eg.: MSI 
 AE2050). Bug is connected with the accessibility OS provides, so we can fix 
 the issue by configuring some OS parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira