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 18:16:28 +0800 Message-ID: <87eex7civ7.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> <87tv63kzzc.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52127"; 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 11:19: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 1ig4Vz-000DQo-Lg for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 11:19:11 +0100 Original-Received: from localhost ([::1]:58014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig4Vy-0006XQ-H0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 05:19:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig4Vs-0006XI-PK for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 05:19:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ig4Vr-0004p1-5W for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 05:19:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57231) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ig4Vq-0004oN-L0 for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 05:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ig4Vq-0003cU-Bd for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 05:19: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 10:19: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.157631871313872 (code B ref 38497); Sat, 14 Dec 2019 10:19:02 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 14 Dec 2019 10:18:33 +0000 Original-Received: from localhost ([127.0.0.1]:34971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig4VN-0003be-4g for submit@debbugs.gnu.org; Sat, 14 Dec 2019 05:18:33 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:41815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig4VK-0003bR-Uo for 38497@debbugs.gnu.org; Sat, 14 Dec 2019 05:18:31 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id c9so1423494wrw.8 for <38497@debbugs.gnu.org>; Sat, 14 Dec 2019 02:18:30 -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=UCadmG9TgVqyo2tvKWgd5PKg2nCYuChtor8qWZtRExQ=; b=FCSf3UJKD66V8ed9LKz9c4NijqnEyr2rCJXe+sXxd8VFlq/CzBOTE28fcEKCT7KmRa o24mgBaoqaZAEW3Mp3eWhpYpK7WF4V+kDe8lqoP7k98wkpgXLZ4vysyvUkEakB55S56H cxsNAS0KXGDK9or6+8vpiPgr+tvLne0hE/zpjdOc1xko08FugdI2GD5bYQIr7h5PMJvV /GBcjErwOqBK2FpY/+O87JTJjM5D22GNeQXw54WNR8eR93JVwiTQMJH3vissFgV9C4zN fx7Nk4g8IZubLp4VJviAuV+ULIfMTKxmol9ukbKoHqG5CPVbRDb6/n6P7iVPvUnGjP7f 3xFw== 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=UCadmG9TgVqyo2tvKWgd5PKg2nCYuChtor8qWZtRExQ=; b=PFLg+n5eGFufq+RnxpHrk1BxwodQ6OBecHXCGlBl1s2WBUngkSK77TnLGMRecvBPjz IUzwL92pR4sgH4b2ddF6nEI7uiwSNbaBGjectFGwLz2I6XiPJuQ4+Te2k3yo6ZHnYVHb 6sAopkXVlce+5NDZLDm9mH4Xgng40KthTOTPhZxejqWZal0TrpzHktTJX0qWJoBRvk5G CmuAjmjS4/Qp5PnSx6UPo1uzhkoojRxV0L1Gonls6bzNmA6E5AfNZcfLS4uvMqhPiFpA O5yTKWRPOEpyLeOp4H4FzGi2I22Df8XCTDiBoexG6O/3iETzjw2NXuAoeIhAPKZrlG/x WUHg== X-Gm-Message-State: APjAAAXzCgPgg51yZAVpzXD6cD7Kftb2G1fBYpdpKvK63N9hHF3T19Bl vMoYArpwb4u6wJ6rWcCFytU= X-Google-Smtp-Source: APXvYqzq9QhX0QevFPIYGJwFHh8Vp5BbyIEURWocbaR5OIWaAhUA/8hcRayXHtaPidnpiY04jkthTA== X-Received: by 2002:adf:ebc3:: with SMTP id v3mr17834039wrn.280.1576318704980; Sat, 14 Dec 2019 02:18:24 -0800 (PST) Original-Received: from localhost ([5.226.137.4]) by smtp.gmail.com with ESMTPSA id b15sm4553698wmj.13.2019.12.14.02.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 02:18:24 -0800 (PST) In-Reply-To: <87tv63kzzc.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> 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:173321 Archived-At: >> 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. I tried both. I do not see any difference. Still no redrawing. Best, Ihor Ihor Radchenko writes: >> 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 >