On Wednesday 27 July 2005 04:31 am, Chris Cannam wrote:

> Must be a new feature of the newer Qt or KDE, then, as this combo has just
> as many entries here without expanding widthways at all. I wonder if the
> same thing happens with large program-select or plugin-selection combos?
> Maybe you can't get far enough to tell from there.
>
> I assume there must be a way to revert this behaviour (though whether it's
> backward compatible may be another question). I suppose it could even be a
> setting on QComboBox that KComboBox "helpfully" defaults differently
> depending on the number of items.

I think it might be a KDE or QT bug (more broadly, or limited to FC4).

I flipped through the API docs going back by KDE and QT to 2.x.  We use 
setFixedHeight() to set the height for this and all the other combos.  This 
looks like it's inherited from QWidget, and it's been the same for a long 
time.  There are no published API differences between his QT and mine, his 
KDE and mine (this one I know off the top of my head is 3.4.0 for me, 3.4.1 
for him, but a generic KDE 3.4 API), so this behavior shouldn't have changed.  
If it did, then isn't it a bug with QT and/or KDE?

It looks like we might or might not hack around his problem by using a 
setSizeLimit() here instead.  It looks like this has been around since QT 2.x 
too, and so I'm not sure why we use one over the other.  It produces 
predictable results here, and overrides the setFixedHeight(), so maybe it 
would work for Larry.

Opinions?

Bottom line is I can't see any reason why our code would do this all of a 
sudden.  Mine isn't the only combo box with >10 entries at all, and I'm 
betting that all his combos are breaking the same way.  It's just so woefully 
obvious with this particular big'un.

-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to