QListWidgetItem boundary box only but not highlighted
I'm currently using Qt 4.3.3 on Windows XP 32 bit. I have a QListWidget with the signal currentItemChanged. My QListWidget has a lot of items in it and I have to scroll down to reach items further down the list. Everything is working as expected whenever I select a QListWidgetItem by mouse click or the D-pad. For this list, I can only select a maximum of one item at a time.
Whenever I select a items from the QListWidget without scrolling down, the selected item gets highlighted normally. However,
1)If I select an item
2)then scroll down until I can't see my initial selection
3)select another item in the list
I can see the selection boundary of my current item but it's not highlighted. Any ideas what I might be missing?
Re: QListWidgetItem boundary box only but not highlighted
I can't reproduce the problem with Qt/X11 4.4.0:
Code:
#include <QtGui>
int main(int argc, char* argv[])
{
for (int i = 0; i < 100; ++i)
listWidget.
addItem(QString::number(i
));
listWidget.show();
return app.exec();
}
Can you reproduce the problem with such minimal compilable example?