From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#38497: 27.0.50; Frame is not rendered when frame-resize-pixelwise it 't Date: Sun, 8 Dec 2019 09:57:51 +0100 Message-ID: <15ff2306-02dd-ea0c-d5e0-ccc6de865c22@gmx.at> 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> <87muc3bf9q.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="144951"; mail-complaints-to="usenet@blaine.gmane.org" To: Ihor Radchenko , 38497@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 08 10:02:23 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 1idsSM-000bcA-Kz for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 10:02:22 +0100 Original-Received: from localhost ([::1]:57048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idsSJ-0007BI-Bk for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2019 04:02:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44499) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idsPA-0006Op-61 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 03:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idsP9-0003aj-1V for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 03:59:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idsP8-0003Zz-Sr for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 03:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1idsP8-0002Ob-TU for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2019 03:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Dec 2019 08:59: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.15757954839060 (code B ref 38497); Sun, 08 Dec 2019 08:59:02 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 8 Dec 2019 08:58:03 +0000 Original-Received: from localhost ([127.0.0.1]:50461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idsOA-0002M4-KG for submit@debbugs.gnu.org; Sun, 08 Dec 2019 03:58:02 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:55831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1idsO9-0002LL-61 for 38497@debbugs.gnu.org; Sun, 08 Dec 2019 03:58:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1575795474; bh=A9TdFENE2x1CD3Qo6jBPVuehKL0QvBkaNxcyXPRKldU=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=f4A7WTVFI59LTSB+aOJrohH+ohfV5azkn5+c4RDhPatJFbxghhznpYsQw1nXENszx RWbptq0086jG8Ibnbqf9MPXJzq3/QWOIwWh/kl30RaKZqF6Kzhm+SeOqZnItKd7kLE cDGRFEL9nAPRu3tBzuhAk05k50vdAs+2Tjn0xueM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.209]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MAfYw-1iSpmE2LrE-00B6P6; Sun, 08 Dec 2019 09:57:54 +0100 In-Reply-To: <87muc3bf9q.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> Content-Language: de-AT X-Provags-ID: V03:K1:0eS8O5ujJgFgEL2bkFhBCTB3viYcMgjeOCTd56tp8+ydzRmc/Ny wOheUc4cL4ZfD+drnlL5uR6r7kXiBQ2OEzgkr45fXn9CPvomooAUoM4iP9rkMH355scfy4k N10fFQ/eUbHjG+dMSnfb+t5ROgI5jegDQxD5WFCn8EMbaGtWN1jxwlyQ2Hy0Xy/eHNRyzzw fvhHPotULuwtajm2j1Q7w== X-UI-Out-Filterresults: notjunk:1;V03:K0:fcVomg/5hjQ=:a6L00cZm/NmUrtUFhqiYii Gul01F841gllR2ITpa8Pu7e4tUQ4aO4Wp2+LfK+6EhchOYWsyEyQZ2dv19wU/7H9HOL1rKIsl Wdaw80pGo0+BYcbLI5/iz9t2xD9VYx6rslkvfOVkxHldezdN6EFPVQR5IOZznc/MUJ1vgWVcy cAleCtHIzn1lmF3YbdkduEUUIzGBxGX9K6C9bGr/6TkMqZj3NX0v+U6XHhZjmXeyBeB2KBoUf N+fzXy5WZqxMBCVSGN735OPRwkxvb2jSXQ6Ve71zW/PWZ6yTK4ihFHS8EiOIP9IG1JYwfkrri XeoZuqp2iqRouDZkrrEaN6CTDe9aW7GR6fQdhWARNj48gOZPT7GcnDVoAwFrzko87ZO1VGCnE TwQEgSn5Xws9hpiFPAAsPpJOId9ih34vIlyqJRX0mcTfKxWaI1kqYVvTQWVozZA8xUnI7QJHW iigKOW68QYOGjoyeYUld3BV0or+2p+5ji26KFwBhV04kfhs0vsLlfN43CoZbK+dfugfVPt7dA MBNPPjpazyHdl3Hzny88M44MkT+5VyUkcBGRkCMqFl6WTp7wJCPvM+R2RmI35eROqdtTz1opY xL4KtzfWEl2ipLe+c8vkLXzNv+CK4puynkCdimgu1RAvu4AZ19iaXHczw4xD7lWImBrrmMv/R pewZMmv9wQGYtXcxtwIO6mkwW7NSqX4EHx40l36F3w4gxLPlfm+sADLxKGQW5EU4zwB+CnEwH tASjfgij4ayq5hSxHo5+kbIaLp4YVG0Zg40kflmUccwlhYW7qvDKkveAQYKY5j3Ik3boBiFc 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:173047 Archived-At: >> ... If not, can you tell me the four values here >> when it fails to redraw - that of FRAME_PIXEL_WIDTH (f), pixel_width, >> FRAME_PIXEL_HEIGHT (f) and pixel_height. > > Not sure how to get those. By running Emacs under the debugger and putting a breakpoint at that position. But let's put that aside for the moment since, as you say, this part is not the real cause of the problem anyway. > Actually, this piece of code seems to be a more specific reason > triggering the bug (see the relevant patch attached - that patch makes > the bug disappear). Unfortunately, that patch breaks pixelwise resizing. The frame could then be resized only in character size increments, defeating the entire original purpose of 'frame-resize-pixelwise'. > I tried your suggestion (no idea how it is different from original code > though). It makes no difference. I would have been surprised if it did. > A possible hint to why this code fails to resize the frame is that my > WM resizes the frame as soon as it is created. It is not a gradual > resizing with mouse, but rather instant resize to pre-calculated size > (according to layout). I can sometimes even see the frame being created > with much smaller size for a split second followed by resizing it to > target size. How do you create such a frame in the first place? martin