Re: Broadway backend fails with ”can't write to client”

2015-10-08 Thread Alexander Larsson
On ons, 2015-10-07 at 10:21 -0400, Jay Jay Billings wrote:
> 
> Everyone,
> I am playing with the Broadway backend on Fedora 21 and I am getting
> a ”can't write to client” error. It works fine with simple
> applications like gedit, but it hangs and prints this error on more
> complicated applications like Eclipse. Specifically, I get one good
> click or tooltip access in Eclipse before it fails and, after a bit,
> disconnects and prints a wall of these errors in the broadwayd shell.
> Fedora 22 makes it three clicks before crashing. On that machine I'm
> running gtk3.16.7.
> As far as I could tell from the Broadway source code, this is a
> generic error printed whenever the output stream can't be written.
> Could anyone give me some more suggestions on how to fix this? I'm
> willing to jump into the code too if you have some developer "getting
> started" docs.

"Can't write to client" basically means that the client process died,
so we can't send any events to it. This problem seem to be on the
client (that is the application, not the broadway daemon) side, so you
have to debug the client instead.

Having no idea of your particular problem I can still make a guess. It
is likely that your more complicated apps (like eclipse) is trying to
do something that is specific to the X11 backend, without actually
verifying that the active backend is X11 (or verifying and bailing
out).

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander LarssonRed Hat, Inc 
   al...@redhat.comalexander.lars...@gmail.com 
He's a scarfaced Amish hairdresser who must take medication to keep him 
sane. She's a hard-bitten thirtysomething vampire who can talk to 
animals. They fight crime! 


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Broadway backend fails with ”can't write to client”

2015-10-08 Thread Jay Jay Billings
Thanks for the feedback Alexander. That gives me a place to start!

Jay
On Oct 8, 2015 5:58 AM, "Alexander Larsson"  wrote:

> On ons, 2015-10-07 at 10:21 -0400, Jay Jay Billings wrote:
> >
> > Everyone,
> > I am playing with the Broadway backend on Fedora 21 and I am getting
> > a ”can't write to client” error. It works fine with simple
> > applications like gedit, but it hangs and prints this error on more
> > complicated applications like Eclipse. Specifically, I get one good
> > click or tooltip access in Eclipse before it fails and, after a bit,
> > disconnects and prints a wall of these errors in the broadwayd shell.
> > Fedora 22 makes it three clicks before crashing. On that machine I'm
> > running gtk3.16.7.
> > As far as I could tell from the Broadway source code, this is a
> > generic error printed whenever the output stream can't be written.
> > Could anyone give me some more suggestions on how to fix this? I'm
> > willing to jump into the code too if you have some developer "getting
> > started" docs.
>
> "Can't write to client" basically means that the client process died,
> so we can't send any events to it. This problem seem to be on the
> client (that is the application, not the broadway daemon) side, so you
> have to debug the client instead.
>
> Having no idea of your particular problem I can still make a guess. It
> is likely that your more complicated apps (like eclipse) is trying to
> do something that is specific to the X11 backend, without actually
> verifying that the active backend is X11 (or verifying and bailing
> out).
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander LarssonRed Hat, Inc
>al...@redhat.comalexander.lars...@gmail.com
> He's a scarfaced Amish hairdresser who must take medication to keep him
> sane. She's a hard-bitten thirtysomething vampire who can talk to
> animals. They fight crime!
>
>
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Broadway backend fails with ”can't write to client”

2015-10-07 Thread Jay Jay Billings
Everyone,

I am playing with the Broadway backend on Fedora 21 and I am getting a
”can't write to client” error. It works fine with simple applications like
gedit, but it hangs and prints this error on more complicated applications
like Eclipse. Specifically, I get one good click or tooltip access in
Eclipse before it fails and, after a bit, disconnects and prints a wall of
these errors in the broadwayd shell.

Fedora 22 makes it three clicks before crashing. On that machine I'm
running gtk3.16.7.

As far as I could tell from the Broadway source code, this is a generic
error printed whenever the output stream can't be written. Could anyone
give me some more suggestions on how to fix this? I'm willing to jump into
the code too if you have some developer "getting started" docs.

Thanks for your help and sorry if this is the wrong list.

Best,
Jay



-- 
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list