From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44002: 27.1; Small window height with VcXsrv X server when built with gtk3 toolkit Date: Fri, 16 Oct 2020 22:08:16 +0300 Message-ID: <83d01iugyn.fsf@gnu.org> References: <83d01iwrsa.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44002@debbugs.gnu.org To: "J. Scott Berg" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 21:16:37 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTVDR-0004t8-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 21:16:37 +0200 Original-Received: from localhost ([::1]:57346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTVDP-0000X2-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 15:16:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTV66-0004mp-6N for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 15:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49302) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTV65-0005R9-Rd for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 15:09:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTV65-0003wp-Mj for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 15:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 19:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44002 X-GNU-PR-Package: emacs Original-Received: via spool by 44002-submit@debbugs.gnu.org id=B44002.160287530715133 (code B ref 44002); Fri, 16 Oct 2020 19:09:01 +0000 Original-Received: (at 44002) by debbugs.gnu.org; 16 Oct 2020 19:08:27 +0000 Original-Received: from localhost ([127.0.0.1]:60848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTV5X-0003w1-2t for submit@debbugs.gnu.org; Fri, 16 Oct 2020 15:08:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTV5V-0003vo-LQ for 44002@debbugs.gnu.org; Fri, 16 Oct 2020 15:08:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39773) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTV5Q-0005NA-4z; Fri, 16 Oct 2020 15:08:20 -0400 Original-Received: from [176.228.60.248] (port=2936 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTV5N-0005Ki-G8; Fri, 16 Oct 2020 15:08:20 -0400 In-Reply-To: (jsberg-bnl@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190733 Archived-At: > From: "J. Scott Berg" > Date: Fri, 16 Oct 2020 14:47:46 +0000 > Cc: "44002@debbugs.gnu.org" <44002@debbugs.gnu.org> > > Below I've shown the a the adjust_fram_size breaks. Just before the call with new_width=1280, new_height=1, a full window with the correct size, a menu bar, and otherwise a white background is visible. After that call, the window retains the same size, but below the menu there is a single text line (white) buffer, the status line, and a single text line (white) minibuffer; the remainder of the window below that is black. I showed the backtrace for that call. After the subsequent call, the window size jumps to approximately 5 text lines, keeping the same buffer/status/minibuffer as before, and the last two-ish text lines are black. After the subsequent call, I have an ordinary-looking emacs window except for the fact that the main buffer is only 3 lines long. Thanks. > Thread 1 "emacs" hit Breakpoint 1, adjust_frame_size (f=0x555556034200, new_width=1280, new_height=1, inhibit=5, pretend=false, > parameter=0x3c60) at frame.c:597 > 597 { > (gdb) where > #0 adjust_frame_size (f=0x555556034200, new_width=1280, new_height=1, inhibit=5, pretend=false, parameter=0x3c60) at frame.c:597 > #1 0x00005555555a9fe3 in change_frame_size_1 > (pixelwise=, safe=false, delay=false, pretend=false, new_height=, new_width=, f=) at lisp.h:1033 > #2 change_frame_size > (pixelwise=, safe=false, delay=false, pretend=false, new_height=, new_width=, f=) at dispnew.c:5830 > #3 do_pending_window_change (safe=safe@entry=false) at dispnew.c:5756 > #4 0x00005555555e275f in message3_nolog (m=) at xdisp.c:11019 > #5 0x00005555555e29e8 in message3 (m=m@entry=0x555555ff32a4) at xdisp.c:10950 > #6 0x00005555556f3d90 in Fmessage (args=0x7fffffffccb0, nargs=) at editfns.c:2891 > #7 Fmessage (nargs=, args=0x7fffffffccb0) at editfns.c:2859 > #8 0x00005555556fcb6b in Ffuncall (nargs=3, args=args@entry=0x7fffffffcca8) at lisp.h:2110 > #9 0x00005555557350c8 in exec_byte_code > (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 > #10 0x00005555556fcaa7 in Ffuncall (nargs=1, args=args@entry=0x7fffffffd020) at eval.c:2809 > #11 0x00005555557350c8 in exec_byte_code > (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 > #12 0x00005555556fcaa7 in Ffuncall (nargs=2, args=args@entry=0x7fffffffd828) at eval.c:2809 > #13 0x00005555557350c8 in exec_byte_code > (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 > #14 0x00005555556fcaa7 in Ffuncall (nargs=1, args=args@entry=0x7fffffffe1e0) at eval.c:2809 > #15 0x00005555557350c8 in exec_byte_code > (bytestr=, vector=, maxdepth=, args_template=, nargs=, args=) at bytecode.c:633 > #16 0x00005555556ffd3d in apply_lambda (fun=0x7ffff285eb25, args=, count=4) at eval.c:2927 > #17 0x00005555556fedd6 in eval_sub (form=) at eval.c:2349 > #18 0x00005555557008d9 in Feval (form=0x7ffff29bb68b, lexical=) at eval.c:2103 > #19 0x00005555556fbcd7 in internal_condition_case > (bfun=bfun@entry=0x555555680ac0 , handlers=handlers@entry=0x90, hfun=hfun@entry=0x555555686300 ) > at eval.c:1356 > #20 0x00005555556819a6 in top_level_1 (ignore=ignore@entry=0x0) at lisp.h:1033 > #21 0x00005555556fbc31 in internal_catch (tag=tag@entry=0xd500, func=func@entry=0x555555681980 , arg=arg@entry=0x0) > at eval.c:1117 > #22 0x0000555555680a48 in command_loop () at lisp.h:1033 > #23 0x0000555555685f16 in recursive_edit_1 () at keyboard.c:714 > #24 0x0000555555686242 in Frecursive_edit () at keyboard.c:786 > #25 0x00005555555a00f7 in main (argc=2, argv=) at emacs.c:2062 > (gdb) c > Continuing. > > Thread 1 "emacs" hit Breakpoint 1, adjust_frame_size (f=f@entry=0x555556034200, new_width=new_width@entry=-1, > new_height=new_height@entry=-1, inhibit=inhibit@entry=2, pretend=pretend@entry=false, parameter=parameter@entry=0xd350) > at frame.c:597 > 597 { > (gdb) c > Continuing. > > Thread 1 "emacs" hit Breakpoint 1, adjust_frame_size (f=0x555556034200, new_width=1280, new_height=170, inhibit=5, pretend=false, > parameter=0x3c60) at frame.c:597 > 597 { > (gdb) c > Continuing. I don't see here any call that makes the frame resize to 5x5, can you point out which call that is? Also, please say "where" for each time the breakpoint breaks, and before that say (gdb) source /path/to/emacs/src/.gdbinit so that "where" also reports Lisp-level backtraces.