flex-users / flexlib

Open Source Flex components library.
github.com/flex-users/flexlib
MIT License
204 stars 91 forks source link

Flex upgrades hang the browser #347

Closed nicoulaj closed 12 years ago

nicoulaj commented 13 years ago

Originally filed by teresa...@pb.com on 2011-02-14T19:42:44

Our product used work fine with Flex 3.2. After we upgrade to Flex 4.0, there is a popup menu, in the popup menu, there is a More menu item to show more options, when I click on the More button, the browser hangs, and later on an Exception will be displayed by IE.

This issue is very urgent to us, please let us know how can we fix this issue.

The exception is as below

Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at flash.events::EventDispatcher/dispatchEvent() at mx.core::UITextField/validateNow()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UITextField.as:2194] at mx.core::UITextField/get measuredWidth()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UITextField.as:1360] at mx.controls.menuClasses::MenuItemRenderer/measure()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\menuClasses\MenuItemRenderer.as:583] at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8216] at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8140] at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:889] at mx.controls::List/http://www.adobe.com/2006/flex/mx/internal::setupRendererFromData()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\List.as:1706] at mx.controls::Menu/measureWidthOfItems()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Menu.as:1322] at mx.controls::List/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\List.as:906] at mx.controls::Menu/commitProperties()[E:\dev\4.x\frameworks\projects\framework\src\mx\controls\Menu.as:1244] at controls::ScrollableMenu/measure()[C:\e1DevEnv\svn\EngageOne13\AdminUI\src\controls\ScrollableMenu.as:124] at mx.core::UIComponent/measureSizes()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8216] at mx.core::UIComponent/validateSize()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:8140] at mx.managers::LayoutManager/validateClient()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\LayoutManager.as:889] at mx.managers::PopUpManagerImpl/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManagerImpl.as:384] at mx.managers::PopUpManager$/addPopUp()[E:\dev\4.x\frameworks\projects\framework\src\mx\managers\PopUpManager.as:193] at controls::WindowManager$/addPopUp()[C:\e1DevEnv\svn\EngageOne13\AdminUI\src\controls\WindowManager.as:26] at controls::VariableTextInput/moreMenuItemSelected()[C:\e1DevEnv\svn\EngageOne13\AdminUI\src\controls\VariableTextInput.as:96]

Not sure if it is related to mx.managers.PopUpManager.addPopUp or it is related to mx.controls.menu, I passed menu as parameter for addPopUP.

Appreciate your reply.

nicoulaj commented 13 years ago

Updated by n...@liquidlabs.co.uk on 2011-03-31T08:57:37

Hi, We were also suffering the same problem - we were using flexlib-2.4 - updating to flexlib-2.5 and the problem went away. Ive no idea why! Cheers N.

nicoulaj commented 12 years ago

Closing (obsolete)