From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cecilio Pardo Newsgroups: gmane.emacs.bugs Subject: bug#74435: Scrollbar width is not respected on Windows Date: Thu, 21 Nov 2024 23:21:05 +0100 Message-ID: <08adb21a-42f8-45bc-b39f-1f95df325444@imayhem.com> References: <86frnkrhg2.fsf@gnu.org> <167bc233-4116-4273-8abb-615e193e4b8c@imayhem.com> <86cyiopoxh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11127"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: johann.hoechtl@gmail.com, 74435@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 21 23:22:30 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 1tEFZG-0002jq-PG for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Nov 2024 23:22:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEFYt-0004KA-7L; Thu, 21 Nov 2024 17:22: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 1tEFYq-0004K0-5C for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 17:22: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 1tEFYp-0007vP-36 for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 17:22:03 -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=DbfMc9KYXLTS0ha6qVFC9CXerlTjywhkGepRceEFwME=; b=Z48lFqMtsDcjd6Llhrp/DC/TAQPNpRy8r7ZbwzMrqmiUZphYij2xB2gv/AR0CdjohKlurD6INAM3bljCOCjlQ6ramnJHXuFhrR9m20b86R+jkVfVXSk9f1S2syg2S70HvyqutVRRleXFoFKBdDT1T7KTXXAKJFSzLAnDKESGw4e/10jcKeIa4REyynUevxH4RXyd2xTJbyZw1tQiXYpDND764viMw3fDHbkpPRUo3DPJ5rnvEmkTrRnhjCTyni6ZSZapH+F8B2pNPytYF2RpdhjHPBTOnHvHKcr+EjMmRj7R3/aOqEqiI+0X2NH35bWqA2pVn8seGAUXrYRbXDSXnA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEFYn-00025p-NY for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2024 17:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Nov 2024 22:22:01 +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.17322276747979 (code B ref 74435); Thu, 21 Nov 2024 22:22:01 +0000 Original-Received: (at 74435) by debbugs.gnu.org; 21 Nov 2024 22:21:14 +0000 Original-Received: from localhost ([127.0.0.1]:52041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEFY2-00024c-5G for submit@debbugs.gnu.org; Thu, 21 Nov 2024 17:21:14 -0500 Original-Received: from mail.imayhem.com ([82.223.54.191]:42519 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEFXz-00024O-7J for 74435@debbugs.gnu.org; Thu, 21 Nov 2024 17:21:11 -0500 Original-Received: from [192.168.68.104] (111.red-88-21-7.staticip.rima-tde.net [88.21.7.111]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 7F77A80117; Thu, 21 Nov 2024 22:21:05 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 88.21.7.111) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[192.168.68.104] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES In-Reply-To: <86cyiopoxh.fsf@gnu.org> 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:295758 Archived-At: I have tracked (I think) this problem to the function frame.c:gui_set_scroll_bar_width If the new value for the scrollbars width is equal to the current one, then it resets width to the default size. The 'if' tests for arg != FRAME_CONFIG_SCROLL_BAR_WIDTH(f). That is, if arg is equal to current width, the 'else' path is taken, which resets to default. I suppose this should test for arg != "DEFAULT_WIDTH", but I don't know where to find that. Maybe you could not reproduce it because your scrollbars are on the default size?