[Eric] Problem with large environment variable when populating the enviornment variable combo box in the run/debug dialog box

Nate Reid nreid at imagemoversdigital.com
Wed Mar 4 18:45:35 GMT 2009


We have a very large PYTHONPATH environment variable here at work, and when this value is added to the 'environmentCombo' combobox
(line 95 of StartDialog.py)
The large size of the variable (in my case: 3533 characters!) means that the combo box is enormous and actually extends beyond the size of the screen.  An artifact of this is that the dialog doesn't display any of its contents, although when I hover over portions of it, I do get tooltips, etc.  Is this a bug with QT, and/or is there a way to only show a limited number of characters of a particular string for a combo  box, and instead use a dictionary to lookup the actual value that will be used on run?

Something like:
VERY_LARGE_STRING_BLAH_BL...
would just be a key into the actual value?

For the time being, I need to comment out that line that populates the combo box.

Cheers!
-Nate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20090304/80e1ef76/attachment.html


More information about the Eric mailing list