Drop Menu Website Template
Image
image
image


Hello There, Guest! Register

Post Reply 
Unpacking in Cattery
02-12-2014, 09:22 AM (This post was last modified: 02-12-2014 09:30 AM by Tad Carlucci.)
Post: #12
RE: Unpacking in Cattery
At the instant the user clicks the button, the variable "active_cat" is set to the database ID number for the cat, as given by the button clicked upon.

If the web page is not fully loaded, the variable "active_cat" is set to the cat under the cursor at the instant document.readyState becomes "complete".

If, at that instant, the mouse is over a box other than the intended (that is, the user wiggled down-screen a couple millimeters after the click) the variable changes value.

So, if the user clicks a button (say to unpack a box) before the document is fully loaded and accidentally wiggles the mouse to the box below (as will happen occasionally), AND while the user is peering at the (yes, correct) confirmation box, the document becomes fully loaded, the variable "active_cat" will be changed to the wrong box.

This bug can occur on all four Cattery tabs but, on the other three, the user must move the mouse a great distance, which is extremely unlikely.

When this bug occurs on the Menagerie button for a box, the user has recourse (go in-world, get a Magic Bottle).

Did I ever mention I hate timing bugs? They're all but impossible to replicate, and are so randomly sporadic they're hard to catch in the Wild.

When this bug occurs on the Name button, the user simply need correct the names of the two boxes effected.

When this bug occurs on the Unbox button, however, there is no recourse, nor does the user have the several-minute-delay in-world unboxing provides.

I assume your fix is to re-instate the delay and allow the user some form of "stop unpacking" as they would have in-world. Go for it! Consistency is A Good Thing.

Did I ever mention I hate timing bugs? They're all but impossible to replicate and are often so sporadic they're hard to catch in the Wild.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Unpacking in Cattery - Zevara Resident - 01-19-2014, 11:34 PM
RE: Unpacking in Cattery - Zevara Resident - 01-20-2014, 01:18 PM
RE: Unpacking in Cattery - Zevara Resident - 01-25-2014, 03:53 PM
RE: Unpacking in Cattery - Zahnn Skytower - 02-09-2014, 11:26 PM
RE: Unpacking in Cattery - Zevara Resident - 02-10-2014, 08:16 PM
RE: Unpacking in Cattery - Rocky Balzibo - 02-11-2014, 09:17 AM
RE: Unpacking in Cattery - Tad Carlucci - 02-12-2014, 04:33 AM
RE: Unpacking in Cattery - Tad Carlucci - 02-12-2014 09:22 AM



User(s) browsing this thread: 10 Guest(s)