I'm pretty sure the Laszlo Mail team ran into the same issue. Firefox  
just does not support this -- you have to click on the Flash content  
for it to get focus. I believe it's a Firefox bug/shortcoming, and  
can be seen with any Flash content.

If you use Laszlo Mail (http://www.laszlomail.com/) under Internet  
Explorer, the first input field will be auto-focused as soon as the  
page is loaded. This does not work under Firefox or under Safari.

- D.


On Jul 6, 2006, at 9:23 AM, Andrew Chandler wrote:

> Thanks Jason - it helps not to be alone :)
>
>  I'll have my team create the absolute most stripped down example  
> and post
> it but it sounds like a fact of life.  I just know that our  
> customers are
> sometimes somewhat keyboard centric - tab/enter through the forms  
> etc.   In
> that kind of use case where you can do all the rest of the navigation
> properly in laszlo its just distracting to take your hand off the  
> keyboard
> (where they were to type in the url) to click on the flash movie,  
> so that
> you can go back to keyboard navigation - plus if you actually have  
> multiple
> laslo apps strung together you have to click everytime you leave  
> one to go
> into the next one.    It works fine in IE, I just hate giving IE  
> any reason
> to be perceived as "better" (equal is ok)
>
>
>
>
> ________________________________
>
> From: Jason Stafford [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 06, 2006 10:25 AM
> To: Andrew Chandler
> Cc: 'P T Withington'; [email protected]
> Subject: Re: [Laszlo-user] Focus not working in firefox - I think  
> maybe I
> figured it out
>
>
> You're not the only one that this happens to.  I've observed the same
> behavior in Firefox myself.  I researched it some, and came to the
> conclusion that this was a deliberate decision on the part of the  
> firefox
> team, though I can't remember now what led me to that conclusion.
>
> -Jason
>
> Andrew Chandler wrote:
>
>       Thanks - the thing is its firefox not IE doing this - plus it
> happens with
>       the default html wrapper spit out by the laslo proxy - also the
> brackets for
>       focus go to the button without the click - its just that they mean
> nothing
>       until you click anywhere on the flash movie (one click only)  -
> after that
>       click hitting the enter key causes the button that was bracketed
> previously
>       to be depress.   Overall its quite depressing (sorry about the puns
> and
>       movie references - its late and I hate unsolvable problems).
>       
>       I just find it weird that I'm the only one this happens to  -
> especially
>       since I can reproduce it on multiple machines running flash 8 & 9 at
> work.
>       
>       
>       -----Original Message-----
>       From: P T Withington [mailto:[EMAIL PROTECTED]
>       Sent: Wednesday, July 05, 2006 10:14 PM
>       To: Andrew Chandler
>       Cc: [email protected]
>       Subject: Re: [Laszlo-user] Focus not working in firefox - I think
> maybe I
>       figured it out
>       
>       The 'click to open' thing that IE does for EOLAS is very distinct.
>
>       You get a dialogue that says some things on the page won't work
> until you
>       click OK.  (I think it even suggests you write your congressperson
> telling
>       them that EOLAS are stinkers.  :P) This is quite different from what
> you are
>       experiencing of just having to click on the swf object to 'unstick'
> the
>       focus brackets.
>       
>       If you are writing your own HTML page to embed the swf into, I
>       suggest that you validate your HTML (see http://validator.w3.org/).
>
>       If your HTML is not valid, you will put IE into 'quirks mode' and
> all bets
>       are off.  See also http://msdn.microsoft.com/library/default.asp?
>       url=/library/en-us/dnie60/html/cssenhancements.asp and read about
> the
>       DOCTYPE switch, which also controls whether or not IE runs in quirks
> mode.
>       Quirks mode is evil.  It makes boatloads of ancient broken content
> that
>       people developed only on IE work, but manages to break most new
> content that
>       anyone is writing to the w3c standards...
>       
>       On 2006-07-05, at 21:23 EDT, Andrew Chandler wrote:
>       
>       
>
>               Yeh - testing since I wrote that pretty much confirms what
> you said.
>               However the symptom is exactly as described for IE.   By
> that I
>               mean you
>               have click ONCE ANYWHERE on the flash object laszlo creates
> and boom
>               the button that has focus really does get its focus - by
> this I mean
>               prior to anything else our code does succesffuly call the
> LzFocus
>               mechanism and you see the little bracktes move over to
> surround the
>               button we want to be
>               default.    Its just that page ignores any keypress until
> you take
>               and click
>               on the flash object (clicking the surrounding html page does
> not help)
>               
>               
>               You know its not an end of the world issue but its
> incredibly
>               frustrating because I know it SHOULD work.
>               
>               
>               I'll keep plugging away at it....at this point I think its
> probably
>               not a laszlo issue per-se I think it's a plugin or flash
> issue but I'm
>               going to try to make a simple flash movie with one button
> and
>               reproduce it without laszlo at all.
>               
>               
>               
>               -----Original Message-----
>               From: P T Withington [mailto:[EMAIL PROTECTED]
>               Sent: Wednesday, July 05, 2006 8:21 PM
>               To: Andrew Chandler
>               Cc: [email protected]
>               Subject: Re: [Laszlo-user] Focus not working in firefox - I
> think
>               maybe I figured it out
>               
>               embed.js and flashobject.js are basically the same, they
> both use
>               Javascript to create the object tag dynamically rather than
>               statically, which MS believes skirts the EOLAS patent.
> Either should
>               work equally well.
>               Flashobject.js has the advantage of being used by a much
> larger
>               community so perhaps has worked around some niggling
> details, but I
>               would be very surprised if that affected your focus issue.
>               
>               EOLAS has not sued anyone other than MS, to my knowledge, so
> no other
>               browser vendor has done anything about their patent.
>               
>               On 2006-07-05, at 17:55 EDT, Andrew Chandler wrote:
>               
>               
>
>                       This snippet talks about how IE is going to change -
> I found this
>                       following links regarding the benefits of
> flashobject.js versus
>                       embed.js.
>                       I think
>                       its possible this may be whats going on with firefox
> as well.
>                       (which is
>                       where I'm seeing it) - I'm in the process of
> changing some test pages
>                       and will let you know how it works.
>                       
>       
> http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-
>                       changes-and-the
>                       -flash-plugin/
>                       
>                       "When using an applet, object, or embed tag to
> insert a plugin into
>                       an HTML document, that plugin will not allow user
> interaction until
>                       the user clicks on it. Microsoft calls this process
> "
>       
> <http://msdn.microsoft.com/library/default.asp?url=/workshop/author/
>                       dhtml/ov
>                       erview/activating_activex.asp>
> <http://msdn.microsoft.com/library/default.asp?url=/workshop/author/ 
> dhtml/ov
> erview/activating_activex.asp>  Activating an ActiveX Control's
>                       Interface."
>                       
>                       In the case of the Flash plugin, it means that your
> Flash movies will
>                       not
>                       work until a user 'activates' it first by clicking
> on it        "
>                       
>                       
>                       
>                       
>                       
>                       
>                       
>                       _______________________________________________
>                       Laszlo-user mailing list
>                       [email protected]
>       
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>                       
>
>               
>               
>
>       
>       
>       
>       _______________________________________________
>       Laszlo-user mailing list
>       [email protected]
>       http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>       
>
>
> -- 
> Jason Stafford
> Principal Developer
> Inspiration Software, Inc.
> The leader in visual thinking & learning
>
> InspireData(tm), the newest innovative thinking and learning tool from
> Inspiration Software(r), extends the proven power of visual  
> learning to
> data analysis. Learn more at www.inspiration.com.
>
> 503-297-3004 Extension 119
> 503-297-4676 (Fax)
> 9400 SW Beaverton-Hillsdale Highway
> Suite 300
> Beaverton, OR 97005-3300
>
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to