[Qt-interest] QListWidget.clear OK in 10.5, but not repainting in 10.6

Jainish Jain Jainish_Jain at persistent.co.in
Wed May 26 06:27:49 CEST 2010


Hi,

Yes, I have also faced a similar problem with QTableWidget in Qt Carbon. I have got around the problem by using viewport->update() after cleaing or inserting the data and it works for me.

Jainish
________________________________________
From: qt-interest-bounces at trolltech.com [qt-interest-bounces at trolltech.com] On Behalf Of Tony Rietwyk [tony.rietwyk at rightsoft.com.au]
Sent: Wednesday, May 26, 2010 6:18 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] QListWidget.clear OK in 10.5,    but not repainting in 10.6

Hi Everybody,

My users are reporting an issue with an application when running on Mac OSX 10.6, Qt 4.6.0.  I believe it was built using carbon, but will not be able confirm this until tomorrow.

I have a QComboBox which on_currentIndexChanged clears a QListWidget and populates it.  On 10.5 it works, and only the new items appear in the QListWidget.  On 10.6 users report seeing a mix of old and new items appear.  Clicking in the QListWidget forces a repaint and only the new items appear.

Has anyone else seen this behaviour?  It might be related to QTBUG-6390.  In my case the QListWidget is also an indirect child of a QTabWidget page.

Tony.


_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.




More information about the Qt-interest-old mailing list