[Issue N7298] [PATCH] QListBox ensureCurrentVisible() brokenness...

Scott Wheeler wheeler at kde.org
Mon Sep 30 19:23:05 BST 2002


On Monday 30 September 2002 15:31, qt-bugs at trolltech.com wrote:

> The following has been applied to Qt. Thanks for reporting this one.
<snip>

This *mostly* fixes the problem, but still misses at least one case.  If you 
resize the widget, the same problem of scrolling back to the selected item 
happens.  (My patch did address that.)  In the test case that I sent, try 
starting it up, selecting the first item, scrolling down to the bottem, and 
then resizing the window.

More realistically, I'm using a KListBox with a slider in between the listbox 
and other widgets, so it's a common case that the listbox is resized...

Cheers,

-Scott

-- 
It may be true that you can't fool all the people all the time, but you can 
fool enough of them to rule a large country. 
--Will Durant





More information about the kde-core-devel mailing list