I have found an interesting bug and please if you told me it wasn't I would be ecstatic. Through about 4 hours of testing something I had no idea what was going on, I think I widled the stick down.
Example:
Say you create 2 draggable containers, one on the left side and one on the right side with say a Canvas in the middle. For this bug to show, you have to have these containers in the Application container.
It seems as though when DragProxy is calling the topLevelSystemManager which is obviously the Application's systemManager in this case, when the containers extend outside of the Application's vertical boundary create v scrollbars the method does not return the correct list(just mouseCatcher).
So, when the root application had drag containers in it, and it is scrolled, the method only picks up the client container relative to the scroll position(in the bounds of the original screen coords).
This doesn't make sense to me because doesn't the root system manager stay in place when the Application is scrolling? Now, If I wrap the dnd containers in a VBox(container) the problem goes away but, That means that I have to 'force' the VBox's scrollbars instead of using the application's.
Really, this makes the DragProxy class useless for me as it stands because it is not an option telling clients they have to go out of their way.
I am experimenting with a different technique for my dnd. I would love to hear from adobe on the 'principle' of the topLevelSystemManager and why scrolling the application would mess up the getObjectsUnderPoint() of the topLevelSystemManager.
Peace, Mike
--
What goes up, does come down. __._,_.___
SPONSORED LINKS
| Software development tool | Application development software | Development software |
| Development outsourcing software | Embedded software development |
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
