From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#48809: 28.0.50; Missing Lucid/GTK2 graphical elements on tiling WM Date: Fri, 11 Jun 2021 18:40:58 +0200 Message-ID: <0a4d391b-c240-e161-838e-8e0873c48084@gmx.at> References: <875yyv2jsi.fsf@tcd.ie> <1e9040b0-dbb8-fc45-2bb7-6ec6d9bf81eb@gmx.at> <87y2bgfw3h.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48809@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 11 18:42:47 2021 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 1lrkF5-0009d4-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Jun 2021 18:42:47 +0200 Original-Received: from localhost ([::1]:60960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrkF3-0005XU-Qy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Jun 2021 12:42:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrkEM-0005KN-3C for bug-gnu-emacs@gnu.org; Fri, 11 Jun 2021 12:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrkEL-0005vu-SI for bug-gnu-emacs@gnu.org; Fri, 11 Jun 2021 12:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrkEL-0005Ay-R4 for bug-gnu-emacs@gnu.org; Fri, 11 Jun 2021 12:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jun 2021 16:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48809 X-GNU-PR-Package: emacs Original-Received: via spool by 48809-submit@debbugs.gnu.org id=B48809.162342967019828 (code B ref 48809); Fri, 11 Jun 2021 16:42:01 +0000 Original-Received: (at 48809) by debbugs.gnu.org; 11 Jun 2021 16:41:10 +0000 Original-Received: from localhost ([127.0.0.1]:39857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrkDW-00059k-9y for submit@debbugs.gnu.org; Fri, 11 Jun 2021 12:41:10 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrkDS-000594-LW for 48809@debbugs.gnu.org; Fri, 11 Jun 2021 12:41:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1623429659; bh=r3VmKPNiWOS/YjcsaN2c8Ico6wDUpGd+Gqn9RtbufUM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=gDW4rIj5nxRnHj7dFnGaiaDh3DpO1qLHJx8L16GgCzAKgpsOpdqqcQ1zWFz/e0Xj6 9c+jGtBVPMMEiQWvPz0u+ngsJVWPjoboxeX1G4BANpZujKPecSS/yd6GerYmDSJvAS V67EZJG1qH9//1XX5PgEhkEREXtegZrejSKBtlF8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.195]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MJmGP-1lc9Io2r29-00KAcA; Fri, 11 Jun 2021 18:40:59 +0200 In-Reply-To: <87y2bgfw3h.fsf@tcd.ie> Content-Language: en-US X-Provags-ID: V03:K1:Ks5BnQjuo7NYRVBxZxr7XwRXZ07V4mvLkyqRZDuZRLGTbnKg9q3 HSuEA3/v4dtmN2yteWW0QjaEdursyJzwjYZI5M+S18z6Xt4idUJpL7o1Hz+M/PwQJfmqrx6 itAbuXOnvIla7NkcrKJvKQGJUHiSCE6RegxbiMxoLHCGhxyHLZYogubiOjLmXOmjRDFUHy2 en2jNoNyavlUWjbPRGZrQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Le2/OE3aBHg=:H92G1hsVHlqWL2cELxjhTA 6i139XVPQBk9rycCHYcbJ0UttYo2Lxk1iLrsBijFTCE7yYTMmzgzRJjvmVPBC2M0aNsUnIqcA HAuXLxt35qBBhfmRxM/bjBdFzfe6669RxMaanO7q4Mm1b3xMthbfQddzcUyEzIHdYiyuwZPZT A/EJfD4IgDFX8R+FZy0SWcxyXSOniwnG2DYQQFZ+0X8ERUdWh6TK0p0SclBOPFHVylP7yg35s bI5QQap7NEKZc6CguaQv1rEKUIa2oD9Xl3FmpagxrC7KG3E9fM9FJcvwPN2cvSoPg+9tbdAZ3 D7F9b/bDW+2hz+C2Lo/arCmLCTx8Ng/BlyJl9JWO/el2upPm4v5ogA90N6jrdJc6t2LG+wW4D BMh6PT9KwDh0NyE7RWeRb4EWaj+vTURiYVlwFJ5O3eNxL2HZP5Me7Imq0dEzZAh7H4m/O6L5j 4a8PhICau2uAw9IltZ4EikXFhad4lNhGwVaFiRo4gOS/Ce492bCSeyIRjAqk1CsxXLBK2r1Ho M3PNTjCjykAjp68uxK/XeWXTQ3jZfbirthhSBMiOkNLCwPI+DAJ3hvrnBXlCXH57gLdRcsmD4 7mn1OBK/A96gQloBIwZgOTnqVGua3BSl2aQj2skzCQaiC/oSk+fljvzSJCnmWYHjTAaJk08zO wqfm9Srnq+OmWBzZrZdKTX2NWDePiEYY8VdhqmJAxGFPJwMAkz6xMqkXKpIROIYAN6JwZUUFg 7PUANHGGXsKUp14L8J+lKqjISadV0Bp1RnuYhZNS772FwiStm4ujFP2fnP8xVzQLmyBjUCfG 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:208348 Archived-At: Thanks. What I get here with Lucid from the line starting with x_make_frame_visible is x_make_frame_visible MapNotify, not hidden & not iconified, PS=754x686, DS=754x686 change_frame_size (5), MS=18x36 IH IV EmacsFrameResize, PS=754x686, XS=754x686 change_frame_size_1, delayed, PS=754x686, XS=754x686 EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686 EmacsFrameResize, PS=754x686, XS=754x686 change_frame_size_1, delayed, PS=754x686, XS=754x686 EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686 EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686 change_frame_size (5), MS=18x36 IH IV change_frame_size (5), MS=18x36 IH IV What you get instead is x_make_frame_visible EmacsFrameResize, PS=754x686, XS=956x1029, DS=754x686 Here your WM asks Emacs to resize the frame to a native size of 956x1029 pixels instead of the 754x686 we asked for ... change_frame_size_1, delayed, PS=754x686, XS=956x1029, DS=754x686 MapNotify, not hidden & not iconified, PS=754x686, DS=956x1029 EmacsFrameResize, PS=754x686, XS=956x1029, DS=956x1029 change_frame_size_1, delayed, PS=754x686, XS=956x1029, DS=956x1029 change_frame_size (5), TS=720x648~>922x991, TC=80x36~>102x55, NS=754x686~>956x1029, IS=752x648~>954x991, MS=18x36 IH IV ... and here we should apply this change with a new inner size of 954x991 pixels. Something must go wrong here because the remaining lines do not indicate any change. EmacsFrameResize, PS=956x1029, XS=956x1029 change_frame_size_1, delayed, PS=956x1029, XS=956x1029 EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029 EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029 EmacsFrameResize, PS=956x1029, XS=956x1029 change_frame_size_1, delayed, PS=956x1029, XS=956x1029 EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029 change_frame_size (5), MS=18x36 IH IV change_frame_size (5), MS=18x36 IH IV Does anything change if, in adjust_frame_size in frame.c, right after the adjust_frame_glyphs (f); calculate_costs (f); SET_FRAME_GARBAGED (f); /* We now say here that F was resized instead of using the old condition below. Some resizing must have taken place and if it was only shifting the root window's position (paranoia?). */ f->resized_p = true; block around line 893 you insert either of the lines windows_or_buffers_changed = 40; update_mode_lines = 40; or both? martin