From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31169: 26.1; Emacs 26.1 RC1 (gtk) display issues over SSH/X11 with xming/vcxsrv Date: Wed, 18 Apr 2018 16:20:24 +0300 Message-ID: <83d0yw1wiv.fsf@gnu.org> References: <8336zv3v8x.fsf@gnu.org> <83efje36i5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1524057550 14871 195.159.176.226 (18 Apr 2018 13:19:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 13:19:10 +0000 (UTC) Cc: 31169@debbugs.gnu.org To: charlie hemlock Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 18 15:19:06 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8mzK-0003jL-Cd for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 15:19:06 +0200 Original-Received: from localhost ([::1]:56526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8n1P-0000FS-LZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 09:21:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8n1H-0000F1-VZ for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 09:21:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8n1C-0006zU-Nv for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 09:21:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50700) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8n1C-0006zK-Iw for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 09:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8n1C-0003qT-BA for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Apr 2018 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31169-submit@debbugs.gnu.org id=B31169.152405762914716 (code B ref 31169); Wed, 18 Apr 2018 13:21:02 +0000 Original-Received: (at 31169) by debbugs.gnu.org; 18 Apr 2018 13:20:29 +0000 Original-Received: from localhost ([127.0.0.1]:58597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8n0e-0003pH-Pl for submit@debbugs.gnu.org; Wed, 18 Apr 2018 09:20:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8n0c-0003p5-LF for 31169@debbugs.gnu.org; Wed, 18 Apr 2018 09:20:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8n0R-0006PV-N0 for 31169@debbugs.gnu.org; Wed, 18 Apr 2018 09:20:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8n0R-0006PJ-IJ; Wed, 18 Apr 2018 09:20:15 -0400 Original-Received: from [176.228.60.248] (port=2593 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f8n0Q-0001Dg-Pk; Wed, 18 Apr 2018 09:20:15 -0400 In-reply-to: (message from charlie hemlock on Tue, 17 Apr 2018 20:30:33 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145574 Archived-At: > From: charlie hemlock > Date: Tue, 17 Apr 2018 20:30:33 -0400 > Cc: 31169@debbugs.gnu.org > > > The Motif frame looks better, but still not entirely normal: what's that empty space to the right of the > window? Is that similar to what you see locally on the GNU/Linux box? > > That empty narrow space looks similar as locally launched Emacs. That narrow area is where line wrap > indicators show up. That's the fringe. And that's already bad: why isn't it being displayed? The fringe on the left displays correctly. Do you see anything in the *Messages* buffer that could hint on the problem? Maybe the Motif build bit-rotted. Is it possible for you to try building with Lucid instead? If the Lucid build shows the same problem when run locally, I think the local display problems need to be investigated first, but I wonder how come no one else sees these display problems, they are pretty apparent and cannot be missed. > I also clicked the "File" button on menu bar, and got several errors below, and the File Menu did not display: > However, Clicking the Open File icon did open the file browser . > Related to this menu issue: > - https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1700319 > - https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1700319 > - Can't say if these are related to the original display issues discussed here or entire separate issue This bug says the problem is fixed in GTK+ 3.22.25. Can you try that version of GTK+? > % ~/release/emacs_26.1/bin/emacs -Q > > (emacs:3612): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed > > [[removed several repeats]] > > (emacs:3612): 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 > > *** BUG *** > In pixman_region32_init_rect: Invalid rectangle passed > Set a breakpoint on '_pixman_log_error' to debug > > (emacs:3612): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget > (node arrow, owner GtkMenu) > > (emacs:3612): Gtk-WARNING **: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget > (node arrow, owner GtkMenu) > *** BUG *** > In pixman_region32_init_rect: Invalid rectangle passed > Set a breakpoint on '_pixman_log_error' to debug > > (emacs:3612): Gtk-WARNING **: Negative content width -11 (allocation 1, extents 6x6) while allocating > gadget (node menuitem, owner GtkMenuItem) > > (emacs:3612): Gtk-WARNING **: Negative content height -7 (allocation 1, extents 4x4) while allocating gadget > (node menuitem, owner GtkMenuItem) And Emacs 25, which works for you in the same setup, uses the same version of GTK+ as the 26.1RC1 build? > The emacs gui launches and appears ok, but core dumps as soon as I attempt anything else. > % ~/release/emacs_26.1/bin/emacs -Q > # click anywhere > X protocol error: BadRequest (invalid request code or no such operation) on protocol request 130 > When compiled with GTK, Emacs cannot recover from X disconnects. > This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 > For details, see etc/PROBLEMS. > Fatal error 6: Aborted > > But I did include that bug link in original post. I can't say if these are closely or distantly or not related. Those are for Emacs 23, 24, and 25, whereas you said Emacs 25 worked for you. So how can those be the same problems? And if they are the same problem, clearly the solution should be in GTK+, not in Emacs, right?