After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 50554 - New ComboBox/OptionMenu replacement widget
New ComboBox/OptionMenu replacement widget
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 98359 (view as bug list)
Depends on:
Blocks: 93033
 
 
Reported: 2001-02-03 19:11 UTC by Kristian Rietveld
Modified: 2011-02-04 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kristian Rietveld 2001-02-03 19:11:45 UTC
The new ComboBox (and maybe the GtkEntry with autocompletion capabilities)
has to be added to the gtk+ tree (if it's ready ...). I'll post the final
code for the ComboBox when somebody of the 'core' GTK+ team said that it
is ok.
Comment 1 Havoc Pennington 2001-02-16 23:15:45 UTC
We have another round of comments we want to write up on this, the
gist is that we want to widen the scope of this widget a bit and do
something a bit more ambitious. So moving the widget post-2.0; may be
able to get in a 2.2 sometime in 2001, if we do that. Will write up
the details on gtk-devel-list soon, pester us if not.
Comment 2 Martin Baulig 2001-05-25 04:54:15 UTC
Any progress on this, the current combo is still very broken ?
Comment 3 Havoc Pennington 2001-05-25 05:40:22 UTC
Punted to 2.2.
Comment 4 Havoc Pennington 2002-01-06 20:35:56 UTC
We need to get links attached to this bug pointing to the discussion
of this widget - I think there were some useful mails.
Comment 5 Matthias Clasen 2002-01-07 11:21:18 UTC
Here are pointers to some threads discussing combo boxes:

http://mail.gnome.org/archives/gtk-devel-list/2000-
August/msg00025.html

http://mail.gnome.org/archives/gtk-devel-list/2000-
November/msg00133.html

this mail contains a link to a tarball:

http://mail.gnome.org/archives/gtk-devel-list/2001-
January/msg00289.html
Comment 6 Matthias Clasen 2002-01-07 11:26:25 UTC
Is there a way to add long URLs to a bug without breaking them 
(via the web interface) ?!
Comment 7 Kristian Rietveld 2002-01-07 19:52:51 UTC
The code in the tarball shouldn't be used I guess ;). It contains the
latest revision of the combo box code I was working on. It has been
punted to 2.2, and there were/are plans to redesign the
combobox/optionmenu API.
Comment 8 Owen Taylor 2002-11-13 16:27:48 UTC
*** Bug 98359 has been marked as a duplicate of this bug. ***
Comment 9 Kristian Rietveld 2002-12-31 01:08:31 UTC
This bug is soooooo outdated. Sorry for repeating this (:
Comment 10 Matthias Clasen 2003-01-02 23:32:10 UTC
Made it less outdated by fixing the target milestone.
Comment 11 Kristian Rietveld 2003-06-04 12:05:33 UTC
Recent discussion:
http://mail.gnome.org/archives/gtk-devel-list/2003-April/msg00265.html

Final API will probably look like that. Though there are some upcoming
subtle changes (wrt GtkCellLayout). There's a working implementation
in libegg.
Comment 12 Kristian Rietveld 2003-09-26 22:16:24 UTC
The new ComboBox landed today. Resolving as FIXED.
Comment 13 Andreas Kloeckner 2003-10-05 22:46:53 UTC
Would it make sense to have the new ComboBox implement the
CellEditable interface, so it could itself be used as part of a
TreeView? [I'm willing to write code]
Comment 14 Owen Taylor 2003-10-07 15:29:13 UTC
Andreas - 

 - A "Combo" cell renderer is bug 116552

 - I don't think it will make GTK+-2.4, but it would be
   reasonable for 2.6

 - It might be done by adding GtkCellEditable to 
   an existing class, but you might want to instead derive
   a private subclass from GtkComboBox and make that 
   implement GtkCellEditable. You'd have to fool around
   to see what worked best.