So, we have seen this too.  The first manifestation was what you saw,
and we solved that one by just putting focus on the first component (or
the Window) after the "open" call of the dialog.  But, the second
instance of the problem was when we tried to open some dialogs in a
second host window.  That one we had to work around by disabling the
transition animations of the menus.  Something in the event handling of
the animation timer was stealing focus from the secondary host window.
Haven't had time yet to figure that one out.  But, subclassing the menu
and disabling the transition was a reasonable workaround for us.

~Roger

-----Original Message-----
From: Sandro Martini [mailto:[email protected]] 
Sent: Thursday, August 23, 2012 8:38 AM
To: [email protected]
Subject: Re: Dialog opened from menu loses focus

Hi all,
yes probably the best solution for now is what suggested by Josh,
because focus management (and focus inside components) is a complex part
inside Pivot.

For mid/long term we could think on how to solve the problem, but for
2.1 .


Note:
I still have to ask to Thomas (the author of blockingdialog etc features
under pivot-contrib) if he is interested to become a Pivot Committer,
and then maybe move that part in core Pivot (maybe for 2.1) ...


Bye,
Sandro

Reply via email to