Re: detaching a notebook tab

On Mon, Jul 6, 2015 at 1:22 PM, Allin Cottrell <cottrell wfu edu> wrote:
On Mon, 6 Jul 2015, Jim Charlton wrote:

It works fine for me on gtk3.  I am running on linux and the version of
gtk3 is the most recent in the repository, I believe (3.10.8-0ubuntu1.5).

I saw your other message ... but I just used the code from your first
message and got the libs and cflags from `pkg-config gtk+-3.0 --libs`
`pkg-config gtk+-3.0 --cflags`.

Thanks, Jim. I guess this means that the problem was introduced after gtk
3.10. I wonder if 3.12 and 3.14 are OK too.

I've now checked gtk 3.10.9, 3.12.2 and 3.14.13 here. The first two are OK, but
3.14.13 segfaults (see the code in my first message). gtk says:

(notebook-drag:5145): Gtk-CRITICAL **: gtk_widget_get_frame_clock:
assertion 'GTK_IS_WIDGET (widget)' failed

(notebook-drag:5145): Gtk-CRITICAL **: gtk_widget_hide: assertion
'GTK_IS_WIDGET (widget)' failed

(notebook-drag:5145): Gtk-CRITICAL **: gtk_widget_set_opacity:
assertion 'GTK_IS_WIDGET (widget)' failed

and gdb says:

#0  0x00007ffff7a62cfe in gtk_widget_get_frame_clock (widget=0x6400000098)
    at gtkwidget.c:5771
#1  0x00007ffff7a7f425 in gtk_drag_anim_timeout (data=0x769fb0)
    at gtkdnd.c:3966
#2  0x00007ffff74bdc78 in gdk_threads_dispatch (data=0x77c3a0) at gdk.c:654
#3  0x00000034bea4a4e3 in g_timeout_dispatch () at /lib64/
#4  0x00000034bea49a8a in g_main_context_dispatch () at /lib64/
#5  0x00000034bea49e20 in g_main_context_iterate.isra ()

Some change in gtkdnd is responsible but at this point I don't have enough of
an understanding of the internals to say exactly what.

Allin Cottrell
Department of Economics
Wake Forest University

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]