Re: remote GTK apps nor workin correctly in Cygwin/X

2016-12-02 Thread Jon Turney

On 30/11/2016 12:36, David Cunningham wrote:

I'm not sure if this is a cygwin problem, a gtk problem or something
else (please be gentle).


Thanks for reporting this issue.


I have 3 remote machines, one running servers, one running Ubuntu 16.04
and the other 2 Debian stretch.

[...]

Remote applications on the Debian machines from a Cygwin xterm (or
putty) don't work correctly. An application (gnome-terminal and nemiver
being the two mostly use) will open correctly and keyboard is (mostly)
OK but mouse input doesn't work.

For example clicking a menu heading will place a line under the heading
in the GUI but the menu doesn't open. Note that I get the same failure
when using the keyboard shortcut keys (e.g ALT-F <> File). Sometimes a
part of the menu (maybe one or 2 lines) will appear in the top left of
the Desktop and can be scrolled through and selected using the keyboard.
The window controls (minimise, maximise, exit) work correctly.


I can reproduce this using a debian stretch VM.

It occurs with the cygwin X server in both windowed and multiwindow 
mode, so that would seem to exonerate the cygwin multiwindow mode WM.


The menus work correctly using the debian X server with no WM, though.


I get (lots of ) GTK error messages in terminal like this as I try to
use the GUI:

[...]

I've come across this bug filed against gtk in Debian which seems
somewhat similar:

.

I'm unclear then whether this is a Debian/gtk issue or a Cywin/X issue
(given that Ubuntu->Debian is OK).


I'm pretty sure this is more fallout from the change mentioned in the 
upstream bug [1] linked there, but why it only manifests under the 
cygwin X server, I don't know.


[1] https://bugzilla.gnome.org/show_bug.cgi?id=773387


Can anyone advise where I go from here?


I would suggest perhaps raising a bug against gtk+, although idk how 
much attention that will get.


--
Jon Turney
Volunteer Cygwin/X X Server maintainer

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: remote GTK apps nor workin correctly in Cygwin/X

2016-12-01 Thread Csaba Raduly
Hi David,

On Wed, Nov 30, 2016 at 1:36 PM, David Cunningham  wrote:
> *** BUG ***
> In pixman_region32_init_rect: Invalid rectangle passed
> Set a breakpoint on '_pixman_log_error' to debug

I got this exact same message on my Ubuntu LTS 14.04 system, which
hasn't even heard of Cygwin.
(It was either the Ristretto image viewer or the PDF viewer).

It may be unrelated to Cygwin.

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



remote GTK apps nor workin correctly in Cygwin/X

2016-11-30 Thread David Cunningham
I'm not sure if this is a cygwin problem, a gtk problem or something 
else (please be gentle).


I have 3 remote machines, one running servers, one running Ubuntu 16.04 
and the other 2 Debian stretch.


The Ubuntu machine has version 3.18.9 of libgtk-3 installed. The Debian 
machines version 3.22.4.


I run remote applications on these machines using x11-forwarding with 
ssh -Y (or putty).


I have no problem running applications on the Ubuntu machine from either 
the Debian machines or windows logged in from a cygwin xterm (or putty 
session).


I have no problem running applications on the Debian machines from 
either the Ubuntu machine or the other Debian machine.


Remote applications on the Debian machines from a Cygwin xterm (or 
putty) don't work correctly. An application (gnome-terminal and nemiver 
being the two mostly use) will open correctly and keyboard is (mostly) 
OK but mouse input doesn't work.


For example clicking a menu heading will place a line under the heading 
in the GUI but the menu doesn't open. Note that I get the same failure 
when using the keyboard shortcut keys (e.g ALT-F <> File). Sometimes a 
part of the menu (maybe one or 2 lines) will appear in the top left of 
the Desktop and can be scrolled through and selected using the keyboard. 
The window controls (minimise, maximise, exit) work correctly.


I get (lots of ) GTK error messages in terminal like this as I try to 
use the GUI:



(nemiver:6694): Gtk-WARNING **: Allocating size to gtkmm__GtkWindow 
0xe42260 without calling gtk_widget_get_preferred_width/height(). How 
does the code know the size to allocate?


(nemiver:6694): Gtk-CRITICAL **: 
gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed


*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

(nemiver:6694): Gtk-WARNING **: Negative content width -7 (allocation 1, 
extents 4x4) while allocating gadget (node arrow, owner GtkMenu)



(nemiver:6694): Gtk-WARNING **: Negative content width -11 (allocation 
1, extents 6x6) while allocating gadget (node menuitem, owner 
GtkImageMenuItem)



I'v come across this bug filed against gtk in Debian which seems 
somewhat similar:


.

I'm unclear then whether this is a Debian/gtk issue or a Cywin/X issue 
(given that Ubuntu->Debian is OK).


Can anyone advise wher I go from here?

--
Thanks,
David


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple