From unknown Wed Jun 18 22:58:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17163 <17163@debbugs.gnu.org> To: bug#17163 <17163@debbugs.gnu.org> Subject: Status: 24.3.50; default-frame-alist: scroll-bar-width not used Reply-To: bug#17163 <17163@debbugs.gnu.org> Date: Thu, 19 Jun 2025 05:58:05 +0000 retitle 17163 24.3.50; default-frame-alist: scroll-bar-width not used reassign 17163 emacs submitter 17163 Peter M=C3=BCnster severity 17163 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 01 15:10:46 2014 Received: (at submit) by debbugs.gnu.org; 1 Apr 2014 19:10:46 +0000 Received: from localhost ([127.0.0.1]:59726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV457-0000HM-PQ for submit@debbugs.gnu.org; Tue, 01 Apr 2014 15:10:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46257) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WV456-0000HF-8B for submit@debbugs.gnu.org; Tue, 01 Apr 2014 15:10:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV44y-0003dc-KT for submit@debbugs.gnu.org; Tue, 01 Apr 2014 15:10:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV44y-0003dQ-AF for submit@debbugs.gnu.org; Tue, 01 Apr 2014 15:10:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV44r-0007xK-Po for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 15:10:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV44l-0003TI-0j for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 15:10:29 -0400 Received: from smtp12.smtpout.orange.fr ([80.12.242.134]:23164 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV44k-0003T4-Ry for bug-gnu-emacs@gnu.org; Tue, 01 Apr 2014 15:10:22 -0400 Received: from micropit.couberia.selfip.net ([2.2.83.226]) by mwinf5d35 with ME id kjAL1n00X4sz7Sy03jAMZq; Tue, 01 Apr 2014 21:10:21 +0200 Received: by micropit.couberia.selfip.net (Postfix, from userid 1000) id 9544DA61342; Tue, 1 Apr 2014 21:10:20 +0200 (CEST) From: =?utf-8?Q?Peter_M=C3=BCnster?= To: bug-gnu-emacs@gnu.org Subject: 24.3.50; default-frame-alist: scroll-bar-width not used Date: Tue, 01 Apr 2014 21:10:20 +0200 Message-ID: <87mwg4n9wj.fsf@micropit.couberia.selfip.net> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, The value of scroll-bar-width is used only in the first frame. 1.) Create file /tmp/init.el: --8<---------------cut here---------------start------------->8--- (set-face-attribute 'default nil :height 150) (setq default-frame-alist '((scroll-bar-width . 10))) (make-frame-command) (print default-frame-alist) --8<---------------cut here---------------end--------------->8--- 2.) Start emacs: emacs -Q -l /tmp/init.el 3.) Compare the widths of the scroll-bars. Further details: In GNU Emacs 24.3.50.2 (x86_64-suse-linux-gnu, GTK+ Version 3.10.4) of 2014-03-16 on micropit Repository revision: 116774 rudalics@gmx.at-20140316092658-lcj8z20iwmnoshm3 Windowing system distributor `The X.Org Foundation', version 11.0.11403901 System Description: openSUSE 13.1 (Bottle) (x86_64) Configured using: `configure --without-toolkit-scroll-bars' Important settings: value of $LC_CTYPE: en_GB.utf8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix -- Peter From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 10:41:44 2014 Received: (at 17163) by debbugs.gnu.org; 2 Apr 2014 14:41:44 +0000 Received: from localhost ([127.0.0.1]:33040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVMMG-0002IW-Rs for submit@debbugs.gnu.org; Wed, 02 Apr 2014 10:41:41 -0400 Received: from mout.gmx.net ([212.227.17.20]:55978) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVMMB-0002IL-Pq for 17163@debbugs.gnu.org; Wed, 02 Apr 2014 10:41:37 -0400 Received: from [194.166.82.132] ([194.166.82.132]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M5tof-1XG3uu45KD-00xsXw; Wed, 02 Apr 2014 16:41:34 +0200 Message-ID: <533C20D9.1000505@gmx.at> Date: Wed, 02 Apr 2014 16:38:17 +0200 From: martin rudalics MIME-Version: 1.0 To: =?ISO-8859-15?Q?Peter_M=FCnster?= , 17163@debbugs.gnu.org Subject: Re: bug#17163: 24.3.50; default-frame-alist: scroll-bar-width not used References: <87mwg4n9wj.fsf@micropit.couberia.selfip.net> In-Reply-To: <87mwg4n9wj.fsf@micropit.couberia.selfip.net> Content-Type: multipart/mixed; boundary="------------080302000904080502050706" X-Provags-ID: V03:K0:qOCMOUHiQG8Tcxx75umuhHyA/N4dbCHDW0N9xTCQu0CnfcDk65Q u05p/LKZtYhr/tOnwKhZLxs2ZrXDO3Mowq94idSQ3ok7R9dB+IhdmNIly4f0zQU8a0Jns/p xorlU1/5o3TqzDTnW4TwShuUlZ4KM0VvuDbPRuHKv8KOz1Md1pprI7ypJvYD2NYM8vcCAZU PWUf/fjhO5+yCMBfajAQg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17163 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) This is a multi-part message in MIME format. --------------080302000904080502050706 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit > The value of scroll-bar-width is used only in the first frame. > > 1.) Create file /tmp/init.el: > > --8<---------------cut here---------------start------------->8--- > (set-face-attribute 'default nil :height 150) > (setq default-frame-alist '((scroll-bar-width . 10))) > (make-frame-command) > (print default-frame-alist) > --8<---------------cut here---------------end--------------->8--- > > 2.) Start emacs: > > emacs -Q -l /tmp/init.el > > 3.) Compare the widths of the scroll-bars. Should be fixed with revision 116894 on the Emacs-24 release branch. If you are on trunk you will either have to wait until the fix propagates or try the attached diffs. Thanks for the report, martin --------------080302000904080502050706 Content-Type: text/plain; charset=windows-1252; name="xterm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xterm.diff" === modified file 'src/xterm.c' *** src/xterm.c 2014-03-11 06:50:01 +0000 --- src/xterm.c 2014-04-02 13:13:56 +0000 *************** *** 7766,7785 **** compute_fringe_widths (f, 1); unit = FRAME_COLUMN_WIDTH (f); ! #ifdef USE_TOOLKIT_SCROLL_BARS ! /* The width of a toolkit scrollbar does not change with the new ! font but we have to calculate the number of columns it occupies ! anew. */ ! FRAME_CONFIG_SCROLL_BAR_COLS (f) ! = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; ! #else ! /* The width of a non-toolkit scrollbar is at least 14 pixels and a ! multiple of the frame's character width. */ ! FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; ! FRAME_CONFIG_SCROLL_BAR_WIDTH (f) ! = FRAME_CONFIG_SCROLL_BAR_COLS (f) * unit; ! #endif if (FRAME_X_WINDOW (f) != 0) { --- 7766,7781 ---- compute_fringe_widths (f, 1); + /* Compute character columns occupied by scrollbar. + + Don't do things differently for non-toolkit scrollbars + (Bug#17163). */ unit = FRAME_COLUMN_WIDTH (f); ! if (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0) ! FRAME_CONFIG_SCROLL_BAR_COLS (f) ! = (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) + unit - 1) / unit; ! else ! FRAME_CONFIG_SCROLL_BAR_COLS (f) = (14 + unit - 1) / unit; if (FRAME_X_WINDOW (f) != 0) { *************** *** 7985,7991 **** { #ifdef HAVE_X11R6_XIM struct xim_inst_t *xim_inst = dpyinfo->xim_callback_data; ! if (dpyinfo->display) { Bool ret = XUnregisterIMInstantiateCallback --- 7981,7987 ---- { #ifdef HAVE_X11R6_XIM struct xim_inst_t *xim_inst = dpyinfo->xim_callback_data; ! if (dpyinfo->display) { Bool ret = XUnregisterIMInstantiateCallback --------------080302000904080502050706-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 19 04:19:19 2014 Received: (at 17163-done) by debbugs.gnu.org; 19 Sep 2014 08:19:19 +0000 Received: from localhost ([127.0.0.1]:45149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUtPS-0004EF-Ge for submit@debbugs.gnu.org; Fri, 19 Sep 2014 04:19:18 -0400 Received: from mout.gmx.net ([212.227.17.22]:54097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUtPQ-0004E7-G2 for 17163-done@debbugs.gnu.org; Fri, 19 Sep 2014 04:19:17 -0400 Received: from [178.190.17.206] ([178.190.17.206]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LlV4F-1Y4DlE2g3r-00bNgQ; Fri, 19 Sep 2014 10:19:15 +0200 Message-ID: <541BE6FC.5090002@gmx.at> Date: Fri, 19 Sep 2014 10:19:08 +0200 From: martin rudalics MIME-Version: 1.0 To: =?windows-1252?Q?Peter_M=FCnster?= , 17163-done@debbugs.gnu.org Subject: Re: bug#17163: 24.3.50; default-frame-alist: scroll-bar-width not used References: <87mwg4n9wj.fsf@micropit.couberia.selfip.net> <533C20D9.1000505@gmx.at> In-Reply-To: <533C20D9.1000505@gmx.at> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:2Ih5iHTNFHyhtdjQirkAn5PMTuXwQDu3OncbVxz2PkSKtUBQ6MW ziPWZsx0a/jz33PX0XYKwico6NRnwBDsgZZI+d1Z6nC8LIoyh4h/1NStUhH0SQc97xgK7xd vp8uo0Wdenv776cNZn2mJyYil7Kd2B/zP49cNVzW/NshP7Pn9bM04jyTZc1p4Ax4LRVkIAr 580cRZeYoF7splOzipwkQ== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17163-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Should be fixed with revision 116894 on the Emacs-24 release branch. Closing. Thanks, martin From unknown Wed Jun 18 22:58:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Oct 2014 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator