History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-11989
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Fix
Priority: C C
Assignee: Joan Lafferty
Reporter: Ciarán Rowe
Votes: 0
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
Flex SDK

After interacting with a Flash 8 SWF from within a Flex SWF, the FocusManager no longer handles component focus correctly, sometimes throwing errors.

Created: 07/30/07 02:44 PM   Updated: 04/04/08 03:25 PM
Component/s: Focus Manager
Security Level: Public (All JIRA Users )

File Attachments: 1. Zip Archive POC.zip (74 kb)

Issue Links:
Relationship
 
This issue is related to by:
SDK-13308 TextField in AVM1 Movie loaded via SW... C Closed

Severity: Runtime Error
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex2.0.1 - HotFix 1 (Released)
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1. Interact with the Flash 8 SWF, click the button etc.
2. Try using the Combo Box
 
 Actual Results:
 Combo Box, PopUpMenuButton, and very likely other components cease to function correctly.
 
 Expected Results:
 All components should function prior to interacting with the Flash 8 SWF
 
 Workaround (if any):
 None found.
 
 Updated 2007-07-31: See comment for workaround
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Joann Chuang
Resolved by: Lauren Park
Participants: Ciarán Rowe, Joan Lafferty, Peter deHaan and William Chadwick
Browser: Firefox 2.x
JDK: Sun 1.5.x


 All   Comments      Sort Order:
Ciarán Rowe - [07/30/07 02:54 PM ]
typo: All components should function *as* prior to interacting with the Flash 8 SWF

Kind Regards,
Ciarán

Peter deHaan - [07/30/07 04:12 PM ]
This is a bit odd as the ComboBox still sort of works after interacting with the Flash 8/ActionScript 2.0 content. If i click the Button component in the Flash content, and then on the Flex ComboBox control's label, the popup menu displays quickly and then disappears. However, if I click on the ComboBox control's down arrow, the combo box functions as expected.

If I add a Flex TextArea and/or TextInput control, focus is immediately lost as soon as you click on those controls and attempt to type any characters (assuming you've clicked within the Flash SWF first -- if you dont focus on the Flash SWF they work as expected). It seems like after the Flash SWF receives focus, it hijacks the focus management and always tries to keep focus on the Flash SWF instead of giving it back to Flex.

Ciarán Rowe - [07/31/07 04:13 AM ]
Another thing - when connected to a debugger, if you let the Flash 8 "hijack" the FocusManager, then go mad on the ComboBox (try and change item selection quickly with the mouse), the whole thing balks with a torrent of RTEs.

I didn't get the behaviour where the ComboBox arrow functions correctly after a focus switch, for me the whole thing does the same (quickly disappears after rendering as if focus has gone somewhere else).


Ciarán Rowe - [07/31/07 10:25 AM ]
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003656.html

The comment in the livedoc above seems to be a sufficient workaround for the problem. It does however, kill the tabbing by completely disabling the FocusManager.

William Chadwick - [04/04/08 03:25 PM ]
I REALLY need this focus issue fixed. I cannot imagine how Adobe can ignore this. If we cannot move to Flash 9/AS3 incrementally, many of us will never be able to go there. My company will not condone re-writing everything all at once. An incremental approach, however, would be allowed.