From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74435: Scrollbar width is not respected on Windows Date: Fri, 22 Nov 2024 08:53:34 +0200 Message-ID: <86serjoj2p.fsf@gnu.org> References: <86frnkrhg2.fsf@gnu.org> <167bc233-4116-4273-8abb-615e193e4b8c@imayhem.com> <86cyiopoxh.fsf@gnu.org> <08adb21a-42f8-45bc-b39f-1f95df325444@imayhem.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9245"; mail-complaints-to="usenet@ciao.gmane.io" Cc: johann.hoechtl@gmail.com, 74435@debbugs.gnu.org To: Cecilio Pardo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 22 07:54:14 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 1tENYU-0002Gk-8E for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Nov 2024 07:54:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tENYL-0003H0-F9; Fri, 22 Nov 2024 01:54:05 -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 1tENYJ-0003Gh-GF for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 01:54:03 -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 1tENYJ-0002QQ-14 for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 01:54:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=Fn+QRFEbpPy1/6wgH/TDr0RZkGA7gPWJIBaYdV6h2sA=; b=emNP+ggbLjJahu1r30jz46BgJJ03fywShNdby8Af7jsP6imGuuqJeuWh7XnIFayur1c2mVNkH3C7EWAlpw5mEW0B2Y2YO46vFwAA6LNUpNoo8oHA7qbGsBaAj2ej94290fSR3jpm7pxRCiAb35e+j7FYjQ2TQdgUCcR5Aq7tvA10A/KhGbY1kmQ6MZiihgd6J04jtjgxmaMCFcrHH42Thb1VuclsbQiHwDQ1I39FtIuPfibsQMo2eKllqPLyqjZUsRzSF7sbSm8OqqlxaOzehllU6yCdtrC4Q58z2sujYVpPIMCxr8FBI5/lhbW0uYd1KliNTKHiQZ7ycdETPkkufg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tENYI-0000uQ-Iu for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2024 01:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2024 06:54: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.17322584283471 (code B ref 74435); Fri, 22 Nov 2024 06:54:02 +0000 Original-Received: (at 74435) by debbugs.gnu.org; 22 Nov 2024 06:53:48 +0000 Original-Received: from localhost ([127.0.0.1]:52815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tENY4-0000tv-68 for submit@debbugs.gnu.org; Fri, 22 Nov 2024 01:53:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tENY1-0000tf-Gs for 74435@debbugs.gnu.org; Fri, 22 Nov 2024 01:53:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tENXv-0002PB-RI; Fri, 22 Nov 2024 01:53:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Fn+QRFEbpPy1/6wgH/TDr0RZkGA7gPWJIBaYdV6h2sA=; b=NdCci6O9og40 Nmx9J0g0SwVtOPjPzvm7+NtxFAyH8E2Knc5onbBuS8U+M9hqxj3LuLgA1Mkt8JpJ/42Z7LMqBAbia SztrkRah3zCIiRlELrND/cSfiFrRUYGySgJVO7dUsnlcmF5eWUItQk74QxH/N8/rpWNsPGugtnzqW rpHBOcgXJy85DdvQIRN+p9FC4SGobUolo7dEDF/sTYMYuc7S6BcYdSpqILwEg7F16Oz5nRDoC/X+6 nJHNoF8/jv4NqUVGiCsIFkCT0sp/e37cC7Bwr7nZmIligFdhVOVqul/ViuRSiSVhpi9U/OAz+PEfh uaZ9yc0sIQf0gOePTaWY1A==; In-Reply-To: <08adb21a-42f8-45bc-b39f-1f95df325444@imayhem.com> (message from Cecilio Pardo on Thu, 21 Nov 2024 23:21:05 +0100) 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:295769 Archived-At: > Date: Thu, 21 Nov 2024 23:21:05 +0100 > Cc: johann.hoechtl@gmail.com, 74435@debbugs.gnu.org > From: Cecilio Pardo > > 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. Thanks. I'd like to look into this, but it would help if I could reproduce the issue. > Maybe you could not reproduce it because your scrollbars are on the > default size? Maybe. The OP didn't seem to say it was necessary to specify non-default scroll-bar width. So what is the minimum recipe for reproducing the issue?