Refresh bug with the setFullWidth(true) method of KListView object

Nicolas nicolast at libertysurf.fr
Fri Apr 29 22:05:27 BST 2005


Does I have to import the KDE CVS tree or only this test? 

I have tested your little program, and as you can see in the screenshot, the 
bugs is still here. I'm using KDE 3.4 from Mandriva Cooker.

No bug (first time) :
http://annivernet.free.fr/images/divers/klistviewnobug.png

And a bug (after quickly move the column button) :
http://annivernet.free.fr/images/divers/klistviewbug.png
(the square is not always at the same place, can be more little... it 
depends.)

As you can see, I've added some rows to better see the problem, but with your 
first version, it seems to work (but there was not enough rows to see 
something)

Thanks.

>
> Index: klistviewtest.cpp
> ===================================================================
> RCS file: /home/kde/kdelibs/kdeui/tests/klistviewtest.cpp,v
> retrieving revision 1.3
> diff -u -p -r1.3 klistviewtest.cpp
> --- klistviewtest.cpp   28 Feb 2004 17:52:00 -0000      1.3
> +++ klistviewtest.cpp   28 Apr 2005 12:24:04 -0000
> @@ -13,6 +13,7 @@ int main( int argc, char **argv )
>         view->setDragEnabled( true );
>         view->setItemsMovable( false );
>         view->setAcceptDrops( true );
> +       view->setFullWidth( true );
>         view->addColumn("Column 1");
>         view->addColumn("Column 2");
>         view->addColumn("Column 3");
>
> (use "make klistviewtest && ./klistviewtest" to compile and run the test
> application)




More information about the kde-core-devel mailing list