From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#66247: 29.1; Transient frame problems with Emacs 29 on MS Windows Date: Fri, 29 Sep 2023 02:22:00 +0000 Message-ID: References: <87y1gpn5a9.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5683"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "66247@debbugs.gnu.org" <66247@debbugs.gnu.org> To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 29 04:23:06 2023 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 1qm39l-0001GE-QJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Sep 2023 04:23:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm39W-0003gs-2A; Thu, 28 Sep 2023 22:22:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qm39U-0003gQ-Jw for bug-gnu-emacs@gnu.org; Thu, 28 Sep 2023 22:22:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qm39U-0003lB-Bh for bug-gnu-emacs@gnu.org; Thu, 28 Sep 2023 22:22:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm39i-0000tY-Ey for bug-gnu-emacs@gnu.org; Thu, 28 Sep 2023 22:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Sep 2023 02:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66247 X-GNU-PR-Package: emacs Original-Received: via spool by 66247-submit@debbugs.gnu.org id=B66247.16959541463382 (code B ref 66247); Fri, 29 Sep 2023 02:23:02 +0000 Original-Received: (at 66247) by debbugs.gnu.org; 29 Sep 2023 02:22:26 +0000 Original-Received: from localhost ([127.0.0.1]:54756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm397-0000sU-QM for submit@debbugs.gnu.org; Thu, 28 Sep 2023 22:22:26 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:9472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm391-0000sG-Qv for 66247@debbugs.gnu.org; Thu, 28 Sep 2023 22:22:24 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SK9wTd020234; Fri, 29 Sep 2023 02:22:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-03-30; bh=SGV465fik8itgwrP5Vw81iTxJ+Enw6A5QjeiJ4U1nTo=; b=fsZoW+fA2Q7AikxsJtCqsGdjQ++hMOKcEpf9ujdIPaCmSr+AZ21i3KcYwMu2K9Mdm9dh 33dW5jtMzlIlp5k3bsID/d+FYLFpbefTOT/PaSmU4yt5yCmX9Zcml3A7ZV2KX/cQZxgu c9iaJi0uzZ/SqC5PXcSpHOqY+/ZxkI2ZRLbjp1GyKhVjFjghUdlE7woefDsYqyIuJMQs M+RcYkYN9NnDeVHMn8gL5bSi1BBiU0aTjSttGlMILRuppDqgSeZYPDPGK9ltbQaGgTup /aMm/QJBX51RUwfkZOTgOqZJ3TBy1vUh5LQI6AH95txzHL0EgDFvau4HhoLx24/3bCBj 7g== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3t9peedr1v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Sep 2023 02:22:03 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 38T2JHWr025399; Fri, 29 Sep 2023 02:22:02 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2040.outbound.protection.outlook.com [104.47.73.40]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3t9pfgkrm8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Sep 2023 02:22:02 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dXG0b2JbtVc7FPLmUjP4mrF6VDiJ2HGb4yXbzct6L/MqIPjBhGwdNdBf1NqgflPPl8998RbRwrhblda/rcwntmous5zJiZI+KxJr+TjXUq3FoKbJhIcdTtE65o12rT2T4ltBgABOQeBx5ICFyp8ZJVgFh0A8J5jc0PV2q8KuH73liTaeay4VBlnquLklxFswsI2Z96WicyCkluGPxi3LlC9Pwv9MG64pURXMaPQZFHTz/UGX//YHOCIUsOuiJ+Toisvop1J01+CEGpMmteeG5HciLG9A1j3nlR8qByFOlqzg+51qHGTHrUhgpYFU/G+UVkGYaRmTSOmxDxwilYTY8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SGV465fik8itgwrP5Vw81iTxJ+Enw6A5QjeiJ4U1nTo=; b=ANxac8Ml4AcuPR8BOxGDXtzozbCnJP51uPuUHkNwY9Jao5UyFdKkxGeFgoPH1k1/LKbz85zlLPFlyq6ImzAhJiefabEIP9m6w16kIPy4vfB+KMmpXHse746P7OHZk2XAHJJY5AzLCXQyirOl/DPLeeqgqHEgRXE2cjT7xgxR9/A+GuCEpkQmRN5emSo66T00nXhnRTDZs3n9RpQNlG2PnNkjZCpuijR5OqPKffiXuPERWEsL8KpSaKtNRt/e3dF3Y/3iYm7mN0F3Dpv+g1ipaM6EP7ZYbmFNmm9fGYrFaoT3fN0wAoIyUxI5YKIrYx1S0KE3/hRU9zUGCH6i9FaBRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGV465fik8itgwrP5Vw81iTxJ+Enw6A5QjeiJ4U1nTo=; b=OqB6PPSp6DXswJTzcQONEocCJLATaG11emBbtxgc9Jl84kwO3+I9jnxEVuoSlcNkbfgHBAykbr1CwhmRWtjQNAHcu7Eano7THT0hjHSXEybms5Za7tUem7eaJ4L3l3LQmK3+kz6p6wNnChWCjVhW3AvQTKSG3iQRpPutH/x4T9U= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SN7PR10MB6361.namprd10.prod.outlook.com (2603:10b6:806:26f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Fri, 29 Sep 2023 02:22:00 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0f1:7d40:5be2:8be7]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0f1:7d40:5be2:8be7%5]) with mapi id 15.20.6813.027; Fri, 29 Sep 2023 02:22:00 +0000 Thread-Topic: [External] : Re: bug#66247: 29.1; Transient frame problems with Emacs 29 on MS Windows Thread-Index: AdnxrAfoysPMZVCVSKaJTfH8IL/4fgAxzfBIAADrVgA= In-Reply-To: <87y1gpn5a9.fsf@yahoo.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|SN7PR10MB6361:EE_ x-ms-office365-filtering-correlation-id: d1f1d870-554c-4ad6-8126-08dbc092dc96 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: fdOd+pgN3zx5W9/HWAhOWpYQc5519wHPmROfTGYS+8Wvr9l0zRXnSE8t/Pk0zp0I6EIM8mhSmF2p+SHrDTcbLCsJSu7wOyqKwPkVZKM3vFyo/aVbuVuQ4aWShBi+jc8T5eAKhKdkiI70btmQWcOvJz4aboBePn+FckVV1Z9vP3qg8pidk1AQXD2DXhgGLzqiIHxyliPxv3Fd19VdUyldyBTy6AXDmlFaYcCFtqhdQRBCqKrguwCdFC3s1XcUjLLND2dqT061Ixt/TGJFAIODjcXMNpu932jjfwXDcppOqDP0GkKaOGLkfsO/+EaXpIEgSYu+zq+cOgDT5QIdoOVdFGrA6TtHfP93c6m9VX19kImTnrU9Y0GUPhL2SoF2FyiuwF/3ldLjlZUrqqAb78Qo3GZLDhycnE4PhkkIpX8nB+Ki4MwiCDZGcwil5MuFdD7gyW9DGSNi4xIgNASJ/gC2mUrLpat+QqXhGd3E4pzMgLfgGX0Tcg/zBTtQ3JPY7EbU+hu3cGfLSrM4CvbI8LyUxVC5mg/GwT+WJeJtUPGRP+KOMSGibhvDPO/T6G22QVFJ/i0FfifxhkwIu1houTqeU5ehbuTL4ML7qKn4vvyav98yWozg2Wxpeq/yoHFE3MvGLNKTjlK9htugLm5khvc8GxGGz+mV9YRG7kjKT/YD4dc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(136003)(366004)(39860400002)(376002)(346002)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(8936002)(2906002)(83380400001)(33656002)(8676002)(5660300002)(52536014)(86362001)(44832011)(26005)(66946007)(71200400001)(38070700005)(6916009)(38100700002)(316002)(76116006)(9686003)(4326008)(66476007)(55016003)(6506007)(41300700001)(122000001)(478600001)(7696005)(66556008)(64756008)(66446008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: tRNXi+/XNbwB3h78rBJ7BccSDGkZM0gJOR8yx48jpicqBV0AmKHotoHR/kOf0kHXlDd23KxEtvrAv8JUESDyQhdqfvRDRk0bDOOcTYbpMCqVvpvQdVXBTMCL+XRsg3nv3xuQRhb7eIfJ9UKJndmcNKYdNiRlovcD02EKKT6sKZYt7kW5k/KGF2CHt/9a71XUd5Ps7e5THiQ1WPWLkk0V3CEcAC3VZ2q9NyuPhxxyDHn4EAVYIuJHZOuc+JrH3n+It3PyBUCk3Wst75o4XdoH4ok5R/B+JgIvRszHmpAZqNwH7rndx5gYGX0G2KgkpE8HDrh1ZYrI2yFA9fUM1HnS748Pxp8L1X+jxEc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wEHtTdz1phTlp/GaHFq2q4KCbl5KXU4wddXePly9MtoVLq5IFjM3JRtLx69EN7hb9p+Qhk34P9eAM8P9O5LDKe43OKl+UUVxKK3AddY8oL2wLbVoo5+vsQgFXlf5DmcMKLpN0zB873y+a+1atqkxMGm1e7PcpQb9aed95+qNrpBOzW+d7V0aCaZCHYnD7n8tb1mn3TsX/G3aeiAP4jNRYpcL3Ewtw2aKGeR7rMOYgRGzf/ozSxEm3kVNZOiaV6KKe2qxO8h+ ucmCMjgZuukXtOa2X3Ze250YDTy73UsYQevnWR89P8DIevcBOe/Q1cUNoOYvQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1f1d870-554c-4ad6-8126-08dbc092dc96 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Sep 2023 02:22:00.1128 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GPV5BgU16IiM+F9ld6I3uXCNFkNMYwwe5JHYhkiLE/Z06grnqAYb90zTqzHvCNw8t2psmIwHNTTma7IH68dGPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6361 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-29_01,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290018 X-Proofpoint-ORIG-GUID: 90XtbX6MnRQKkKHZcKDQ48Mi-868LPzQ X-Proofpoint-GUID: 90XtbX6MnRQKkKHZcKDQ48Mi-868LPzQ 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271459 Archived-At: > Emacs 29.1 supports double buffering under MS-Windows, which incurs a > minor performance penalty on frame creation and resizing. If you wish > to turn it off, you have but to insert: > (inhibit-double-buffering . t) > within default-frame-alist. Thank you very much! That helps. I see mention of this in NEWS, now. And I see it described in (elisp) `Management Parameters'. However, the positive reason that the default behavior was changed is not really developed. Both NEWS and the Elisp manual just say that the default behavior (double buffering) aims "to reduce display flicker". Can you (and the doc) please say more? And this language in the manual is, I think, unfortunate: if you "pine for that retro, flicker-y feeling" then set the parameter to t. Has anyone ever really reported any such flicker on MS Windows? I've never noticed any "display flicker" there. Quite the opposite. I used Emacs on Unix decades ago, and on GNU/Linux a decade ago, and compared to that the display of frames on Windows has always seemed far smoother - and quicker. I've read GNU/Linux users gripe about how long it takes to create an Emacs frame, for example, but I've never seen that complaint from Windows users. But maybe I don't know what's meant by that vague term, i.e., just what to look for. I have multiple Emacs releases, so I can easily compare - I'd like to know what to look for, to see something possibly positive about the new default behavior. ____ Also, the problem I described disappears for the most part - the transient black background, for example. But half of the problem remains. The frame still transiently/briefly retains its previous size, as seen clearly by the scroll bar staying where it was for seconds - then finally jumping out to the frame edge where it belongs (e.g., in a single-window frame). IOW, the frame does not appear altogether, at once, in its new shape. And I think it doesn't get to the new shape as quickly as in older releases. Perhaps there's still some remnant double-buffering behavior? Maybe the new implementation for some reason doesn't allow for the same performance and integral (everything-at-once) behavior as the old implementation? IOW, the new default behavior is apparently _not_ completely removed by setting frame parameter `inhibit-double-buffering' to t. Dunno whether anyone can easily reproduce/notice this annoyance, but if so then maybe this bug can/should be kept open till that's fixed. Maybe there was some small oversight in the implementation of the change, so that, e.g., the background is handled more or less OK (as it was in previous releases) but the scroll bar or frame edge is not yet handled correctly. And in any case I suggest that the benefits of double buffering be documented better. So far, I haven't seen them. To me, previous releases on MS Windows are superior wrt frame display.