Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 17 by sot...@gmail.com: ComboBox.Add("item",idx) fails with GTK
http://code.google.com/p/gambas/issues/detail?id=17

1) Describe the problem.
    Adding an item at given index to a CombobBox does not set the correct  
index.
    The inserted item appear at index+1 in the list. Try:
    ...
    ComboBox.List=["item1","item2","item3"]
    ComboBox.Add("Pick one...",0)
    ...
    With ComboBox.ReadOnly = true the text shown into the combo is. "Item1"
    opening  the list you see:
    Item1
    Pick one...
    Item 2
    Item 3

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: gb3 3496
Operating system: Linux
Distribution: Ubuntu 10.10
Architecture: x86_64
GUI component: GTK+
Desktop used: Gnome

3) Provide a little project that reproduces the bug or the crash.
    test.gz attached

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!



Attachments:
        test.tar.gz  5.1 KB


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to