Bug 137922

Summary: Treeview typeahead patch crashes when treeview window is empty
Product: [Fedora] Fedora Reporter: Nickolay V. Shmyrev <nshmyrev>
Component: gtk+Assignee: Matthias Clasen <mclasen>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-16 14:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nickolay V. Shmyrev 2004-11-02 20:31:36 UTC
This patch still crashes with gtk+-2.4.13-5

Small code with example:

#include <gtk/gtk.h>
int
main (int argc, char *argv[])
{
  GtkWidget *window;
  GtkWidget *tree_view;
  GtkListStore *model;
                                                                     
          
  gtk_init (&argc, &argv);
  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  model = gtk_list_store_new (1, G_TYPE_STRING);
  tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL(model));
                                                                     
          
  gtk_container_add (GTK_CONTAINER (window), tree_view);
                                                                     
          
  gtk_widget_show_all (window);
                                                                     
          
  gtk_main ();
                                                                     
          
  return 0;
}

When you select window, type something, then press enter, you'll see
the crash, or you can just press enter.

Comment 1 Matthias Clasen 2004-11-03 14:25:06 UTC
Oh, the fix included in 2.4.13-5 was incomplete. Building updated
packages now. I guess they won't make it into FC3 at this point, so 
expect an update.

Comment 2 Matthias Clasen 2004-11-16 14:39:26 UTC
Fixed by 2.4.13-0 which is in fc3