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: Sat, 30 Sep 2023 15:22:30 +0000 Message-ID: References: <87y1gpn5a9.fsf@yahoo.com> <87ttrdn16x.fsf@yahoo.com> <83jzs9x7n8.fsf@gnu.org> <83ttrbaiba.fsf@gnu.org> 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="30086"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "luangruo@yahoo.com" , "66247@debbugs.gnu.org" <66247@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 30 17: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 1qmbo9-0007Qk-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Sep 2023 17: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 1qmbnt-0007M1-08; Sat, 30 Sep 2023 11:22:49 -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 1qmbnq-0007KP-Nl for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:22:46 -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 1qmbnq-00082x-FV for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:22:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmbo5-0006bm-ST for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Sep 2023 15:23:01 +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.169608737725389 (code B ref 66247); Sat, 30 Sep 2023 15:23:01 +0000 Original-Received: (at 66247) by debbugs.gnu.org; 30 Sep 2023 15:22:57 +0000 Original-Received: from localhost ([127.0.0.1]:59662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbo1-0006bQ-C1 for submit@debbugs.gnu.org; Sat, 30 Sep 2023 11:22:57 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:21298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbnu-0006bC-TX for 66247@debbugs.gnu.org; Sat, 30 Sep 2023 11:22:55 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38UDZ0IW029563; Sat, 30 Sep 2023 15:22:34 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=o4FpCHFXPKmduHIX3ixWmOS7qJd5FHXAyfkgy06w8UU=; b=l0RQTVm8LvMyORBn2zlBqc9dKTiiBx3XtaumuksOocGIPBU4dtJiAM3poLbyNQXfS1ez dGfdyWFOSYgbIJQKFU7Xek9/y4cPJUJIBy43imrkk1YphIg06J/thCTGZ4JkoU801b8H Z5bDphKAWLLtK9TiWWV+SYRX/mjsnqGVxtfsyQQv0gcO/0CJEGX/7QFMfEJV3+t2kppO gwerjwA4Dm6ptS8M94ixCah3LPktlbPzXMfU1kGjKR2vMgoZSEQh7lZwow7vjhpa1OCK RWT42GL6yMW6VoNqRbWxcmgAY/kLLF2loMghb99tp2dcge95jKK1mCm3rvlIpK7rw26Y Ig== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tebjbrfpt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Sep 2023 15:22:33 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 38UEOkZr000647; Sat, 30 Sep 2023 15:22:33 GMT Original-Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2043.outbound.protection.outlook.com [104.47.57.43]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3tea42tmw9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 30 Sep 2023 15:22:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BtwktJMNz3pXK7iVGU795Rwj1DmhyOwvPkwMUGpRwyG+esuX59e/VwKkb5dCm9lv4tDCygo0a/bZlu+GlMYp2CjkvKlrsLBlvX+ufqt27mRlJwzTo+XUyF36T+ygA9Ty9wpNbjvoa7enTufM27T0wQ48/q7HeECE1E0dkgnIUI10P0TKSdsgBRlo5SfW99byzL+actE8T1g9IGEuM8pM1w8M9IiEPPsvCGABUpPDE6a55ujAFWm7sh3qYqcj/yhBejDuS/0bI5maqvMuH3kep7OJDt57X0TjJf087Vk/eXYZ2470oRZRUPwpPDw1i9ZrXPli4e7poJPLGM+RtMFy4A== 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=o4FpCHFXPKmduHIX3ixWmOS7qJd5FHXAyfkgy06w8UU=; b=ms4lpXyblo/q0CP63oszXeai1qR8txlcAbLX/lu6NAcEF7O0XzcUDXIr0pEzDHzZPKJyvm79JyIBXlBwfCDUVfqcwP3ZtEtebucZ2zKy3MzCd7+sKiLJ6hzvvGSKeDfvalk8l8ozc0tEkH3NP6q31edjXLdFCI0WHmvgfPUAaHiPgQ8VQvJvqFmySaBuvZ/gv9YKv6dj/S59woqu7I1aStqOO4UiFmAMHr6mtObJ80jFTYCrB8EPKgXLP2JjmOg0+Mj0tlUdH/zjbGR05JBEOs0sQ3SJWrjhinMvhkwCYtDTme2ywhXWD0KweOhCZJlKGNzx3eWlauMrrpAJbkwvJA== 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=o4FpCHFXPKmduHIX3ixWmOS7qJd5FHXAyfkgy06w8UU=; b=iXO2J+PEZU9undGBmolDVjJGxDr0twwAqEAlVj3cOrgbpWP80bpPkKxraUmxXPNkDGQklbMNTt5DJtg6olfKxXdJ11NT589L9JwFh68rjvT7LnRDsAKw/iXZOQjjLieHp+Oxj3ecFhUekuQRAtdSX9QDYg47f96bFMzYyLemI54= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by PH0PR10MB4726.namprd10.prod.outlook.com (2603:10b6:510:3d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Sat, 30 Sep 2023 15:22:31 +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%6]) with mapi id 15.20.6838.028; Sat, 30 Sep 2023 15:22:30 +0000 Thread-Topic: [External] : Re: bug#66247: 29.1; Transient frame problems with Emacs 29 on MS Windows Thread-Index: AQHZ86QFmJS+kfiPiEah6zvueP288bAzeEDw In-Reply-To: <83ttrbaiba.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH0PR10MB4726:EE_ x-ms-office365-filtering-correlation-id: 57db51ef-f9ba-454b-8504-08dbc1c91032 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vaQjuKwxJ5C8Po74YnsUb2qVCaeL5RmpqnjhjRc4jYpYghmboSvzi64fmnqXhX4Y7tm8aC8diryK9Oaegp0ZwLshCZ/tCkEqI+9IO1Z09HpBqtshOchqHSMwK0cIHzAmWbWTva/R6fhbpwYY37Sz//Ih4lnGbQghrW7FdcadkpT7xukut3erRRpY1ZJXgUIktq80XotuOkjODuT3v3uF4S1pESmrrtIHbl9s7ICPnF9sS5V3zWgpH3mLn8ihS+vMSkb/NJCunIykjphE5OQY961+BpIfPzrCFsdcssISjJXNdv+G7PkOZvPh88Dt0FsWJfPJ2yv2FUM6vmeo42L82vJkwdjaSxD4MW0J2feyLFjP6LrUSaXFn8FgMgi3gOliK46avZ3bJO/OEbxZlKJr971LFFnC99AtDgAiFo/KuGI+B6+blElM6hSYRUtwsL4S3nCdTBSF7SCg8SxTffTptLtDPe7uRPWmolZ8B198UBY8ApEvjbiNn1gODPX8lYHGo1arunChdfH2ueosmhrsAssNtRCIbkMgOPWwh3oR2P78nJrI1ReFHOdW65q5aITT17AalKxNiKgT73ispaDw/zToByU22clZ/R/ke+j4X+Ydf+JfDtHAWdS6bAx7HoJv 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)(39860400002)(136003)(396003)(376002)(346002)(366004)(230922051799003)(1800799009)(64100799003)(186009)(451199024)(9686003)(52536014)(83380400001)(8676002)(54906003)(478600001)(76116006)(64756008)(66946007)(66446008)(66476007)(66556008)(6506007)(8936002)(7696005)(71200400001)(44832011)(6916009)(316002)(38070700005)(5660300002)(41300700001)(38100700002)(86362001)(2906002)(33656002)(55016003)(122000001)(26005)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 0ezArEVazS7OT/PBqUtEXjo8G2v2B+McltOqQfS4B7KpU7y0VU5hDJ9Zx2IKHGS/nobUCPHLf3eoN142fNr+INX+BPjVfGhfNi7zDyA0Y0OSZlpV0aonAAMbVlQLG9CCdoMJnaUW4yGy6oQ73KZ1augH2GqApB9bXg649P6MiMTY9i1aUi3NLaKxvQ04Abj2fz6bh4vyIgJVTpxlBIAB1pkTdeOgE/8EoRgYaC+DArT8TGv4m5Erwf0+UP/J6Pf/blVgYDq1BzrYWXh8QyPrtkgu9cmVWXftuhrs6odI/mcFWo36onCgtiKubk3AiqBacI09tWlbAlXLlJKMSn54uJ7mYR1Upvm5zj96oVo7952kIcQLN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TaliOcW4LYzktqf0JHjeviZd/6LN9TOoRau432zHh4c/n3rGTOl+5Nd7teaANHyy+UI/YY5UqWgFAulAXD6fCGBeB2IPOlQ/X5I6r3eNKi3PMRrgJtwERU2LP/ORs2ehjk32A7AtclsgulonWYOKq7zEKcUrrV1kZkXbtKcnP/VmpWP8/fmqzE0NCCSltfXTBcSQQxrwvjmAgRpSARUNboDAObrclRSa0ftM K/CsayoG6aqX61amNZGgtJeoQ9guS4ktfb7JL98uDCv2hV7bIuXJn3vorPt7YrSTKxKiMsns72CUvQeIZ7 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: 57db51ef-f9ba-454b-8504-08dbc1c91032 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2023 15:22:30.7252 (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: 8LfPPN6UoN+JuBcIFjbYvh1H5fspF2JzjsWzPorVrdJmrR123SbvbdaASA3dnUoVlB9feCHzIRTcyBt7t6Zjuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4726 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-30_13,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309300127 X-Proofpoint-GUID: _jWw7n9_iVN1DRjk0AuNg4Jf2tFqVgMF X-Proofpoint-ORIG-GUID: _jWw7n9_iVN1DRjk0AuNg4Jf2tFqVgMF 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:271549 Archived-At: > > > It is expected that it will cause a regression on some systems, which > > > is why the way to disable double-buffering is in NEWS. > > > > Yes, good. But as I explained, that doesn't fix > > all of the problems introduced. See what I said > > about the delayed correct rendering of the frame > > edge and scroll bar: they continue to appear for > > a brief time in their old positions even after > > the frame itself has been enlarged - and then > > they jump out to where they belong (respecting > > the new frame size). >=20 > Is this with or without double-buffering? It's with inhibit-double-buffering set to t. Whether or not that completely disables the effect of the code that added double-buffering I can't tell you. If it does, then some other changed than double-buffering support caused the regression. > If without, then it is not > related to double-buffering, and should be > reported separately. Why should it be reported separately? This bug wasn't reported against double-buffering. It's about a new, Emacs 29, behavior that introduces (in my setup at least) "Transient frame problems on MS Windows". The background being temporarily all black in between the original frame size and the expanded size is fixed by setting inhibit-double-buffering to t. But the temporary display of the scroll bar and frame edge of the former-size frame, inside the newly enlarged frame, is part and parcel of what the bug describes: the former frame is still shown, temporarily, inside the expanded frame. It doesn't matter how the frame is enlarged - by code, by key, or by mouse dragging. The bug manifests in all cases. The initial description of the bug did mention the all-black portion of the newly expanded part, but the fact of the original frame still being displayed was also part of the description of the problem. Please don't confuse the bug/problem description with Po Lu's guess of the problem being caused by double-buffering and his suggestion that it might go away by inhibiting double-buffering. > AFAIU, the display code used when double-buffering is disabled was not > changed in any way that would explain these phenomena. If you have > older Emacs binaries, I suggest to compare what they do on the same > system with what Emacs 29.1 does when double-buffering is disabled. As I mentioned, I am comparing. I use older Emacs releases every day. I don't use Emacs 29, but I installed it and tried it out, and immediately fell onto the reported problem. > > > We had enough user experience before we decided to > > > have this on by default. > > > > OK, good. So now there's one user reporting > > a new problem when trying to get back to no > > double-buffering. I'm sorry I don't have a > > reproduction recipe. Maybe another user will > > be bit by the same problem and have better > > info about it. >=20 > Even if you cannot show a reproducible "emacs -Q" recipe, it might > help to see a clear step by step recipe with your configuration, which > does reproduce the problem for you. I know it would, but such a recipe is impractical for me, and as I said, I'm sorry but it won't be forthcoming. I'm hoping (unfortunately) that I may not be the only user to notice such behavior. It wouldn't be the first time that has happened.