A fast mouseover follow by mouseout on pageear unloads images on pageear

manfer - October 12, 2009 - 18:39
Project:PageEar
Version:6.x-2.1-rc7
Component:Code
Category:bug report
Priority:normal
Assigned:manfer
Status:closed
Description

When you do a mouseOver on the pageear and very very fast a mouseout the pageear unloads its images and opens totally blank and remains totally opened and out of user control.

This happens on pageear with no close button enable and to do the fast mouseover/mouseout is easy if you run your mouse very close to the flag corner so it enters pageear and very fast the mouse runs out of it (out of the browser page display canvas).

#1

manfer - October 12, 2009 - 19:04
Status:active» fixed

Fixed on dev version and commited to CVS.

In a few hours the corrected dev version would be packaged and it would be available on the project page.

Tomorrow I'm going to download it to test and I'm almost sure that would be the 2.1RC release.

#2

System Message - October 26, 2009 - 19:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#3

manfer - November 7, 2009 - 20:37
Status:closed» needs work

I reopened this issue because I thought it was solved but it wasn't.

I finally found which was really the problem, a variable in flash used to compute the next frame when the peel or flag are moving backwards is declared as unsigned int and must be declared as int. As it was a frame number it was supposed to store only positive values, but as it is a variable to compute the frame to go based on speed sometimes that value stores a negative value while doing the computation, it is only always positive at the end of computation. As it was declare as unsigned the variable finished sometimes with a non sense very very high positive int value.

In the next release it would be solved and I would mark by then this issue again as fixed.

#4

manfer - November 8, 2009 - 13:48

The mentioned problem of the frame computation was the one which made sometimes images to be unloaded of pageear and pageear going to an inconsistent state on an inexistent very very high value frame. The fast mouse over - mouse out was only an easy way to trigger that bug.

But the fast mouse over - mouse out presents itself another issue. The way the pageear works is:

  • User puts mouse over the flag movement peel (mouse over on flag).
  • That triggers a change, the flag movement peel is replaced by the opening peel.
  • As the mouse is supposed to be still on the peel a mouse over event is triggered on opening peel. That mouse over on opening peel is what really makes it start to open (mouse over on peel).

But a fast mouse over - mouse out triggers the mouse over on flag but does not trigger the mouse over on the opening peel and then the peel remains closed but showing the big image. BUG.

So I changed that too. In next RC will be not needed two mouse overs to make the peel open. Just the first mouse over is enough to trigger all the process. The only thing I have to test is if the way I did it is cross browser cause it implies a javascript to actionscript communication. But I think it should be:

  • Opera and Firefox Linux passed the test.
  • Safari and Firefox Mac passed the test.

I need to test Windows. I will test Internet Explorer, Safari, Chrome, Opera and Firefox on that OS.

#5

manfer - November 8, 2009 - 14:56
Version:6.x-2.x-dev» 6.x-2.1-rc7

#6

manfer - November 8, 2009 - 15:19
Status:needs work» fixed

Fixed on 6.x-2.1-rc8

#7

System Message - November 22, 2009 - 15:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.