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

Key: LPP-4152
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: -- --
Assignee: Mamye Kratt
Reporter: Max Carlson
Votes: 0
Watchers: 0
Operations

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

Global cursor should be cleared by LzCursor.restoreCursor() in DHTML

Created: 15/Jun/07 06:58 PM   Updated: 27/Sep/07 08:55 AM
Component/s: Kernel - DHTML
Affects Version/s: Legals
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 5,465
Fixed in branch: branches/legals
Runtime: N/A
Fix in hand: False


 Description  « Hide
Here's a testcase from http://forum.openlaszlo.org/showthread.php?t=9568

<canvas id="maincanvas" width="100%" height="100%" validate="false" debug="false" proxied="false" bgcolor="0x00aaaa">
<debug x="650" y="200" width="800" height="400" fontsize="12"/>

<view width="200" height="200" bgcolor="red">
<handler name="onmouseover">
       LzCursor.setCursorGlobal("n-resize");
</handler>
<handler name="onmouseout">
LzCursor.restoreCursor();
</handler>
</view>
<view x="300" y="300" width="200" height="200" bgcolor="blue">
<handler name="onmouseover">
</handler>
</view>
</canvas>


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Max Carlson - 18/Jun/07 05:51 PM
Author: max
Date: 2007-06-18 17:49:47 -0700 (Mon, 18 Jun 2007)
New Revision: 5465

Modified:
   openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
Log:
Change 20070618-maxcarlson-u by maxcarlson@plastik on 2007-06-18 14:44:50 PDT
    in /Users/maxcarlson/openlaszlo/legals-clean
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Fix LzCursor.restoreCursor() in DHTML

New Features:

Bugs Fixed: LPP-4152 - Global cursor should be cleared by LzCursor.restoreCursor() in DHTML

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Provide correct default value for __showhand value in cases where showHandCursor() hasn't been called.
    

Tests: See LPP-4152.



Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-06-18 23:33:14 UTC (rev 5464)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js 2007-06-19 00:49:47 UTC (rev 5465)
@@ -63,6 +63,7 @@
         document.onmouseup = LzMouseKernel.__mouseEvent;
         document.oncontextmenu = LzMouseKernel.__mouseEvent;
     }
+ ,__showhand: 'pointer'
 
     /**
     * Shows or hides the hand cursor for all clickable views.


_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Mamye Kratt - 28/Jun/07 04:44 PM
(4.0 branch (4.0.3) local build r5544)
Closing for 4.0.3.

swf
cursor behind red box, grabber over blue box

dhtml
cursor bar over red box, grabber over blue box

Difference because swf doesn't have a resource for the bar cursor.

Mamye Kratt - 28/Jun/07 04:44 PM
Need to test in legals.

Mamye Kratt - 17/Jul/07 11:46 AM
Need to test in legals.