[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Refresh bug with the setFullWidth(true) method of KListView
From:       Nicolas <nicolast () libertysurf ! fr>
Date:       2005-04-29 21:05:27
Message-ID: 200504292305.29138.nicolast () libertysurf ! fr
[Download RAW message or body]

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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic