From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#38497: 27.0.50; Frame is not rendered when frame-resize-pixelwise it 't Date: Sat, 14 Dec 2019 17:38:38 +0800 Message-ID: <87v9qjl00x.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87wobbjlm0.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <7caf72bb-1dc0-6e6d-430a-5c28295fb80c@gmx.at> <87tv6fjco6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <20b3b02b-8018-49cd-4ab3-702ccf9e1c28@gmx.at> <87d0d0i7hk.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <25861c90-bdb5-e873-7da7-22a8d997f4b6@gmx.at> <871rtghy2v.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <2975a018-4c5c-4da4-f236-8eb4338a9829@gmx.at> <878sngvhaf.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <13a1e840-7ca3-fb70-e773-de12089bd97e@gmx.at> <8736domoza.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <94dc09f8-6ef4-f493-db7b-52b0d218f715@gmx.at> <87zhfwkwb5.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <647006dc-42e1-a242-4fda-2f129943fc98@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152415"; mail-complaints-to="usenet@blaine.gmane.org" To: martin rudalics , 38497@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 10:41:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ig3vE-000dXB-P6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 10:41:12 +0100 Original-Received: from localhost ([::1]:57600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig3vD-0003ga-H8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 04:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41769) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig3v7-0003gT-Ue for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:41:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ig3v6-0000Mu-P4 for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:41:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57220) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ig3v6-0000IZ-Ej for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:41:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ig3v4-0002UW-Cg for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2019 09:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38497 X-GNU-PR-Package: emacs Original-Received: via spool by 38497-submit@debbugs.gnu.org id=B38497.15763164439542 (code B ref 38497); Sat, 14 Dec 2019 09:41:02 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 14 Dec 2019 09:40:43 +0000 Original-Received: from localhost ([127.0.0.1]:34960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig3uk-0002Tq-Rf for submit@debbugs.gnu.org; Sat, 14 Dec 2019 04:40:43 -0500 Original-Received: from mail-yw1-f54.google.com ([209.85.161.54]:42191) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig3uj-0002TZ-Mb for 38497@debbugs.gnu.org; Sat, 14 Dec 2019 04:40:42 -0500 Original-Received: by mail-yw1-f54.google.com with SMTP id y125so575449ywe.9 for <38497@debbugs.gnu.org>; Sat, 14 Dec 2019 01:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=/eOmtDDvmjbezMDpw5V4irhABsJUQbqS577gg3ucGCY=; b=Va7D0xObevCMDp7LQAida0zpL3QpKSKQas7U2LxVjnKjpDzbF1pH2z52+oqbhU1E6K S6drUDT1b+kmsgLdbGUqOXUIlq3QO7FXsVsb29YlAef/R8jWvJ4WnYatST9fSU5Nr8vq 8PbWkyjnaB8931NZZET8NFYF6m46mZQWKwzjn8bpF7vF3JoI/mVgB0I5vMDI0mB9epvA 8yXI3zVHvSuKvfDA67wH0AzZINTtqsNo+Dn1lghxnfdBYFOuXVNaYFzoXWTbRCdosJz1 WR2cm1mKDs1e9EQGRnQ1mH1Cow7LO1QJ7jApN/6ncNTYCzK9EqbzLDZcL35bOLkEO3P0 guLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=/eOmtDDvmjbezMDpw5V4irhABsJUQbqS577gg3ucGCY=; b=MFGiQFgp2eZZF/0MinK50LKsWBcHnhrMVP2uBWJntB3TmIinXQ1TYfsGTSb+hes9m2 6aeWENc0ky/Nngi1RlfF2mH0FB0ln37iKbv5uyOT0JE4zOnfpFSp8quFGSNsbqlqfdrb d1vjVlZuIdctb1TSylpo87oTi93w/nhEQ1lJGvSRwEoD/bfDQxX1FwUxusFkplFZCDpo 53HLlbs3QkOAqVgIJPVeNpLBzdkSJ53O+ILIeQ1zhenOmvEH2K97rUhZdJ9zx37oaz7S PWh2bDiVTjKtILw+ZGUUiDc4+WEIl5gJeBncd6Jz/TGl0ebRtvPg0/i6J66u1C+glyMq 9GYw== X-Gm-Message-State: APjAAAWnzPWtw7w8UtNt1+TElUvWGYsvD5UpB/CVusyJYE/ToI9OCCuJ LwEEirxn20/8ZMbloMRfXaU= X-Google-Smtp-Source: APXvYqzizGxM3D5vmMblEXj0WWPNfv6koV2Hppq8UILIarYD+cOMzyb9goUsbjbzlHvuiQGXuTyZMg== X-Received: by 2002:a81:84c6:: with SMTP id u189mr11882660ywf.439.1576316435936; Sat, 14 Dec 2019 01:40:35 -0800 (PST) Original-Received: from localhost ([5.226.137.4]) by smtp.gmail.com with ESMTPSA id g18sm5268670ywb.25.2019.12.14.01.40.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 01:40:35 -0800 (PST) In-Reply-To: <647006dc-42e1-a242-4fda-2f129943fc98@gmx.at> 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: 209.51.188.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:173318 Archived-At: > OK. So we have a simpler scenario now. From the screenshot I cannot > understand where redrawing hangs. Is input still functional in such a > mangled frame? Does evaluating (redisplay t) change anything? The input is functional. I can split windows with C-x 2/3. The frame is partially redrawn (just the scroll bars, as in the screenshot). Blindly running (redisplay t) does nothing. > Two additional things you could try: What happens when you use 0 > instead of 1 in the XtNwidthInc and XtNheightInc assignments like > > XtNwidthInc, (XtArgVal) (frame_resize_pixelwise ? 0 : cw), > XtNheightInc, (XtArgVal) (frame_resize_pixelwise ? 0 : ch), > > And what happens when you skip these two assignments entirely when > frame_resize_pixelwise is non-nil? Let me try and report back once I finish. Best, Ihor martin rudalics writes: > > I mean literally. Emacs frame does not redraw properly. I tried make > > several window splits after M-x menu-bar-mode. See the attached > > screenshot. > > > > I don't even need to change fonts or load emacs theme to trigger this. > > OK. So we have a simpler scenario now. From the screenshot I cannot > understand where redrawing hangs. Is input still functional in such a > mangled frame? Does evaluating (redisplay t) change anything? > > Two additional things you could try: What happens when you use 0 > instead of 1 in the XtNwidthInc and XtNheightInc assignments like > > XtNwidthInc, (XtArgVal) (frame_resize_pixelwise ? 0 : cw), > XtNheightInc, (XtArgVal) (frame_resize_pixelwise ? 0 : ch), > > And what happens when you skip these two assignments entirely when > frame_resize_pixelwise is non-nil? > > martin