[Eric] Problem with large environment variable when populating
the enviornment variable combo box in the run/debug dialog box
Detlev Offenbach
detlev at die-offenbachs.de
Thu Mar 5 17:39:09 GMT 2009
On Mittwoch, 4. März 2009, Nate Reid wrote:
> 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?
The observed behavior seems to be a Qt "feature".
>
> 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
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list