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

Key: LPP-1788
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: P2 P2
Assignee: Max Carlson
Reporter: Henry Minsky
Votes: 0
Watchers: 0
Operations

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

DHTML only: LZPix and Calendar: Dragging a thumbnail/event below bottom of app causes it to get stuck in drag mode

Created: 07/Mar/06 03:21 PM   Updated: 27/Jun/08 11:13 PM
Component/s: Laszlo Foundation Classes (LFC)
Affects Version/s: OL4B1, RingDing (4.1)
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 10,108
Fix in hand: False


 Description  « Hide
(trunk 4 build r9788)

If you mouse left on a thumbnail and drag it over the clipboard region and keep dragging down below the bottom of the app, then it seems to get stuck in drag mode, and I cannot drop it anywhere; it is stuck to the mouse and I cannot click anything else in the app.

If user drags an event in the day view below the window in calendar the event gets stuck to the cursor.

This doesn't seem to happen in the Flash app.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jim Grandy - 06/Sep/06 11:31 PM
Ugly fix is to poll while mouse is down. If mouse ever goes up before mouseup event is seen, then inject an artificial mouseup event.

Mamye Kratt - 19/Oct/07 12:53 PM
Assigning to Josh because he was assigned to LPP-4878 and it is a duplicate of this bug.

Mamye Kratt - 28/Apr/08 01:27 PM
(trunk 4 build r8804)
Still broken.

Josh Crowley - 05/Jun/08 12:06 AM
This seems like it's even more broken. I don't even have to drag it off the canvas to get it to stick now.

Josh Crowley - 05/Jun/08 01:56 AM
Er, I rescind that last comment. That was something broken somewhere else. Never mind.

Max Carlson - 27/Jun/08 11:13 PM
r10108 | max | 2008-06-27 23:13:19 -0700 (Fri, 27 Jun 2008) | 16 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js

Change 20080627-maxcarlson-e by maxcarlson@Roboto on 2008-06-27 22:51:00 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix onmouseupoutside events in dhtml

Bugs Fixed: LPP-5547 - DHTML: Dragging the bottom of the "Check out" vertical tab to the right and then to the left, without a click and moved the mouse in both directions (left and right) the vertIcal tab follows the mouse., LPP-6125 - onmouseupoutside events not triggered outside of canvas in DHTML, work fine in SWF (blocker for LPP-1788)

Technical Reviewer: promanik
QA Reviewer: hminsky

Details: Listen for onmouseup on window.top if window.top != window.

Tests: Dragging photos outside the window in lzpix and releasing button, testcases in LPP-5547 and LPP-6125