X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:message-id; q=
	dns; s=default; b=yEXKKHYk/U29hh97eVOqG1ctG01e1C/DQM/6us9+sVz88H
	z1zNL+BGAxNRYdpi4vuySHUV84nZCG9o/lIW2N79/8q+FiMCMdIhE4TWfHt9cGNQ
	DlHjANZHdT8dHK/XsbqVfaepgHE++R89MdJU71kMpriqWrkTW7MZnLVRERhSY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:content-type
	:content-transfer-encoding:date:from:to:subject:message-id; s=
	default; bh=NVQaA1Bcd0ho1q9vN3QEJgwlfVA=; b=xHso/XGXdwsCHWUm7bn3
	LrjfP87e9cWvuHFHQCiM4F4kacjXuTkCWbBuRYEU1svSYCCW5/ENFdTTnOtK6iyp
	kowmyWVCFIETi7ik/EldfqzKqjxGdAccMQulVBqoItU9FQxlUepyK3FDa7Ul4Wmi
	AeEAdwvcRQu5QtlgTsBWmww=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=clicking, Desktop, keyboard, Negative
X-HELO: mail2-a.eqx.gridhost.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 30 Nov 2016 12:36:51 +0000
From: David Cunningham <ml@upsilon.org.uk>
To: cygwin@cygwin.com
Subject: remote GTK apps nor workin correctly in Cygwin/X
Message-ID: <adf158afe71ee17a5967f0ae7668b565@upsilon.org.uk>
X-Sender: ml@upsilon.org.uk
User-Agent: Roundcube Webmail/0.9.0
X-Gridhost-Auth2: postmaster@upsilon.org.uk
X-IsSubscribed: yes

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:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842070>.

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

