Ack, there was supposed to be a change to the kernel/swf9/LzMouseKernel which sends thenew mouseenter event, and it got left out of the commit for some reason, I must have deleted the line from from change.txt file somehow.
I will check it in and send you the changeset. On Thu, Apr 9, 2009 at 3:06 PM, P T Withington <[email protected]> wrote: > I'm trying to understand what this change does. When I did the > integration, it looks like there must be something missing? I see you > declared this new event, but I don't see anything actually sending the event > or handling the event. What am I missing? > > > On 2009-04-09, at 10:31EDT, Henry Minsky wrote: > > Hey Max, >> I'd like to make the workaround I did for this bug be specific to Firefox, >> but this is a swf9 kernel issue, do we have >> any way to use the quirks mechanism for a swf application ? Or if the >> quirks stuff is all in dhtml, maybe there's some way I can call out to the >> lz.Browser service to at least query which browser is running? >> >> ---------- Forwarded message ---------- >> From: P T Withington <[email protected]> >> Date: Thu, Apr 9, 2009 at 9:25 AM >> Subject: Re: [JIRA] Resolved: (LPP-4542) inputtext continuously selects >> all >> or reverses letters (selection set to beginning of line after each >> keypress) >> To: Henry Minsky <[email protected]> >> >> >> I think we should stick to quirks when we are working around a bug that >> manifests in only one browser. (And we should be prepared to make the >> quirk >> browser-version sensitive too. As you will see in the quirks system, we >> have been able to turn off a lot of them as the browsers have evolved.) >> >> >> On 2009-04-09, at 08:23EDT, Henry Minsky wrote: >> >> I was kind of ambivalent on whether it was better to have the same >> behavior >> >>> in all browsers, or just patch for firefox. I guess it would be better to >>> just patch for firefox though. I'll try a new patch for that. >>> >>> On Thu, Apr 9, 2009 at 7:38 AM, P T Withington <[email protected]> wrote: >>> >>> Can't we use the quirks system to restrict it to just Win/FF? >>> >>>> >>>> On Apr 8, 2009, at 21:59, "Henry Minsky (JIRA)" <[email protected] >>>> > >>>> wrote: >>>> >>>> >>>> [ >>>> >>>>> >>>>> >>>>> http://www.openlaszlo.org/jira/browse/LPP-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel >>>>> ] >>>>> >>>>> Henry Minsky resolved LPP-4542. >>>>> ------------------------------- >>>>> >>>>> Fixed in Change#: 13639 >>>>> Resolution: Fixed >>>>> >>>>> fix checked in is a workaround, for swf9 only, that clears the focus >>>>> when >>>>> the mouse re-enters the application. >>>>> >>>>> This is kind of a poor solution, because it clears the selection that >>>>> the >>>>> user might have wanted >>>>> to preserve, in all browsers, even though the bug is only in Firefox. >>>>> >>>>> >>>>> r13639 | hqm | 2009-04-08 21:55:09 -0400 (Wed, 08 Apr 2009) | 36 lines >>>>> Changed paths: >>>>> M /openlaszlo/trunk/WEB-INF/lps/lfc/services/LzGlobalMouse.lzs >>>>> M /openlaszlo/trunk/WEB-INF/lps/lfc/views/LaszloCanvas.lzs >>>>> >>>>> Change 20090407-hqm-T by [email protected] on 2009-04-07 22:03:57 EDT >>>>> in /Users/hqm/openlaszlo/trunk7 >>>>> for http://svn.openlaszlo.org/openlaszlo/trunk >>>>> >>>>> Summary: workaround for flash/firefox text selection bug >>>>> >>>>> New Features: >>>>> >>>>> Bugs Fixed: LPP-7957 >>>>> >>>>> Technical Reviewer: max >>>>> QA Reviewer: (pending) >>>>> Doc Reviewer: (pending) >>>>> >>>>> Documentation: >>>>> >>>>> Release Notes: >>>>> >>>>> Details: >>>>> >>>>> + add 'onmouseenter' event to canvas, sent by LzGlobalMouse. It is >>>>> generated when we see a mouse-move event after the mouse has left the >>>>> app window, as that means that the mouse is back in the app. >>>>> >>>>> + the workaround is to defocus whatever text is selected. This is the >>>>> only way I could find to get Flash to stop dragging the selection >>>>> around >>>>> with the mouse. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> inputtext continuously selects all or reverses letters (selection set >>>>> to >>>>> >>>>> beginning of line after each keypress) >>>>>> >>>>>> >>>>>> >>>>>> --------------------------------------------------------------------------------------------------------------- >>>>>> >>>>>> Key: LPP-4542 >>>>>> URL: http://www.openlaszlo.org/jira/browse/LPP-4542 >>>>>> Project: OpenLaszlo >>>>>> Issue Type: Bug >>>>>> Components: LFC - Text >>>>>> Affects Versions: 4.0.5WaffleCone >>>>>> Reporter: Pablo Kang >>>>>> Assignee: Henry Minsky >>>>>> Priority: P1 >>>>>> Fix For: RingDing (4.1) >>>>>> >>>>>> >>>>>> To reproduce: >>>>>> 1. type abcde in inputtext >>>>>> 2. with mouse, select all. while still holding down mouse button, >>>>>> pull the mouse outside the browser window. release the mouse with the >>>>>> pointer still outside the browser window. >>>>>> 3a. leaving the mouse where it is, type text >>>>>> or >>>>>> 3b. move the mouse back into the browser window, but still to the >>>>>> left of the insertion point >>>>>> 4. type 12345. (This effectively deletes the contents of the text >>>>>> field) >>>>>> The result is that the text field says '5' when it should say 12345. >>>>>> >>>>>> >>>>>> -- >>>>> This message is automatically generated by JIRA. >>>>> - >>>>> If you think it was sent incorrectly contact one of the administrators: >>>>> http://www.openlaszlo.org/jira/secure/Administrators.jspa >>>>> - >>>>> For more information on JIRA, see: >>>>> http://www.atlassian.com/software/jira >>>>> >>>>> >>>>> >>>>> >>>>> >>> -- >>> Henry Minsky >>> Software Architect >>> [email protected] >>> >>> >> >> >> >> -- >> Henry Minsky >> Software Architect >> [email protected] >> > > -- Henry Minsky Software Architect [email protected]
