Bug 137922 - Treeview typeahead patch crashes when treeview window is empty
Summary: Treeview typeahead patch crashes when treeview window is empty
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk+
Version: 3
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-02 20:31 UTC by Nickolay V. Shmyrev
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-16 14:39:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.