Gtk bug for the buglist



Quoting Elliot Lee <sopwith@redhat.com>:
> Miguel says he fixed gnome-terminal, so that is off the map, along with
> quite a few other items that either seemed irrelevant, had been fixed, or
> couldn't be reproduced.
> 
> 	The Buglist
> * gtk
> fvwm2 2.0.46 seems to barf on gtk_window_set_policy(). Investigate.
> [1998-12-28]
> 

Hi Elliot. Here is a new bug report for gtk. The 0th entry in a
gtk clist (and sometimes other entries) is garbled when retrived using
gtk_clist_get_text. 

For a good example of this bug, checkout out nethack from cvs, compile
it, run, and select Archeologist in the player selection dialog
(nethack/win/gnome/GnomeHackPlayerSelDialog.c) the nice debugging code I
added will spew out the following (you may have to scroll up a bit to see
it and gnomehack is not yet a finished product):

Message: Selected role=x‹Q@x‹Q@gist
Message: Selected role=Archeologist (0)

The first is the return from gtk_clist_get_text and the second is the 
actual selected role, as found using the currently in place workaround.

The text displayed in the clist is correct, and for entries other than
the 0th, gtk_clist_get_text seems to generally (but not always) return
the right thing.

 -Erik

--
Erik B. Andersen   Web:    http://www.inconnect.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--



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