From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 02:45:57 2011 Received: (at submit) by debbugs.gnu.org; 15 Apr 2011 06:45:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAcmz-0007Zm-9S for submit@debbugs.gnu.org; Fri, 15 Apr 2011 02:45:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAcmw-0007ZZ-9W for submit@debbugs.gnu.org; Fri, 15 Apr 2011 02:45:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAcmp-0002PI-5p for submit@debbugs.gnu.org; Fri, 15 Apr 2011 02:45:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:57044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAcmp-0002PE-4E for submit@debbugs.gnu.org; Fri, 15 Apr 2011 02:45:47 -0400 Received: from eggs.gnu.org ([140.186.70.92]:35557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAcmo-0004Xn-7D for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 02:45:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAcmn-0002Oq-4E for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 02:45:46 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]:38338) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QAcmm-0002Oj-H5 for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2011 02:45:45 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 15 Apr 2011 15:35:36 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p3F6ZZSR007509 for ; Fri, 15 Apr 2011 15:35:36 +0900 Message-ID: From: Daiki Ueno To: bug-gnu-emacs@gnu.org Subject: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil Date: Fri, 15 Apr 2011 15:35:28 +0900 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) If I build emacs with ./configure --with-x-toolkit=gtk3 and start it with emacs -Q, the width of the Emacs window is growing with the lapse of time. If I build emacs with ./configure --with-x-toolkit=gtk (not gtk3), or run emacs -Q --eval '(scroll-bar-mode -1)', the problem does not occur. In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.0.8) of 2011-04-15 on localhost.localdomain Windowing system distributor `Fedora Project', version 11.0.11000000 configured using `configure '--enable-maintainer-mode' '--with-x-toolkit=gtk3' 'CFLAGS=-Wall -g -O0'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t which-function-mode: t recentf-mode: t iswitchb-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: y L C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p g x r e p o r t SPC e m a < return> Recent messages: No more unread newsgroups No Gnus is good news Load-path shadows: ~/.emacs.d/custom hides /usr/local/share/emacs/24.0.50/lisp/custom ~/.emacs.d/socks hides /usr/local/share/emacs/24.0.50/lisp/net/socks Features: (shadow sort gnus-cite flyspell ispell mail-extr emacsbug url-util url-parse url-vars rot13 disp-table gnus-topic nndraft nnmh epa-file epa derived epg utf-7 rfc2104 auth-source eieio byte-opt bytecomp byte-compile cconv assoc network-stream starttls nnimap parse-time tls utf7 netrc nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime password-cache dig mailcap nntp gnus-cache nnir gnus-sum macroexp gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range message sendmail regexp-opt format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util time-date mail-utils mm-util mail-prsvr uniquify advice help-fns advice-preload deal which-func imenu recentf tree-widget wid-edit easymenu iswitchb cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 05:32:13 2011 Received: (at 8505) by debbugs.gnu.org; 15 Apr 2011 09:32:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QAfNt-0002vf-DD for submit@debbugs.gnu.org; Fri, 15 Apr 2011 05:32:13 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QAfNp-0002vQ-Ra for 8505@debbugs.gnu.org; Fri, 15 Apr 2011 05:32:11 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 15 Apr 2011 18:32:00 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p3F9W0Ri016450 for <8505@debbugs.gnu.org>; Fri, 15 Apr 2011 18:32:00 +0900 Message-ID: From: Daiki Ueno To: 8505@debbugs.gnu.org Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: Date: Fri, 15 Apr 2011 18:31:52 +0900 In-Reply-To: (Daiki Ueno's message of "Fri, 15 Apr 2011 15:35:28 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8505 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Daiki Ueno writes: > If I build emacs with ./configure --with-x-toolkit=gtk3 and start it > with emacs -Q, the width of the Emacs window is growing with the lapse > of time. Perhaps my explanation might be unclear - here is a trace from GDB. (gdb) b xg_frame_resized Breakpoint 3 at 0x531eca: file gtkutil.c, line 849. (gdb) commands 3 Type commands for breakpoint(s) 3, one per line. End with a line saying just "end". >continue >end (gdb) run -Q ... Breakpoint 3, xg_frame_resized (f=0x10e2c40, pixelwidth=688, pixelheight=578) at gtkutil.c:849 849 if (pixelwidth == -1 && pixelheight == -1) Breakpoint 3, xg_frame_resized (f=0x10e2c40, pixelwidth=694, pixelheight=578) at gtkutil.c:849 849 if (pixelwidth == -1 && pixelheight == -1) Breakpoint 3, xg_frame_resized (f=0x10e2c40, pixelwidth=696, pixelheight=578) at gtkutil.c:849 849 if (pixelwidth == -1 && pixelheight == -1) Breakpoint 3, xg_frame_resized (f=0x10e2c40, pixelwidth=702, pixelheight=578) at gtkutil.c:849 849 if (pixelwidth == -1 && pixelheight == -1) Breakpoint 3, xg_frame_resized (f=0x10e2c40, pixelwidth=704, pixelheight=578) at gtkutil.c:849 849 if (pixelwidth == -1 && pixelheight == -1) ... From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 05:38:46 2011 Received: (at 8505) by debbugs.gnu.org; 3 Jun 2011 09:38:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSQq5-0004MV-Hq for submit@debbugs.gnu.org; Fri, 03 Jun 2011 05:38:45 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QSQq1-0004Ly-UB for 8505@debbugs.gnu.org; Fri, 03 Jun 2011 05:38:43 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Fri, 3 Jun 2011 18:38:33 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p539cWsn015419; Fri, 3 Jun 2011 18:38:33 +0900 Message-ID: From: Daiki Ueno To: 8505@debbugs.gnu.org Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: Date: Fri, 03 Jun 2011 18:38:35 +0900 In-Reply-To: (Daiki Ueno's message of "Fri, 15 Apr 2011 15:35:28 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8505 Cc: Jan =?utf-8?Q?Dj=C3=A4rv?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) (Cc'ed Jan) Daiki Ueno writes: > If I build emacs with ./configure --with-x-toolkit=gtk3 and start it > with emacs -Q, the width of the Emacs window is growing with the lapse > of time. OK, I finally got it. This can be reproduced only with specific gtk-3.0 themes (including GNOME3 default), where some widget properties have larger values than Emacs expects. Currently Emacs expects the scrollbar width at most 16 pixels. xfns.c:104442: void x_set_scroll_bar_default_width (struct frame *f) { int wid = FRAME_COLUMN_WIDTH (f); #ifdef USE_TOOLKIT_SCROLL_BARS /* A minimum width of 14 doesn't look good for toolkit scroll bars. */ int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM; However, gnome-themes-standard wants to render scrollbars in 22-pixel width. http://git.gnome.org/browse/gnome-themes-standard/tree/themes/Adwaita/gtk-3.0/gtk-widgets.css#n511 .scrollbar { background-image: none; border-style: solid; -GtkRange-trough-border: 2; -GtkRange-arrow-scaling: 0.444; -GtkRange-slider-width: 18; -GtkRange-stepper-size: 18; 22 pixels = slider-width(18) + trough-border(2) * 2 I confirmed that my problem is fixed if I increase the default width to 22. Since it happens with GNOME3 default theme, I would appreciate if it will be fixed before the pretest, though I don't know how easy to let Emacs to take account of GTK theme properties. Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 12:45:29 2011 Received: (at 8505) by debbugs.gnu.org; 3 Jun 2011 16:45:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSXV3-0007YX-8d for submit@debbugs.gnu.org; Fri, 03 Jun 2011 12:45:29 -0400 Received: from smtprelay-b21.telenor.se ([195.54.99.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QSXV0-0007YA-UQ for 8505@debbugs.gnu.org; Fri, 03 Jun 2011 12:45:28 -0400 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id D0AB9EB1B0 for <8505@debbugs.gnu.org>; Fri, 3 Jun 2011 18:45:20 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap1FADcO6U1V4S1kPGdsb2JhbABTpjkLAQEBATcyyViDKoJ3BJU8inM X-IronPort-AV: E=Sophos;i="4.65,315,1304287200"; d="scan'208";a="195983173" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 03 Jun 2011 18:45:20 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id CDC977FA05A; Fri, 3 Jun 2011 18:45:19 +0200 (CEST) Message-ID: <4DE90F9F.1040408@swipnet.se> Date: Fri, 03 Jun 2011 18:45:19 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8505 Cc: 8505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Hello. Thanks for debugging this. I couldn't see it as I use Gtk3 without Gnome 3. I have a fix for this, but savannah has problems right now. I will check it in when savannah sorts itself out. Jan D. Daiki Ueno skrev 2011-06-03 11.38: > (Cc'ed Jan) > > Daiki Ueno writes: > >> If I build emacs with ./configure --with-x-toolkit=gtk3 and start it >> with emacs -Q, the width of the Emacs window is growing with the lapse >> of time. > > OK, I finally got it. This can be reproduced only with specific gtk-3.0 > themes (including GNOME3 default), where some widget properties have > larger values than Emacs expects. > > Currently Emacs expects the scrollbar width at most 16 pixels. > > xfns.c:104442: > > void > x_set_scroll_bar_default_width (struct frame *f) > { > int wid = FRAME_COLUMN_WIDTH (f); > > #ifdef USE_TOOLKIT_SCROLL_BARS > /* A minimum width of 14 doesn't look good for toolkit scroll bars. */ > int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM; > > However, gnome-themes-standard wants to render scrollbars in 22-pixel width. > > http://git.gnome.org/browse/gnome-themes-standard/tree/themes/Adwaita/gtk-3.0/gtk-widgets.css#n511 > > .scrollbar { > background-image: none; > border-style: solid; > -GtkRange-trough-border: 2; > -GtkRange-arrow-scaling: 0.444; > -GtkRange-slider-width: 18; > -GtkRange-stepper-size: 18; > > 22 pixels = slider-width(18) + trough-border(2) * 2 > > I confirmed that my problem is fixed if I increase the default width to > 22. > > Since it happens with GNOME3 default theme, I would appreciate if it > will be fixed before the pretest, though I don't know how easy to let > Emacs to take account of GTK theme properties. > > Regards, From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 15:08:40 2011 Received: (at 8505-done) by debbugs.gnu.org; 5 Jun 2011 19:08:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTIgi-0005PK-Bb for submit@debbugs.gnu.org; Sun, 05 Jun 2011 15:08:40 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTIge-0005P6-Tj for 8505-done@debbugs.gnu.org; Sun, 05 Jun 2011 15:08:38 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 07647E9C4E for <8505-done@debbugs.gnu.org>; Sun, 5 Jun 2011 21:08:30 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsxOAHPT601V4S1kPGdsb2JhbABTpjULAQEBATcyxi+DKoJ3BJVBinQ X-IronPort-AV: E=Sophos;i="4.65,323,1304287200"; d="scan'208";a="195130745" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 05 Jun 2011 21:08:30 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id B25877FA05A; Sun, 5 Jun 2011 21:08:29 +0200 (CEST) Message-ID: <4DEBD42D.3010607@swipnet.se> Date: Sun, 05 Jun 2011 21:08:29 +0200 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8505-done Cc: 8505-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Hello. I've checked in a fix. But it occured to me that the wrong thing will happen if the theme is changed while Emacs runs, and the theme changed to has the wider scroll bar. Can you change theme in Gnome 3? Jan D. Daiki Ueno skrev 2011-06-03 11.38: > (Cc'ed Jan) > > Daiki Ueno writes: > >> If I build emacs with ./configure --with-x-toolkit=gtk3 and start it >> with emacs -Q, the width of the Emacs window is growing with the lapse >> of time. > > OK, I finally got it. This can be reproduced only with specific gtk-3.0 > themes (including GNOME3 default), where some widget properties have > larger values than Emacs expects. > > Currently Emacs expects the scrollbar width at most 16 pixels. > > xfns.c:104442: > > void > x_set_scroll_bar_default_width (struct frame *f) > { > int wid = FRAME_COLUMN_WIDTH (f); > > #ifdef USE_TOOLKIT_SCROLL_BARS > /* A minimum width of 14 doesn't look good for toolkit scroll bars. */ > int width = 16 + 2 * VERTICAL_SCROLL_BAR_WIDTH_TRIM; > > However, gnome-themes-standard wants to render scrollbars in 22-pixel width. > > http://git.gnome.org/browse/gnome-themes-standard/tree/themes/Adwaita/gtk-3.0/gtk-widgets.css#n511 > > .scrollbar { > background-image: none; > border-style: solid; > -GtkRange-trough-border: 2; > -GtkRange-arrow-scaling: 0.444; > -GtkRange-slider-width: 18; > -GtkRange-stepper-size: 18; > > 22 pixels = slider-width(18) + trough-border(2) * 2 > > I confirmed that my problem is fixed if I increase the default width to > 22. > > Since it happens with GNOME3 default theme, I would appreciate if it > will be fixed before the pretest, though I don't know how easy to let > Emacs to take account of GTK theme properties. > > Regards, From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 21:23:36 2011 Received: (at 8505) by debbugs.gnu.org; 6 Jun 2011 01:23:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTOXY-0005GU-9Z for submit@debbugs.gnu.org; Sun, 05 Jun 2011 21:23:36 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QTOXV-0005GF-5n for 8505@debbugs.gnu.org; Sun, 05 Jun 2011 21:23:34 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Mon, 6 Jun 2011 10:23:24 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p561NM06021850; Mon, 6 Jun 2011 10:23:23 +0900 Message-ID: From: Daiki Ueno To: jan.h.d@swipnet.se Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: <4DEBD42D.3010607@swipnet.se> Date: Mon, 06 Jun 2011 10:23:14 +0900 In-Reply-To: <4DEBD42D.3010607@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Sun, 05 Jun 2011 21:08:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8505 Cc: 8505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Jan Dj=C3=A4rv writes: > I've checked in a fix. But it occured to me that the wrong thing will > happen if the theme is changed while Emacs runs, and the theme changed > to has the wider scroll bar. Can you change theme in Gnome 3? Thanks for the quick fix - it now normally starts up. However, yes, if I start it with "HighContrast" theme and change it to "Adwaita" (by using gnome-tweak-tool), the wrong thing happens again. Also, I noticed that I can no longer shrink the window horizontally by dragging the scrollbar from right to left - it only grows regardless of dragging direction. Regards, --=20 Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 06 03:45:34 2011 Received: (at 8505) by debbugs.gnu.org; 6 Jun 2011 07:45:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTUVB-0006cL-P7 for submit@debbugs.gnu.org; Mon, 06 Jun 2011 03:45:33 -0400 Received: from smtprelay-b22.telenor.se ([195.54.99.213]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QTUV9-0006c8-SI for 8505@debbugs.gnu.org; Mon, 06 Jun 2011 03:45:32 -0400 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id 11395EA0EC for <8505@debbugs.gnu.org>; Mon, 6 Jun 2011 09:45:25 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqRtAL2E7E1V4S1kPGdsb2JhbABThEqESJ0mCwEBAQE3MohxsSqQCYErg2yBCgSVQYp0 X-IronPort-AV: E=Sophos;i="4.65,325,1304287200"; d="scan'208";a="1736933055" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 06 Jun 2011 09:45:25 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 2AD797FA05A; Mon, 6 Jun 2011 09:45:25 +0200 (CEST) Message-ID: <4DEC8595.10802@swipnet.se> Date: Mon, 06 Jun 2011 09:45:25 +0200 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: <4DEBD42D.3010607@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 8505 Cc: 8505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.3 (--) Daiki Ueno skrev 2011-06-06 03.23: > Jan Dj=C3=A4rv writes: > >> I've checked in a fix. But it occured to me that the wrong thing will >> happen if the theme is changed while Emacs runs, and the theme changed >> to has the wider scroll bar. Can you change theme in Gnome 3? > > Thanks for the quick fix - it now normally starts up. However, yes, if > I start it with "HighContrast" theme and change it to "Adwaita" (by > using gnome-tweak-tool), the wrong thing happens again. > I suspected that. I'll get gnome-tweak-tool and try to fix it. It might= take=20 a while if we have to add dconf-support, but hopefully Gtk+ is enough. > Also, I noticed that I can no longer shrink the window horizontally by > dragging the scrollbar from right to left - it only grows regardless of > dragging direction. > :-) That was unexpected. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 17:13:48 2011 Received: (at 8505) by debbugs.gnu.org; 14 Jun 2011 21:13:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWavk-0007AM-1e for submit@debbugs.gnu.org; Tue, 14 Jun 2011 17:13:48 -0400 Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWavh-0007A8-Dl for 8505@debbugs.gnu.org; Tue, 14 Jun 2011 17:13:46 -0400 Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id B28A4EA847 for <8505@debbugs.gnu.org>; Tue, 14 Jun 2011 23:13:38 +0200 (CEST) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Asx2APzN901V4S1kPGdsb2JhbABShEmESJ1CCwEBAQE3Moh1rniRF4Erg2+BCgShMQ X-IronPort-AV: E=Sophos;i="4.65,366,1304287200"; d="scan'208";a="21215771" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb3.telenor.se with ESMTP; 14 Jun 2011 23:13:38 +0200 Received: from anon-82-188.ipredate.net (anon-82-188.ipredate.net [93.182.188.82]) by coolsville.localdomain (Postfix) with ESMTPSA id 7F1757FA05A; Tue, 14 Jun 2011 23:13:37 +0200 (CEST) Message-ID: <4DF7CF00.5060209@swipnet.se> Date: Tue, 14 Jun 2011 23:13:36 +0200 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Daiki Ueno Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: <4DEBD42D.3010607@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 8505 Cc: 8505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) Hello. I've checked in fixes for these issues. Gtk3 has a new sizing policy in place that totally breaks GtkFixed w.r.t.= =20 resize. GtkFixed is what Emacs uses so we suffered from all the bugs. The theme change is also fixed. Please test it. Thanks, Jan D. Daiki Ueno skrev 2011-06-06 03.23: > Jan Dj=C3=A4rv writes: > >> I've checked in a fix. But it occured to me that the wrong thing will >> happen if the theme is changed while Emacs runs, and the theme changed >> to has the wider scroll bar. Can you change theme in Gnome 3? > > Thanks for the quick fix - it now normally starts up. However, yes, if > I start it with "HighContrast" theme and change it to "Adwaita" (by > using gnome-tweak-tool), the wrong thing happens again. > > Also, I noticed that I can no longer shrink the window horizontally by > dragging the scrollbar from right to left - it only grows regardless of > dragging direction. > > Regards, From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 21:41:47 2011 Received: (at 8505) by debbugs.gnu.org; 15 Jun 2011 01:41:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWf74-0004bK-K3 for submit@debbugs.gnu.org; Tue, 14 Jun 2011 21:41:47 -0400 Received: from ivory4.scn-net.ne.jp ([219.117.176.192]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QWf70-0004b5-18 for 8505@debbugs.gnu.org; Tue, 14 Jun 2011 21:41:44 -0400 Received: from ([192.168.0.187]) (envelope sender: ) by ivory4.scn-net.ne.jp with Active!Hunter esmtp server; Wed, 15 Jun 2011 10:41:34 +0900 Received: Received: from well-done.deisui.org (g187018.scn-net.ne.jp [202.83.187.18]) (authenticated) by blue17.scn-net.ne.jp (unknown) with ESMTP id p5F1fW2U008700; Wed, 15 Jun 2011 10:41:33 +0900 Message-ID: From: Daiki Ueno To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil References: <4DEBD42D.3010607@swipnet.se> <4DF7CF00.5060209@swipnet.se> Date: Wed, 15 Jun 2011 10:41:25 +0900 In-Reply-To: <4DF7CF00.5060209@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Tue, 14 Jun 2011 23:13:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8505 Cc: 8505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Jan Dj=C3=A4rv writes: > I've checked in fixes for these issues. > Gtk3 has a new sizing policy in place that totally breaks GtkFixed > w.r.t. resize. GtkFixed is what Emacs uses so we suffered from all > the bugs. > The theme change is also fixed. Please test it. Thanks for the fix. I confirmed that now everything works fine; I can safely change the theme and resize the window by dragging mouse. Regards, --=20 Daiki Ueno From unknown Sat Jun 21 03:23:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Jul 2011 11:24:04 +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