Bug 74650

Summary: Drop-down lists of toolbar combo views don't appear with UI effects on
Product: [Applications] kdevelop Reporter: Lukasz Wojtylak <rufio>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lukasz Wojtylak 2004-02-09 00:17:42 UTC
Version:           3.0.0 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc-3.3.1 
OS:          Linux

When "combobox effect" is set to "animate" in the control center, toolbar
combo views don't popup their drop-down lists (thus appearing to be  empty). If I comment out UI effect test (file lib/widgets/qcomboview.cpp, lines 780--791), leaving lb->show() only, everything's ok. I have Qt (3.2.1) compiled with effects enabled (without QT_NO_EFFECTS flag) and all other drop-down lists in all combo boxes in Qt and KDE applications work as expected.
Comment 1 Amilcar do Carmo Lucas 2004-02-09 20:00:55 UTC
KDevelop ??????
Comment 2 Lukasz Wojtylak 2004-02-09 20:44:18 UTC
Yes, KDevelop. It applies to a special widget class KDevelop maintains for itself, declared in kdevelop-3.0.0/lib/widgets/qcomboview.h, defined in kdevelop-3.0.0/lib/widgets/qcomboview.cpp. All stock Qt and KDE widgets work OK for me.
Comment 3 Alexander Dymo 2004-02-09 23:43:22 UTC
Confirmed. Sacu, maybe this is the problem you had with comboview?
Comment 4 Alexander Dymo 2004-02-09 23:57:31 UTC
CVS commit by dymo: 

Disabled combo box animation because this doesn't work anymore.

CCMAIL: 74650-done@bugs.kde.org


  M +2 -2      qcomboview.cpp   1.14


--- kdevelop/lib/widgets/qcomboview.cpp  #1.13:1.14
@@ -778,10 +778,10 @@ void QComboView::popup()
 
 //#ifndef QT_NO_EFFECTS
-    if ( QApplication::isEffectEnabled( UI_AnimateCombo ) ) {
+/*    if ( QApplication::isEffectEnabled( UI_AnimateCombo ) ) {
         if ( lb->y() < mapToGlobal(QPoint(0,0)).y() )
         qScrollEffect( lb, QEffects::UpScroll );
         else
         qScrollEffect( lb );
-    } else
+    } else*/
 //#endif
         lb->show();


Comment 5 Sascha Cunz 2004-02-10 03:20:37 UTC
Hi Alexander, that's exactly my problem. And it seems solved for me too, now :-)

Thanks Lukasz! You don't imagine how many hours i already spend on looking qcomboview.cpp up and down searching for this problem :-)

Cheers Sascha
Comment 6 Lukasz Wojtylak 2004-02-10 11:33:32 UTC
I can imagine, since my first hypothesis was the combos aren't filled up at all and I spent the whole Sunday afternoon to discover the real source of the problem.

Regards, Lukasz Wojtylak "Rufio"