Ticket #6275 (new defect)

Opened 4 months ago

Last modified 2 weeks ago

dojox.fx.sizeTo Behavioral Defect?

Reported by: ole.ersoy@… Owned by: dante
Priority: normal Milestone: tbd
Component: Dojox Version: 1.0
Severity: normal Keywords:
Cc:

Description (last modified by bill) (diff)

This is not necessarily a bug. I'll just describe the setup and end result, and let you be the judge.

I changed the duration on the sizeTo animations in the sizeTo test to 550. Now if I move the mouse over the "Hover/exit" animation, such that it is only over the node for an instant, the animation that collapse the node gets stuck. It appears that the second animation in the chain that collapses the node back down does not execute.

Here are the parts that I changed (Only the duration):

        var test1 = function(e){
                // this is our click test,
                dojox.fx.sizeTo({
                        node: e.target,
                        width: 120,
                        height:120,
                        duration:550                        
                }).play(5);
        };
        
        var testundo = function(e){
                dojox.fx.sizeTo({
                        node: e.target,
                        width:50,
                        height:50,
                        duration:550                        
                }).play(5);
                
                
        };
        
        var test2 = function(e){
                dojox.fx.sizeTo({
                      node: e.target,
                      width: 120,
                      height:120,
                      duration:550,
                      method:"combine"
                }).play(5);
        };

SO if you make similar changes and try it, you should see the same effect. I ran the test in firefox 2.0.

Cheers, - Ole

Change History

  Changed 4 months ago by guest

If the testundo method is set to "combine", then the node collapse no regardless of the time interval that the mouse hovers for.

var testundo = function(e){

dojox.fx.sizeTo({

node: e.target, width:50, height:50, duration:550, method:"combine"

}).play(5);

  Changed 4 months ago by dante

  • owner changed from anonymous to dante

  Changed 4 months ago by guest

This is OT. I just noticed that the testundo connects to "onmouseenter", which according to this is microsft only.

http://www.quirksmode.org/js/events_mouse.html

I'm assuming it's better for future testers, if "onmouseover" is used instead.

follow-up: ↓ 6   Changed 4 months ago by bill

  • cc ole.ersoy@… removed
  • component changed from General to fx
  • description modified (diff)
  • reporter changed from guest to ole.ersoy@gmail.com

Not sure which test you are talking about, but onmouseenter is supported across all browsers by dojo, see #4307.

follow-up: ↓ 7   Changed 4 months ago by bill

  • component changed from fx to Dojox
  • summary changed from dojo.fx.sizeTo Behavioral Defect? to dojox.fx.sizeTo Behavioral Defect?

Oh apparently you are talking about dojox.fx.

in reply to: ↑ 4   Changed 4 months ago by guest

Replying to bill:

Not sure which test you are talking about, but onmouseenter is supported across all browsers by dojo, see #4307.

Oh Sweet - Thanks for pointing that out.

in reply to: ↑ 5   Changed 4 months ago by guest

Replying to bill:

Oh apparently you are talking about dojox.fx.

Indeed - Sorry for the late reply btw - I've been on vacation.

  Changed 2 weeks ago by bill

  • milestone set to tbd

mark all (open) tickets w/blank milestones to be "tbd"; their milestones need to be set to a version number or to "future"

Note: See TracTickets for help on using tickets.