[hafqa] [hafqa] [Bug 1959] New: CellRendererCombo default width isn't wide enough to show dropdown contents

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Sun Sep 2 06:56:56 EEST 2007
https://bugs.maemo.org/show_bug.cgi?id=1959

           Summary: CellRendererCombo default width isn't wide enough to
                    show dropdown contents
           Product: System software
           Version: 3.x
          Platform: N800
        OS/Version: IT OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Low
         Component: gtk
        AssignedTo: tommi.komulainen at nokia.com
        ReportedBy: gcash at cfl.rr.com
         QAContact: gtk-bugs at maemo.org


EXPECTED OUTCOME:
I would expect the CellRendererCombo column to be wide enough to show the
dropdown entries, as it is when you have a standalone ComboBox or
ComboBoxEntry. Either that, or for the column to resize wide enough to show the
list when its popped up. Or failing that, use a menu like desktop does.

ACTUAL OUTCOME:
It's just wide enough to show the current data in the cell. It appears the
dropdown list is constrained to the width of the column.

STEPS TO REPRODUCE THE PROBLEM:
Create a TreeView with several columns, with a CellRendererCombo not as the
last column, and populate its dropdown list with entries of more than a few
characters. See the "demo" script.

Uncomment the "col.set_min_width(250)" line to see how it should look.

OTHER COMMENTS:
The desktop version of GTK uses a menu popup to show the list, and this isn't
constrained to fit within the column so it doesn't matter how wide the column
is.

Another problem is I can't determine the necessary width of the combobox entry,
so I can't resize the column myself. If you try to resize the column width
after the combobox entry is created (in a "editing-started" signal) then the
resize gets ignored.


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list