Description of problem: If a large number of items is to be displayed in a combobox, the set_wrap_width function allows to display the items in an array,rather than in a single column. In Mageia, even if a set_wrap_width specifies an argument > 1, all items are nevertheless displayed in a single column, and not in an array as illustrated in http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/c4506.html and http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/sample_programs/gtk2_combo_box_wrap.pl Version-Release number of selected component (if applicable): perl-Gtk2-1.242.0-2.mga2 I also tried with mageia3 alpha1: same problem How reproducible: always Steps to Reproduce: 1. run the demo provided as an attachment (combo-error.pl 2. 3.
Created attachment 2868 [details] S ource script to demonstrate the error This script is an exact copy of http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/c4506.html with 2 exceptions: - to avoid excessive height of the resulting display, the number of items has been reduced from 50 to 20 - ease taking a snapshot from a window, the height of the window has been increased by inserting an additional vbox below the one with the combobox These changes are marked by ###
Created attachment 2869 [details] Screenshot of the display obtained by running the error demo script
Created attachment 2870 [details] Example of a correctly displayed multi-column combobox pulldown Display corresponding to the original demo, as published at http://gtk2-perl.sourceforge.net/doc/gtk2-perl-study-guide/sample_programs/gtk2_combo_box_wrap.pl
Created attachment 2889 [details] Copy of perl-gtk email exchange: set_wrap_width works on slackware
Version: 2 => CauldronAssignee: bugsquad => jquelinSource RPM: (none) => perl-Gtk2Whiteboard: (none) => MGA2TOO
if i'm trying a similar example with python (http://www.pygtk.org/pygtk2tutorial/examples/comboboxwrap.py) i get the same behaviour. so it seems that the problem comes from gtk2 itself, not the bindings themselves (perl or python). ==> re-assigning to Olav, gtk2+ maintainer
CC: (none) => jquelinAssignee: jquelin => olavSource RPM: perl-Gtk2 => gtk+2.0
Summary: Combobox set_wrap_width does not work with perl-gtk => Combobox set_wrap_width does not work with gtk2+
The problem is still present in Mageia 3 (latest cauldron updates). The evidences from Comment 4 (attachment 2889 [details]) and Comment 5 follow the same logic - check whether the problem is present in some other implementation downsteam from gtk2+, but they arrive at opposite conclusions. How can we make progress with this bug ? This is a nice feature of gtk - I just hit the same bug again when I tried to create a combobox that offers the choice between all nodes of a lengthy directory.
Sorry, but this bug saw no action since over 2 yrs ago. No cauldron package has stayed the same since then. Closing as OLD Please reopen if this report is still valid for _current_ cauldron and/or fully updated Mageia 4
Status: NEW => RESOLVEDCC: (none) => marja11Resolution: (none) => OLD
I have switched all my applications to gtk3 by now: - the bug is fixed in gtk3 - when I last tried in gtk2, the bug was still there. Given that it is ok with gtk3, no need to worry if it pushes a beard.