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:39:35 +0800 Message-ID: <87tv63kzzc.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="155994"; 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:42: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 1ig3wA-000eRZ-GX for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 10:42:10 +0100 Original-Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig3w9-0003vn-D2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2019 04:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60076) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ig3w4-0003vg-7g for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:42:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ig3w2-0002tr-3d for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:42:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ig3w1-0002t4-Uw for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ig3w1-0002WQ-Re for bug-gnu-emacs@gnu.org; Sat, 14 Dec 2019 04:42:01 -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:42:01 +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.15763164999657 (code B ref 38497); Sat, 14 Dec 2019 09:42:01 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 14 Dec 2019 09:41:39 +0000 Original-Received: from localhost ([127.0.0.1]:34964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig3vf-0002Vh-5x for submit@debbugs.gnu.org; Sat, 14 Dec 2019 04:41:39 -0500 Original-Received: from mail-yw1-f52.google.com ([209.85.161.52]:42204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ig3ve-0002VS-6G for 38497@debbugs.gnu.org; Sat, 14 Dec 2019 04:41:38 -0500 Original-Received: by mail-yw1-f52.google.com with SMTP id y125so575928ywe.9 for <38497@debbugs.gnu.org>; Sat, 14 Dec 2019 01:41:38 -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=RR7nDRklZBx3FsBilOGSfwLC1fDiMgOeZ70/ICdrD70aM7iSVjjfLHNLvGe7XhT+1w KkKtwMaTTYjs968ccOKVa73v3n0yev1OdB0KOPFPI3ZanFsisnrw4SnE/MIjumRSz/R1 dQRP69SEEVBM1A9+raCjy8/cAtS+w/1bEuwN0Q/zdZBaNa4KeYxENxYabHeVGon/TI2H KQJcwcr0RH9yHSJhfYMxnvesS120a2ppORsyNhMBxNugcDKFTDKlWFq8LM8uDKcuBlK7 1Nqsqdqv9RiC9r5896enMgffS0A02thQSFF2eKKsFV3xVRHksbokoeKp8aPytbOT6A6n YrOw== 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=BoSAfNAvV4665upUmLTrwjQq7uaAjl5ODbinHCeFHeqrE50hca9Kwrf1pKYeN6KlvP ctLoPVkxmo0gN3x680Vg9DdcKt148vDSi3p1Og9UFMrmDEXt59pPbiLVzvfs7eCZKqWv ZR20UGOo5kN6p3b3VyTKXSfHONurvNoYRv0uLEKNQC5rU5sG2oQ3pF2taaJNxfVPNAgO RASaC6Zd2YKxAv2nd4H6Q8o64Rt220/bo5KMr5/qTH5+gBoY65xfWhXha+aPR2CmmG/g +W4jFhEWq27X76Aoelrz0V+CwQ+St3vhPLQYumvC/1BhHaafMWwKClqI1FI9pPYueO2d 5S5A== X-Gm-Message-State: APjAAAWP3JYCVHDfYwZ4xpgMpoHsnhOUrD4imaKMSo4UePMwkEHLl5X2 02rbBTlqTxOrv8fmmL50RiiX057o X-Google-Smtp-Source: APXvYqw8Gk6yIIyDjf7qkqmwyW9GhAkkC3SeW8Y6MHCrAgoXyPEgnXUz0atrgoNskmBnB30vC6TMkQ== X-Received: by 2002:a0d:ea86:: with SMTP id t128mr4642030ywe.213.1576316492696; Sat, 14 Dec 2019 01:41:32 -0800 (PST) Original-Received: from localhost ([5.226.137.4]) by smtp.gmail.com with ESMTPSA id 189sm5528810ywc.16.2019.12.14.01.41.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 01:41:32 -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:173319 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