|
|
|
[
Permlink
| « Hide
]
Fabian Garcia Silva - 05/Mar/08 09:46 AM
This "drag.rar" file contains a "Shockwave Flash Object" embedded in a "drag.swf" file, this file shows the bug. (the "drag.swf" file must be opened with Internet Explorer)
(trunk 4 build r8604)
This is still a problem. (trunk 4 build r8964 - 4.2a3)
This seems to be fixed now. (trunk 4 build r8964 4.2a3)
This is not fixed, I was wrong. I can't reproduce this. There have been many mouse-related upgrades in the last week. The change revision is TOT.
(trunk 4 build r10052)
This is still broken - try FF2/XP/dhtml (trunk 4 build r10052)
Also if you use the mouse to scroll and scroll past the bottom of the review area the scrollbar scrolls without clicking the mouse. I can reproduce the issue but I have to move the mouse outside of the canvas while holding the mouse button down.
Use FF2/dhtml: 1. click and drag the size bar that controls how big the shopping cart/wish list/check out tabs are. 2. While holding down the mouse button, move the mouse to the right and outside the canvas area. 3. Release the mouse button. 4. When you move the cursor into the canvas the app thinks the mouse is still being dragged. It appears as though dragging is not terminated when you move the mouse outside the canvas. This is a small app that demonstrates the issue. Drag the box outside the canvas and release the mouse in FF2/dhtml.
<canvas width="400" height="400" bgcolor="0xeeeeee"> <view x="10" y="10" width="32" height="32" bgcolor="red" onmousedown="dragging.setAttribute('applied', true)" onmouseup="dragging.setAttribute('applied', false); stop()"> <dragstate name="dragging"/> </view> </canvas> This is a better example. It shows that FF2/dhtml stops sending mouse events when the mouse it outside the canvas. Events continue in swf when the mouse is down.
<canvas width="400" height="400" bgcolor="0xeeeeee" debug="true"> <handler name="onmousemove"> Debug.write('mouse', box.x, box.y); </handler> <view id="box" x="10" y="10" width="32" height="32" bgcolor="red" onmousedown="dragging.setAttribute('applied', true)" onmouseup="dragging.setAttribute('applied', false);"> <dragstate name="dragging"/> </view> </canvas> 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: 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 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||