History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-5267
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: -- --
Assignee: Unassigned
Reporter: Philip Romanik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

SWF: Dragging debugger scrollbar generates error

Created: 16/Dec/07 07:41 AM   Updated: 08/Jan/08 03:15 PM
Component/s: Developer Console
Affects Version/s: RingDing (4.1)
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Environment: swf

Severity: Critical
Runtime: N/A
Fix in hand: False


 Description  « Hide
The fix for LPP-5217 caused this error.

Open a debugger window and attempt to drag the vertical scroll bar:

WARNING @debugger/newcontent.lzx#237: reference to undefined property 'drag'
ERROR @debugger/newcontent.lzx#237: undefined object does not have a property 'apply'
ERROR @debugger/newcontent.lzx#237: undefined object does not have a property 'remove'


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Philip Romanik - 16/Dec/07 07:42 AM
See your change to debugger/newcontent.lzx in LPP-5217

P T Withington - 16/Dec/07 11:06 AM
I can't reproduce this error. And I don't see how that change could have had any effect, since I grep-ed for references to dhsb and there were none.

The fact that there is no reference to 'drag' on line 237 of my copy of newcontent.lzx makes me think you have a skew in your playpen? Can you verify that your version of the file is what is checked in to trunk?

Philip Romanik - 16/Dec/07 12:00 PM
I had some debug code in lzstate that I removed and the error went away. No idea why it would cause the error. Sorry.

Around line 238 in newcontent.lzx is this code.

       <view name="dragger" height="${parent.thumbheight}" y="12"
              onmousedown="this.drag.apply()"
              onmouseup="this.drag.remove()"
              onmouseover="higlight_dragger(2)"
              onmouseout="higlight_dragger(1)" >

this.drag is an instance of _dbg_lzvdrag (which derives from state)

Mamye Kratt - 08/Jan/08 03:15 PM
Close, reporter cannot reproduce the error.