Hi Oliver, welcome to Pivot.

> I have been running into problems with transitions in Pivot. Admittedly, I 
> have been using Pivot in a few ways that probably aren’t particularly common…
yes (I think), because you are the first to report this kind of problems ...

> Before I raise a JIRA issue, I wondered if anybody has any tips / information 
> they could give me:
right, thanks

> I have been trying to get functionality implemented whereby dialogs can be 
> dragged outside of the main Pivot window. I am hosting the Pivot dialog in an 
> AWT dialog. My code was based on the Pivot Contrib library: 
> http://code.google.com/a/apache-extras.org/p/pivot-contrib/
maybe even thomas guretzki (the author of current implementation
there) could give some help on this ...

> I have the functionality working reasonably well, but have had to address a 
> number of bugs that are caused by the Pivot transition implementation. I have 
> had to implement my own skin classes to override certain methods to disable 
> transition animations as they caused problems. For example:
>
> Sometimes  transitions steals focus. If a dialog is opened in a context menu 
> action, the fade effect for the context menu can steal the focus from the 
> newly opened dialog.
>
> Sometimes transitions prevent redraw. Rollup animations can interfere with 
> the redrawing of the dialog that is hosted in a java.awt.Dialog.
>
> Is there any scope for improvements with the Pivot implementation of 
> transitions? Am I hitting bugs, or am I just using Pivot in an unsupported 
> fashion? Why are transitions stealing focus / preventing redawing?
Could be all of these ... first I'd try in the usual way, and then in your way.
Some time ago i found some problems with Transitions during Print
(inside Applets) ... and it's a thing that I'd like to resolve in 2.1,
for example adding the ability in the skin to disable transitions.

Note that 2.0.x now is in bug-fix only but if we find something (with
a low impact on existing code) to fix we can do even there.


> I could put together some test cases, although due to the library code they 
> will be quite large and not very succinct.
Test cases are always useful :-) .
You could make them smaller (as much as you can) and then attach to a
JIRA issue (remember to flag the Grant for usage in ASF work) during
upload ...
Then (if you want), I could add committers right to you on
pivot-contrib, so you could write directly there (but in a new
subproject, I could create one empty there if needed, or you can do it
no problem) ... if you want, give me (via private email) your Google
account name ...

Thanks for now.

Bye,
Sandro

Reply via email to