Subject: bug#8505: 24.0.50; frame grows horizontally if scroll-bar-mode is non-nil

From: Daiki Ueno <[email-masked]>
Date: Fri, 15 Apr 2011 18:31:52 +0900

Daiki Ueno <[email-masked]> 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)
...