all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 21317@debbugs.gnu.org
Subject: bug#21317: 25.0.50; frame-resize-pixelwise has no effect (GTK, no window manager)
Date: Sat, 22 Aug 2015 10:50:59 +0000	[thread overview]
Message-ID: <CAOqdjBdXHnpr4BUVB3svuuoWDAzrm5y=p9yrJODdAjGVabSBNw@mail.gmail.com> (raw)
In-Reply-To: <55D8196B.3010206@gmx.at>

[-- Attachment #1: Type: text/plain, Size: 2851 bytes --]

Thanks for responding!

On Sat, Aug 22, 2015 at 6:40 AM, martin rudalics <rudalics@gmx.at> wrote:
>> When starting Emacs (GTK build) on an X server which has no window
>> manager (such as a newly-created Xnest session), setting
>> `frame-resize-pixelwise' to t followed by a resize operation often has
>> no effect.
>
> According to the manual
>
>      Setting this variable usually causes the next resize operation to
>      pass the corresponding size hints to the window manager.  This
>      means that this variable should be set only in a user's initial
>      file; applications should never bind it temporarily.

That documentation is outdated and does not apply to GTK builds in all
cases, I'm afraid. It is not the window manager that decides to honor
or dishonor frame-resize-pixelwise but GDK. See x_wm_set_size_hint and
gtk_window_move_resize (gtkwindow.c, in the GTK sources). In
particular, gtk_window_compute_configure_request calls
gtk_window_constrain_size which calls gdk_window_constrain_size which
calculates

  width = base_width + FLOOR (width - base_width, xinc);
  height = base_height + FLOOR (height - base_height, yinc);

(where FLOOR is defined as #define FLOOR(value, base)    ( ((gint)
((value) / (base))) * (base) ) )


> So it's possible that Xnest or some other X component refuses to resize
> your frame because the size hints were set up inappropriately.

I'm pretty sure that's not what's happening, but I'll be happy to
provide traces to demonstrate my analysis is correct...or to prove it
wrong, of course! The attached gdb log shows quite clearly that it's
GDK making the second (erroneous) call to XResizeWindow, not Xnest
(there is no window manager).

> Does it also fail when `frame-resize-pixelwise' is set to t in your
> initial file?

Yes, it does.

> Does it fail when you set `frame-resize-pixelwise' to t, request an
> integral resize first and a second non-integral one afterwards?

I'm not sure I fully understand how you define "integral". In short,
non-full-screen resize + redisplay + full-screen resize works, the
other combinations do not.

If I run this code (Xnest running on display :3):

DISPLAY=:3 emacs -Q --eval "(progn (setq frame-resize-pixelwise t)
(set-frame-height (selected-frame) (1+ (frame-pixel-height
(selected-frame))) nil t) (redisplay) (set-frame-parameter
(selected-frame) 'fullscreen 'fullboth))"

Things work, but without the "(redisplay)" they don't. (So that's a
non-full-screen resize first, then a full-screen resize). Doing the
full-screen resize first breaks things.

I must also point out that without the "(redisplay)", there are
unexpected results: the full screen resize appears to be ignored
entirely.

But, again, I currently stand by my initial analysis of what's
happening. The problem is that we cannot simply do the right thing
because of the KWin bug...

[-- Attachment #2: emacs-bug-008-gdb-log.txt --]
[-- Type: text/plain, Size: 22085 bytes --]

% Xnest :2 -geometry 877x877+0+0 &
Xnest :2 -geometry 877x877+0+0 &
[1] 14675
% DISPLAY=:2 /usr/bin/gdb --args emacs -Q --eval "(progn (setq frame-resize-pixelwise t) (set-frame-parameter (selected-frame) 'fullscreen 'fullboth))"
<wise t) (set-frame-parameter (selected-frame) 'fullscreen 'fullboth))"
GNU gdb (Debian 7.9.1-1) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from emacs...done.
(gdb) b XResizeWindow
b XResizeWindow
Breakpoint 1 at 0x4167a0
(gdb) r
r
Starting program: /usr/local/bin/emacs -Q --eval \(progn\ \(setq\ frame-resize-pixelwise\ t\)\ \(set-frame-parameter\ \(selected-frame\)\ \'fullscreen\ \'fullboth\)\)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
1 XSELINUXs still allocated at reset
SCREEN: 0 objects of 152 bytes = 0 total bytes 0 private allocs
COLORMAP: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
CLIENT: 0 objects of 56 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 72 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
1 XSELINUXs still allocated at reset
SCREEN: 0 objects of 152 bytes = 0 total bytes 0 private allocs
COLORMAP: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
CLIENT: 0 objects of 56 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 72 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
1 XSELINUXs still allocated at reset
SCREEN: 0 objects of 152 bytes = 0 total bytes 0 private allocs
COLORMAP: 0 objects of 8 bytes = 0 total bytes 0 private allocs
DEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs
CLIENT: 0 objects of 56 bytes = 0 total bytes 0 private allocs
WINDOW: 0 objects of 72 bytes = 0 total bytes 0 private allocs
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 PIXMAPs still allocated at reset
PIXMAP: 1 objects of 24 bytes = 24 total bytes 0 private allocs
GC: 0 objects of 24 bytes = 0 total bytes 0 private allocs
CURSOR: 0 objects of 8 bytes = 0 total bytes 0 private allocs
TOTAL: 1 objects, 24 bytes, 0 allocs
1 DAMAGEs still allocated at reset
TOTAL: 0 objects, 0 bytes, 0 allocs
[New Thread 0x7fffe5bde700 (LWP 14768)]
[New Thread 0x7fffe538d700 (LWP 14770)]
[New Thread 0x7fffe7daa700 (LWP 14734)]

Breakpoint 1, XResizeWindow (dpy=0xd25940, w=w@entry=6291477, width=width@entry=591,
    height=height@entry=474) at ../../src/ChWindow.c:38
38	../../src/ChWindow.c: No such file or directory.
(gdb) c
c
Continuing.

Breakpoint 1, XResizeWindow (dpy=0xd25940, w=6291477, width=877, height=877)
    at ../../src/ChWindow.c:38
38	in ../../src/ChWindow.c
(gdb) bt
bt
#0  XResizeWindow (dpy=0xd25940, w=6291477, width=877, height=877) at ../../src/ChWindow.c:38
#1  0x000000000051e540 in x_check_fullscreen (f=0x12ac8d0) at xterm.c:10194
#2  0x000000000051e1da in XTfullscreen_hook (f=0x12ac8d0) at xterm.c:10111
#3  0x000000000042d2cd in x_set_fullscreen (f=0x12ac8d0, new_value=23328, old_value=0)
    at frame.c:3480
#4  0x000000000042cb0d in x_set_frame_parameters (f=0x12ac8d0, alist=0) at frame.c:3358
#5  0x000000000042af52 in Fmodify_frame_parameters (frame=19581141, alist=17149331) at frame.c:2675
#6  0x00000000005ec894 in Ffuncall (nargs=3, args=0x7fffffffcb80) at eval.c:2737
#7  0x000000000062f468 in exec_byte_code (bytestr=10600972, vector=10601005, maxdepth=30,
    args_template=3086, nargs=3, args=0x7fffffffcff8) at bytecode.c:919
#8  0x00000000005ed0a1 in funcall_lambda (fun=10600925, nargs=3, arg_vector=0x7fffffffcfe0)
    at eval.c:2901
#9  0x00000000005ece53 in apply_lambda (fun=10600925, args=17150691, count=12) at eval.c:2842
#10 0x00000000005eb5f1 in eval_sub (form=17150755) at eval.c:2242
#11 0x00000000005e7751 in Fprogn (body=17149955) at eval.c:460
#12 0x00000000005eb09f in eval_sub (form=17151091) at eval.c:2147
#13 0x00000000005eab88 in Feval (form=17151091, lexical=0) at eval.c:2011
#14 0x00000000005ec894 in Ffuncall (nargs=2, args=0x7fffffffd520) at eval.c:2737
#15 0x000000000062f468 in exec_byte_code (bytestr=10651788, vector=10651821, maxdepth=90,
    args_template=1030, nargs=1, args=0x7fffffffda78) at bytecode.c:919
#16 0x00000000005ed0a1 in funcall_lambda (fun=10651741, nargs=1, arg_vector=0x7fffffffda70)
    at eval.c:2901
#17 0x00000000005ecae3 in Ffuncall (nargs=2, args=0x7fffffffda68) at eval.c:2783
#18 0x000000000062f468 in exec_byte_code (bytestr=10628596, vector=10628629, maxdepth=86,
    args_template=2, nargs=0, args=0x7fffffffe018) at bytecode.c:919
#19 0x00000000005ed0a1 in funcall_lambda (fun=10628549, nargs=0, arg_vector=0x7fffffffe018)
    at eval.c:2901
#20 0x00000000005ecae3 in Ffuncall (nargs=1, args=0x7fffffffe010) at eval.c:2783
#21 0x000000000062f468 in exec_byte_code (bytestr=10625196, vector=10625229, maxdepth=50,
    args_template=2, nargs=0, args=0x7fffffffe4b0) at bytecode.c:919
#22 0x00000000005ed0a1 in funcall_lambda (fun=10625149, nargs=0, arg_vector=0x7fffffffe4b0)
    at eval.c:2901
#23 0x00000000005ece53 in apply_lambda (fun=10625149, args=0, count=3) at eval.c:2842
#24 0x00000000005eb5f1 in eval_sub (form=17711795) at eval.c:2242
#25 0x00000000005eab88 in Feval (form=17711795, lexical=0) at eval.c:2011
#26 0x0000000000551bda in top_level_2 () at keyboard.c:1147
#27 0x00000000005e94e1 in internal_condition_case (bfun=0x551bb7 <top_level_2>, handlers=18672,
    hfun=0x551677 <cmd_error>) at eval.c:1363
#28 0x0000000000551c1b in top_level_1 (ignore=0) at keyboard.c:1155
#29 0x00000000005e8c76 in internal_catch (tag=44496, func=0x551bdc <top_level_1>, arg=0)
    at eval.c:1123
#30 0x0000000000551b0f in command_loop () at keyboard.c:1116
#31 0x000000000055123f in recursive_edit_1 () at keyboard.c:723
#32 0x00000000005513d3 in Frecursive_edit () at keyboard.c:794
#33 0x000000000054f20d in main (argc=4, argv=0x7fffffffea58) at emacs.c:1629
(gdb) c
c
Continuing.

Breakpoint 1, XResizeWindow (dpy=0xd25940, w=w@entry=6291477, width=width@entry=871,
    height=height@entry=877) at ../../src/ChWindow.c:38
38	in ../../src/ChWindow.c
(gdb) bt
bt
#0  XResizeWindow (dpy=0xd25940, w=w@entry=6291477, width=width@entry=871, height=height@entry=877)
    at ../../src/ChWindow.c:38
#1  0x00007ffff677a74a in window_x11_resize (height=877, width=871, window=0xd3dbd0)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/x11/gdkwindow-x11.c:1806
#2  gdk_window_x11_move_resize (window=0xd3dbd0, with_move=<optimized out>, x=<optimized out>,
    y=<optimized out>, width=<optimized out>, height=<optimized out>)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/x11/gdkwindow-x11.c:1890
#3  0x00007ffff6757371 in gdk_window_move_resize_toplevel (height=877, width=871, y=0, x=0,
    with_move=0, window=0xd3dbd0) at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkwindow.c:5619
#4  gdk_window_move_resize_internal (window=0xd3dbd0, with_move=0, x=0, y=0, width=871, height=877)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkwindow.c:5686
#5  0x00007ffff6d35f59 in gtk_window_move_resize (window=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkwindow.c:9371
#6  gtk_window_check_resize (container=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkwindow.c:8071
#7  0x00007ffff5390504 in _g_closure_invoke_va (closure=0xd01b00, return_value=0x0,
    instance=0x158c230, args=0x7fffffffc040, n_params=<optimized out>, param_types=0x0)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gclosure.c:831
#8  0x00007ffff53a9fa7 in g_signal_emit_valist (instance=0x158c230, signal_id=<optimized out>,
    detail=0, var_args=var_args@entry=0x7fffffffc040)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3214
#9  0x00007ffff53aa8ff in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    detail=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3361
#10 0x00007ffff6b2f96c in gtk_container_idle_sizer (clock=0xd41240, container=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkcontainer.c:1873
#11 0x00007ffff5390504 in _g_closure_invoke_va (closure=0x1bd5b50, return_value=0x0,
    instance=0xd41240, args=0x7fffffffc388, n_params=<optimized out>, param_types=0x0)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gclosure.c:831
#12 0x00007ffff53a9fa7 in g_signal_emit_valist (instance=instance@entry=0xd41240,
    signal_id=signal_id@entry=140, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffc388)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3214
#13 0x00007ffff53aae4a in g_signal_emit_by_name (instance=instance@entry=0xd41240,
    detailed_signal=detailed_signal@entry=0x7ffff67b319a "layout")
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3401
#14 0x00007ffff6747624 in gdk_frame_clock_paint_idle (data=0xd41240)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkframeclockidle.c:408
#15 0x00007ffff6736d88 in gdk_threads_dispatch (data=0xefccc0,
    data@entry=<error reading variable: value has been optimized out>)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdk.c:719
#16 0x00007ffff50bb5e3 in g_timeout_dispatch (source=0x1bd6c00, callback=<optimized out>,
    user_data=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:4545
#17 0x00007ffff50bab4d in g_main_dispatch (context=0xd1f0c0)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3122
#18 g_main_context_dispatch (context=context@entry=0xd1f0c0)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3737
#19 0x00007ffff50baf20 in g_main_context_iterate (context=context@entry=0xd1f0c0,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3808
#20 0x00007ffff50bafcc in g_main_context_iteration (context=0xd1f0c0, context@entry=0x0,
    may_block=may_block@entry=1) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3869
#21 0x00007ffff6be1ff5 in gtk_main_iteration () at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkmain.c:1320
#22 0x000000000051b4f2 in XTread_socket (terminal=0x11fe6a0, hold_quit=0x7fffffffc6a0)
    at xterm.c:8644
#23 0x000000000055d733 in gobble_input () at keyboard.c:6929
#24 0x000000000055db1d in handle_async_input () at keyboard.c:7181
#25 0x000000000055db3c in process_pending_signals () at keyboard.c:7195
#26 0x000000000055db7c in unblock_input_to (level=0) at keyboard.c:7210
#27 0x000000000055dbb1 in totally_unblock_input () at keyboard.c:7238
#28 0x000000000051e920 in x_wait_for_event (f=0x12ac8d0, eventtype=22) at xterm.c:10318
#29 0x000000000051e563 in x_check_fullscreen (f=0x12ac8d0) at xterm.c:10199
#30 0x000000000051e1da in XTfullscreen_hook (f=0x12ac8d0) at xterm.c:10111
#31 0x000000000042d2cd in x_set_fullscreen (f=0x12ac8d0, new_value=23328, old_value=0)
    at frame.c:3480
#32 0x000000000042cb0d in x_set_frame_parameters (f=0x12ac8d0, alist=0) at frame.c:3358
#33 0x000000000042af52 in Fmodify_frame_parameters (frame=19581141, alist=17149331) at frame.c:2675
#34 0x00000000005ec894 in Ffuncall (nargs=3, args=0x7fffffffcb80) at eval.c:2737
#35 0x000000000062f468 in exec_byte_code (bytestr=10600972, vector=10601005, maxdepth=30,
---Type <return> to continue, or q <return> to quit---

    args_template=3086, nargs=3, args=0x7fffffffcff8) at bytecode.c:919
#36 0x00000000005ed0a1 in funcall_lambda (fun=10600925, nargs=3, arg_vector=0x7fffffffcfe0)
    at eval.c:2901
#37 0x00000000005ece53 in apply_lambda (fun=10600925, args=17150691, count=12) at eval.c:2842
#38 0x00000000005eb5f1 in eval_sub (form=17150755) at eval.c:2242
#39 0x00000000005e7751 in Fprogn (body=17149955) at eval.c:460
#40 0x00000000005eb09f in eval_sub (form=17151091) at eval.c:2147
#41 0x00000000005eab88 in Feval (form=17151091, lexical=0) at eval.c:2011
#42 0x00000000005ec894 in Ffuncall (nargs=2, args=0x7fffffffd520) at eval.c:2737
#43 0x000000000062f468 in exec_byte_code (bytestr=10651788, vector=10651821, maxdepth=90,
    args_template=1030, nargs=1, args=0x7fffffffda78) at bytecode.c:919
#44 0x00000000005ed0a1 in funcall_lambda (fun=10651741, nargs=1, arg_vector=0x7fffffffda70)
    at eval.c:2901
#45 0x00000000005ecae3 in Ffuncall (nargs=2, args=0x7fffffffda68) at eval.c:2783
#46 0x000000000062f468 in exec_byte_code (bytestr=10628596, vector=10628629, maxdepth=86,
    args_template=2, nargs=0, args=0x7fffffffe018) at bytecode.c:919
#47 0x00000000005ed0a1 in funcall_lambda (fun=10628549, nargs=0, arg_vector=0x7fffffffe018)
    at eval.c:2901
#48 0x00000000005ecae3 in Ffuncall (nargs=1, args=0x7fffffffe010) at eval.c:2783
#49 0x000000000062f468 in exec_byte_code (bytestr=10625196, vector=10625229, maxdepth=50,
    args_template=2, nargs=0, args=0x7fffffffe4b0) at bytecode.c:919
#50 0x00000000005ed0a1 in funcall_lambda (fun=10625149, nargs=0, arg_vector=0x7fffffffe4b0)
    at eval.c:2901
#51 0x00000000005ece53 in apply_lambda (fun=10625149, args=0, count=3) at eval.c:2842
#52 0x00000000005eb5f1 in eval_sub (form=17711795) at eval.c:2242
#53 0x00000000005eab88 in Feval (form=17711795, lexical=0) at eval.c:2011
#54 0x0000000000551bda in top_level_2 () at keyboard.c:1147
#55 0x00000000005e94e1 in internal_condition_case (bfun=0x551bb7 <top_level_2>, handlers=18672,
    hfun=0x551677 <cmd_error>) at eval.c:1363
#56 0x0000000000551c1b in top_level_1 (ignore=0) at keyboard.c:1155
#57 0x00000000005e8c76 in internal_catch (tag=44496, func=0x551bdc <top_level_1>, arg=0)
    at eval.c:1123
#58 0x0000000000551b0f in command_loop () at keyboard.c:1116
#59 0x000000000055123f in recursive_edit_1 () at keyboard.c:723
#60 0x00000000005513d3 in Frecursive_edit () at keyboard.c:794
#61 0x000000000054f20d in main (argc=4, argv=0x7fffffffea58) at emacs.c:1629
(gdb) c
c
Continuing.

Breakpoint 1, XResizeWindow (dpy=0xd25940, w=w@entry=6291477, width=width@entry=871,
    height=height@entry=922) at ../../src/ChWindow.c:38
38	in ../../src/ChWindow.c
(gdb) bt
bt
#0  XResizeWindow (dpy=0xd25940, w=w@entry=6291477, width=width@entry=871, height=height@entry=922)
    at ../../src/ChWindow.c:38
#1  0x00007ffff677a74a in window_x11_resize (height=922, width=871, window=0xd3dbd0)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/x11/gdkwindow-x11.c:1806
#2  gdk_window_x11_move_resize (window=0xd3dbd0, with_move=<optimized out>, x=<optimized out>,
    y=<optimized out>, width=<optimized out>, height=<optimized out>)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/x11/gdkwindow-x11.c:1890
#3  0x00007ffff6757371 in gdk_window_move_resize_toplevel (height=922, width=871, y=0, x=0,
    with_move=0, window=0xd3dbd0) at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkwindow.c:5619
#4  gdk_window_move_resize_internal (window=0xd3dbd0, with_move=0, x=0, y=0, width=871, height=922)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkwindow.c:5686
#5  0x00007ffff6d35f59 in gtk_window_move_resize (window=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkwindow.c:9371
#6  gtk_window_check_resize (container=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkwindow.c:8071
#7  0x00007ffff5390504 in _g_closure_invoke_va (closure=0xd01b00, return_value=0x0,
    instance=0x158c230, args=0x7fffffff9840, n_params=<optimized out>, param_types=0x0)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gclosure.c:831
#8  0x00007ffff53a9fa7 in g_signal_emit_valist (instance=0x158c230, signal_id=<optimized out>,
    detail=0, var_args=var_args@entry=0x7fffffff9840)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3214
#9  0x00007ffff53aa8ff in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>,
    detail=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3361
#10 0x00007ffff6b2f96c in gtk_container_idle_sizer (clock=0xd41240, container=0x158c230)
    at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkcontainer.c:1873
#11 0x00007ffff5390504 in _g_closure_invoke_va (closure=0x1b50db0, return_value=0x0,
    instance=0xd41240, args=0x7fffffff9b88, n_params=<optimized out>, param_types=0x0)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gclosure.c:831
#12 0x00007ffff53a9fa7 in g_signal_emit_valist (instance=instance@entry=0xd41240,
    signal_id=signal_id@entry=140, detail=detail@entry=0, var_args=var_args@entry=0x7fffffff9b88)
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3214
#13 0x00007ffff53aae4a in g_signal_emit_by_name (instance=instance@entry=0xd41240,
    detailed_signal=detailed_signal@entry=0x7ffff67b319a "layout")
    at /tmp/buildd/glib2.0-2.44.1/./gobject/gsignal.c:3401
#14 0x00007ffff6747624 in gdk_frame_clock_paint_idle (data=0xd41240)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdkframeclockidle.c:408
#15 0x00007ffff6736d88 in gdk_threads_dispatch (data=0xf55500,
    data@entry=<error reading variable: value has been optimized out>)
    at /tmp/buildd/gtk+3.0-3.16.6/./gdk/gdk.c:719
#16 0x00007ffff50bb5e3 in g_timeout_dispatch (source=0x1b50de0, callback=<optimized out>,
    user_data=<optimized out>) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:4545
#17 0x00007ffff50bab4d in g_main_dispatch (context=0xd1f0c0)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3122
#18 g_main_context_dispatch (context=context@entry=0xd1f0c0)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3737
#19 0x00007ffff50baf20 in g_main_context_iterate (context=context@entry=0xd1f0c0,
    block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3808
#20 0x00007ffff50bafcc in g_main_context_iteration (context=0xd1f0c0, context@entry=0x0,
    may_block=may_block@entry=1) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3869
#21 0x00007ffff6be1ff5 in gtk_main_iteration () at /tmp/buildd/gtk+3.0-3.16.6/./gtk/gtkmain.c:1320
#22 0x000000000051b4f2 in XTread_socket (terminal=0x11fe6a0, hold_quit=0x7fffffff9ea0)
    at xterm.c:8644
#23 0x000000000055d733 in gobble_input () at keyboard.c:6929
#24 0x000000000055db1d in handle_async_input () at keyboard.c:7181
#25 0x000000000055db3c in process_pending_signals () at keyboard.c:7195
#26 0x000000000055db7c in unblock_input_to (level=0) at keyboard.c:7210
#27 0x000000000055dbb1 in totally_unblock_input () at keyboard.c:7238
#28 0x000000000051e920 in x_wait_for_event (f=0x12ac8d0, eventtype=22) at xterm.c:10318
#29 0x0000000000538b9a in xg_frame_set_char_size (f=0x12ac8d0, width=840, height=858)
    at gtkutil.c:1017
#30 0x000000000051f070 in x_set_window_size (f=0x12ac8d0, change_gravity=false, width=840,
    height=858, pixelwise=true) at xterm.c:10488
#31 0x00000000004260b0 in adjust_frame_size (f=0x12ac8d0, new_width=-1, new_height=-1, inhibit=2,
    pretend=false, parameter=44160) at frame.c:490
#32 0x0000000000541579 in update_frame_tool_bar (f=0x12ac8d0) at gtkutil.c:5009
#33 0x0000000000455710 in redisplay_tool_bar (f=0x12ac8d0) at xdisp.c:12281
---Type <return> to continue, or q <return> to quit---

#34 0x0000000000462451 in redisplay_window (window=19585253, just_this_one_p=false) at xdisp.c:16795
#35 0x0000000000458f3f in redisplay_window_0 (window=19585253) at xdisp.c:14197
#36 0x00000000005e965b in internal_condition_case_1 (bfun=0x458efd <redisplay_window_0>,
    arg=19585253, handlers=13333075, hfun=0x458ec5 <redisplay_window_error>) at eval.c:1387
#37 0x0000000000458ea2 in redisplay_windows (window=19585253) at xdisp.c:14177
#38 0x000000000045806a in redisplay_internal () at xdisp.c:13769
#39 0x0000000000456365 in redisplay () at xdisp.c:13032
#40 0x0000000000554c0e in read_char (commandflag=1, map=17224723, prev_event=0,
    used_mouse_menu=0x7fffffffe3ff, end_time=0x0) at keyboard.c:2546
#41 0x0000000000561e62 in read_key_sequence (keybuf=0x7fffffffe5d0, bufsize=30, prompt=0,
    dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true,
    prevent_redisplay=false) at keyboard.c:9191
#42 0x00000000005522b8 in command_loop_1 () at keyboard.c:1406
#43 0x00000000005e94e1 in internal_condition_case (bfun=0x551e8d <command_loop_1>, handlers=18672,
    hfun=0x551677 <cmd_error>) at eval.c:1363
#44 0x0000000000551b94 in command_loop_2 (ignore=0) at keyboard.c:1138
#45 0x00000000005e8c76 in internal_catch (tag=44496, func=0x551b6b <command_loop_2>, arg=0)
    at eval.c:1123
#46 0x0000000000551b36 in command_loop () at keyboard.c:1117
#47 0x000000000055123f in recursive_edit_1 () at keyboard.c:723
#48 0x00000000005513d3 in Frecursive_edit () at keyboard.c:794
#49 0x000000000054f20d in main (argc=4, argv=0x7fffffffea58) at emacs.c:1629
(gdb) c
c
Continuing.

  reply	other threads:[~2015-08-22 10:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-21 22:34 bug#21317: 25.0.50; frame-resize-pixelwise has no effect (GTK, no window manager) Pip Cet
2015-08-22  6:40 ` martin rudalics
2015-08-22 10:50   ` Pip Cet [this message]
2015-08-22 14:16     ` martin rudalics
2015-08-22 15:32       ` Pip Cet
2015-08-22 17:46         ` martin rudalics
2015-08-23  9:45           ` Pip Cet
2015-08-23 11:12             ` martin rudalics
2015-08-23 12:20               ` Pip Cet
2015-08-23 12:29                 ` Pip Cet
2015-08-23 13:23                   ` martin rudalics
2015-08-23 13:47                     ` Pip Cet
2015-08-23 14:09                       ` martin rudalics
2015-08-23 14:44                         ` Pip Cet
2015-08-23 17:55                           ` martin rudalics
2015-08-23 19:43                             ` Pip Cet
2015-08-24  8:17                               ` martin rudalics
2015-08-24 10:45                                 ` Pip Cet
2015-08-23 13:10                 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOqdjBdXHnpr4BUVB3svuuoWDAzrm5y=p9yrJODdAjGVabSBNw@mail.gmail.com' \
    --to=pipcet@gmail.com \
    --cc=21317@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.