Hello All,
  I have a pretty complex issue going on where the Mouse.ROLL_OUT
event isn't always being fired when leaving a PopupWindow.  I've
searched around the net and haven't really found any writings on it. 
  It's fairly easy to duplicate, and I've created a very simple
project to demonstrate the issue.
  
Here's the main Flex app code, the test application can be seen at
(source code enabled):
http://www.simplifiedchaos.com/bug/TestPopupBug.html

To get the popup window to stick, just start swiping the mouse across
the three column headers that read "Column1".  Another way to make it
stick is just swipe the mouse vertically across the column header, and
after a several tries, you'll see a stuck popup.  If you load the
source code on your machine and watch the  trace statements, you'll
see that when the popup sticks that "onWindowRollout" is never called
even though the mouse left the window.   

I'm always open for implementing the functionality another way, which is:
1) There's a column header that when the mouse rolls over it displays
a popupmenu.
2) The popup menu can be wider than the column, so the need to use
PopupWindow and not a technique that uses another control inside the
same column VBox or HBox that is just invisible.
3) The popupwindow should stay visible until the user leaves the popup
window AND the label area that displays it.

I'm hoping there was a really simple way to implement this that I
overlooked.

Thanks for those who can look at this.

Reply via email to