public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Cunningham <ml@upsilon.org.uk>
To: cygwin@cygwin.com
Subject: remote GTK apps nor workin correctly in Cygwin/X
Date: Wed, 30 Nov 2016 15:25:00 -0000	[thread overview]
Message-ID: <adf158afe71ee17a5967f0ae7668b565@upsilon.org.uk> (raw)

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

             reply	other threads:[~2016-11-30 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 15:25 David Cunningham [this message]
2016-12-01  9:36 ` Csaba Raduly
2016-12-02 14:58 ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adf158afe71ee17a5967f0ae7668b565@upsilon.org.uk \
    --to=ml@upsilon.org.uk \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).