rafalszemraj / fabrication

Automatically exported from code.google.com/p/fabrication
2 stars 1 forks source link

Fabrication Breaks FocusManager #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. setup a simple project that adds a new skinnablecontainer with components.
2. after added to stage, or via a button click, add the new manager:
use component or (this) if you are inside the component

component.focusManager = new FocusManager(component,true); 
component.focusManager.activate();

this will create a focusmanager limited to this tab loop, that´s is the 
intention... the true argument is the popup, so it dont go out of browser, 
maybe browsermode false works too, but its irrelevant for the bug test.

run it... it will crash when you click the mouse on any place of your window. 
but the focus will work ok.

3. finally, switch instead using flexmediator (fabrication), use only mediator 
(puremvc)... it will not crash.

What is the expected output? What do you see instead?
Is expected no crash... i see a crash of systemmanager "is not child error", 
unfortunately i will wait fabrication gets fixed before i use focus... and im 
finishing a work really late... if fabrication doesnt get fixed, i will must 
use an unelegant solution, that will be specify for each window, the first and 
the last component of the cycle and manage it manually... ugly.

What version of the product are you using? On what operating system?
latest fabrication, with latest sdk 4.5.19xxx, but also with previous 4.5, 
windows7 x86.

Please provide any additional information below.
Maybe can you test against 4.0 or 4.1 i can´t remember past sdks... i don´t 
have it anymore installed, im using burrito...

Original issue reported on code.google.com by atendime...@gmail.com on 2 Mar 2011 at 5:37

GoogleCodeExporter commented 9 years ago
I´m confused with focusmanager, and i can´t remember my code that i´ve 
simulated to check the exact difference of behaviour, using fabrication or not.

Original comment by atendime...@gmail.com on 16 Apr 2011 at 6:43

GoogleCodeExporter commented 9 years ago
Please close this issue. I just can´t remember what the difference was caused 
by fabrication, but maybe it´s just a collateral effect of doing wrong way.

Original comment by atendime...@gmail.com on 18 Apr 2011 at 5:42

GoogleCodeExporter commented 9 years ago

Original comment by rafael.s...@gmail.com on 22 Jun 2011 at 10:14