From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74435: Scrollbar width is not respected on Windows Date: Fri, 22 Nov 2024 11:13:24 +0100 Message-ID: <2db1ba3e-cac2-4633-90f4-fdcb4022e5be@gmx.at> References: <86frnkrhg2.fsf@gnu.org> <167bc233-4116-4273-8abb-615e193e4b8c@imayhem.com> <86cyiopoxh.fsf@gnu.org> <08adb21a-42f8-45bc-b39f-1f95df325444@imayhem.com> <86serjoj2p.fsf@gnu.org> <3366fba9-741b-46ef-8aab-d0570db7a76b@imayhem.com> Reply-To: martin rudalics Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------knmHDBTsGfLRQK9OTwAGUwAk" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20269"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: johann.hoechtl@gmail.com, 74435@debbugs.gnu.org To: Cecilio Pardo , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 11:14:19 2024 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 1tEQg7-00059g-8P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 11:14:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEQfu-0003Fu-Uq; Fri, 22 Nov 2024 05:14:07 -0500 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 1tEQfq-0003EL-PL for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:14:04 -0500 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 1tEQfq-0004eY-GS for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:14:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=j7WVJlkqi+yfGY0y9AoQkcjOzbqLk/BhGyKxoqPCjpM=; b=V36378idcor9PInNiXl81zxZ3eGv/8Ca3yqby1gD37dKPTLnKhyejHegbVJ7BFlQispyktpD9M4FT19zz072eYRPTt/oiHYfzIPHbpuTd/fohDSQGZ1jDbAYx6hEbD5rLE7crPLQICrgL2L6psGMfTRSKnnUOaje66Sqw95QpaETzgAdRUn2cXk1Yw/KSpxYa+r7ZN2arScvQJmLNF9E/1Klyo2DWRIYJaZ6EqhMD3GdKmU2IpuUwX+AtkXhGSn7bpKR/7jKeAc27IDH8vsT/Wo23vDmYun5SyhH1DMbTRrRyyqITd0Ll+8rXQ+S+iG0VwJPEsJYa4ShOBxSmKqlfA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEQfq-0001bS-3L for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 05:14: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: Fri, 22 Nov 2024 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74435 X-GNU-PR-Package: emacs Original-Received: via spool by 74435-submit@debbugs.gnu.org id=B74435.17322704226120 (code B ref 74435); Fri, 22 Nov 2024 10:14:02 +0000 Original-Received: (at 74435) by debbugs.gnu.org; 22 Nov 2024 10:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:53113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEQfW-0001ad-Aj for submit@debbugs.gnu.org; Fri, 22 Nov 2024 05:13:42 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:37981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEQfR-0001aJ-B1 for 74435@debbugs.gnu.org; Fri, 22 Nov 2024 05:13:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at; s=s31663417; t=1732270407; x=1732875207; i=rudalics@gmx.at; bh=j7WVJlkqi+yfGY0y9AoQkcjOzbqLk/BhGyKxoqPCjpM=; h=X-UI-Sender-Class:Content-Type:Message-ID:Date:MIME-Version: Subject:To:Cc:References:From:In-Reply-To:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=qHhZLuc0tk76pbQOZREmmMW/E47uvw+pjfPSspMaw06Ol8avRRW7lF7SIekLJAu0 +RPbKI1X+auOQ9bqEnpxc3sClTUldL95oqRmpw7oIpKKGrYfLxocr+Cyo6+Qk6ub9 RroBhkeBQYLp1pduAUn91OqZdtGVWrAQf1MHerNA+OKz2NpTtm68eZifBerj8wL7s NYtP13VVGAieULbaRvzHxRizMFBrd2YlO3lgjHUTQgjGDly/BQ37eNHyOXeSIpUUR iVIXxAUQT+IUsIQIOOIQXcboFFm5AesOkTy5B9Id4aSt6iuJHhE6Ty32pAXwp4haF 62so0AiZ/M29owItXw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [192.168.31.113] ([212.95.5.70]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MOA3F-1t3bos0Lrl-00WdmQ; Fri, 22 Nov 2024 11:13:27 +0100 Content-Language: en-US In-Reply-To: <3366fba9-741b-46ef-8aab-d0570db7a76b@imayhem.com> X-Provags-ID: V03:K1:C5D8lvdsHIDt+grJrIo4TNsfMAw0twbLry6c5SQ8P/LlNdqgZGX pPEUDaiL1OFlFNqpDAG0d7Eq+ppvxrB1sshrA313FUreNtumA2yQvDJ8K5QhjJelDuMjbfc RlYmvBw5U5CbbP9zMKo+H/cpv8qsN+smf5J9fUjzP0x+Gtf50KwnzCi9E6LTQ5j7mMU7gfe zU9Zxe/DlFtc4z38W/H7Q== UI-OutboundReport: notjunk:1;M01:P0:OO81TPwkoys=;u1vcnA4zM89bmeYQoh46o8HceDZ mnXS0Nf4Rmuh8zfhSoCx411AlZNOjrDbRQ9nDKGNvAK0bcepetsNRi7qloOhgoQx9IC52Di+2 a0wtPdd4JBMYZgOgIpmRtxDYgraZAFG4+wmm9xEBRPQWl2l+SDbwwODBVhjn4LcPiMSidOfsL 20gWLNplhs86/GzMR894pc7Ds+mZhsKxIZhkk832/d9TGYSsbD3WqWHE792whJRyMTydlJj81 eEL1HA9DE04WKhQ/ixeUuOSsxHMNT/5rzbSA6W9CTpMPBtfHoZdthQb4v/B0Pe0lsWWyf5nmY cjfPcHSyOzyGkZZybN8r8f4wukJVu6camFf7FCjkDqowSjEAFBjyP3XjU3rwPzieFxgDwNkir 5vK8wQJJKtAcoYWg5gbKBTMxrsEfkd3RZD0YTUsQ+2RRXwC0uIYBN2g+WQL8lyBf/5O20j/EX jft4fH2+xz/HW1d4GEuSJwtRcv2HNoE68COZX0Y+v+hr9CilSqMVAHdDKpI9HL5jpUKonzSt8 /+7PDzJULuvD2a455/XTH9Bv3AHbNKHUduj7M++JdeYvHdYpWbZvdBQsFyha7Y1DNxG1POAzT 5ftstbL3oN+scSPyWenJ2jhxSb4KIBW0rM5Gpcz+uc3VevftXxlcN6NzRjGUGpoi7PX9DrOrL pUNoj4Q7sDe1O8d/M34kCAJmARyqQzALC3lqmHAscv5C8P8KkWsfQ0gxHa8gmhKJWSJBGl6HL ynDNA17HIHIfl3tZEpVXotkQBzwT2udwXCyY1Zv7y2JYYYRu92AQ58ygTCvweOTVI9Ck2WkM 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:295785 Archived-At: This is a multi-part message in MIME format. --------------knmHDBTsGfLRQK9OTwAGUwAk Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit > emacs -q > > and eval this twice: > > (set-frame-parameter nil 'scroll-bar-width 50) > > > The bar will change to 50 on first evaluation, and got back to default on second. My bad. Can you try the attached patch? martin --------------knmHDBTsGfLRQK9OTwAGUwAk Content-Type: text/x-patch; charset=UTF-8; name="frame.c.diff" Content-Disposition: attachment; filename="frame.c.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL3NyYy9mcmFtZS5jIGIvc3JjL2ZyYW1lLmMKaW5kZXggN2Y0YmYyNzRh ZDkuLmY2MDUzZmNhM2VmIDEwMDY0NAotLS0gYS9zcmMvZnJhbWUuYworKysgYi9zcmMvZnJh bWUuYwpAQCAtNTEwMiwxNSArNTEwMiwxOSBAQCBndWlfc2V0X3Njcm9sbF9iYXJfd2lkdGgg KHN0cnVjdCBmcmFtZSAqZiwgTGlzcF9PYmplY3QgYXJnLCBMaXNwX09iamVjdCBvbGR2YWwp CiB7CiAgIGludCB1bml0ID0gRlJBTUVfQ09MVU1OX1dJRFRIIChmKTsKIAotICBpZiAoUkFO R0VEX0ZJWE5VTVAgKDEsIGFyZywgSU5UX01BWCkKLSAgICAgICYmIFhGSVhO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