(browser) focus hocus pocus broke us

Mike Kerner MikeKerner at roadrunner.com
Mon Sep 24 11:44:58 EDT 2018


Thanks Monte.  Fix it anyway.
Thanks for the idea, Tom, no joy.


On Sun, Sep 23, 2018 at 11:26 PM Tom Glod via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Just a hunch .... maybe you can quickly toggle visibility of the
> widget..after everything is loaded.  maybe that will be enough to lose
> focus and not have to regain it?.... unlikely to work, but worth a try.
>
>
>
> On Sun, Sep 23, 2018 at 11:15 PM Monte Goulding via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > Hi Mike
> >
> > This is actually a problem for all widgets with native layers. There’s
> > also the additional complexity with the browser widget that some pages
> when
> > you open them they have javascript that focuses in on something.
> >
> > I have a PR that makes `the focusedObject` and `focus on nothing |
> object`
> > work for all platforms but Linux.  I got completely stuck trying to come
> up
> > with a solution for Linux to the point where I’m living in hope that
> > someone answers this question on stackoverflow
> >
> https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket
> > <
> >
> https://stackoverflow.com/questions/50092874/how-to-detect-focus-on-gtksocket
> > >
> >
> > So the PR is in limbo unfortunately…
> >
> > Cheers
> >
> > Monte
> >
> > > On 24 Sep 2018, at 12:42 pm, Mike Kerner via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> > >
> > > already tried focusing on another control, and, I have no idea what
> > > document.activeElement.blur() is supposed to do, but that didn't fix it
> > > either.
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list