gtk warning when scrolling tab bar

Bug #585727 reported by Stupidfrog
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Terminator
Invalid
Undecided
Unassigned
gtk+2.0 (Ubuntu)
New
Low
Unassigned

Bug Description

Steps to reproduce:
 * Open an application that uses tabs (e.g. GNOME Terminal or gEdit) from a terminal
 * Cause it to have a visible tab bar
 * Scroll the tab bar to switch tabs
 * Note the gtk warning: GtkWarning: gtk_widget_is_ancestor: assertion `ancestor != NULL' failed

--------Original Description-------
Hello

I would like to report the following bug

I open up a new tab with ctrl+shift+T and then try to come back to the first tab.
The application doesn't crash but I get the following error at the prompt: GtkWarning: gtk_widget_is_ancestor: assertion `ancestor != NULL' failed gtk.main()

Thanks

Revision history for this message
Chris Jones (cmsj) wrote :

I'm unable to immediately reproduce this...

 * what do you mean by "come back to the first tab" - you just click on the first tab having created a second?
 * which distro are you using?
 * which version of Terminator are you using?
 * which versions of gtk and pygtk are you running?

It might be a subtle incompatibility with particular versions of gtk/pygtk, but I'm not sure.

Changed in terminator:
status: New → Incomplete
Revision history for this message
Stupidfrog (stupidfrog) wrote :

Yes, that's exactly the case.
I open up terminator (version 0.93), I create a new tab, then I "roll" back to the first tab (using my mouse wheel) and there I get the message at the prompt:

/usr/bin/terminator:74: GtkWarning: gtk_widget_is_ancestor: assertion `ancestor != NULL' failed
  gtk.main()

However, I have just noticed that if I "click" back to the first tab (left mouse click) strangely enough I don't get the error!!?!! Weird??
I guess it's not very important though (if it's not linked in a way to the problem with saving the layout)

For information:
I am running ubuntu 10.04 (x32) and
gtk+2.0: Package: libgtk2.0-dev, Version: 2.20.1-0ubuntu1
pygtk: Package: python-gtk2-dev, Version: 2.17.0-0ubuntu2

Thanks!

Revision history for this message
Chris Jones (cmsj) wrote :

Great, thanks.
I'm marking this as Invalid for Terminator because I get the same message when I scroll over any tab (tested in GNOME Terminal and gEdit), which makes me think it's a bug in Gtk+ itself. We can add a task to the bug for that.

Changed in terminator:
status: Incomplete → Invalid
Chris Jones (cmsj)
summary: - Problem changing tabs
+ gtk warning when scrolling tab bar
description: updated
Revision history for this message
Vikram Ambrose (noel-ambrose) wrote :

I'm having the same problem with Ubuntu-10.04.

Revision history for this message
John Lamb (john-lawnjam) wrote :

Getting this in my wxPython project - I've attached a minimal test case which demonstrates the bug, just put the mouse over the Test tab and scroll.

Changed in gtk+2.0 (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.