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@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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to