[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Edje transitions

I think this behavior exists mostly because its the easiest / cleanest to 
implement. I know I've used embryo animators in the past to avoid this on 
things with simple transitions, but I also would like to see edje transition 
from the current state whatever that is.

We could probably just modify the transitions to make a copy of the current 
state when a transition starts. They would then use those values as the start 
values for the transition (e.g. modify the call to 
_edje_part_description_apply() on line ~480 of edje_program.c to use the true 
current description instead of rp->param1)

As always, patches are welcome :)

On Saturday 13 May 2006 18:37, Simon TRENY wrote:
> Hi everybody,
> I've noticed that in edje, when you start a new transition on a
> part while another transition was already running, the running
> transition jumps directly to its final state in order to start the new
> transition.
> For example, if a part has 3 states (state1, state2, state3). At the
> beginning the part is in the state 1. Now, with STATE_SET, you start a
> smooth transition from state1 to state2, but before this transition is
> complete, you start another smooth transition to state3. In this case,
> the part will directly go to state2 (it wasn't in state2 since the
> first transition wasn't complete), and will start the smooth transition
> to state3.
> Is there actually a good reason for that behaviour, except the fact
> that it is easier to implement? The problem with this behaviour may be
> seen in the new ibar's labels for example: when the mouse enters an
> icon, the label smoothly appears and when it leaves the icon, the
> label smoothly disappears. But if the mouse leaves the icon before
> the label has totally appeared, then the label just seems to pop up. It
> happens if you move the mouse quicly over the ibar. Ok, I know, this is
> not a big problem, but I think it will look a lot better if this
> behaviour was different (if the interpolation was done from the
> intermediate state).
> Another example, in entrance, you can click on a button to open
> smoothly the "Sessions" panel. A new click closes it smoothly. But
> several fast clicks makes it pops up with no longer smooth transition.
> So what do you think about it? Should we implement a better transition
> system, or is there a good reason to do that (I can see some)
> Regards :)
> Simon TRENY <MoOm>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel