[Qtce-preview-feedback] Strange qcombobox/qmenubar/quiloader bug

Matthias Van Woensel matthias at fotodegroot.be
Fri Apr 25 15:28:59 CEST 2008


Hi,

We found a very strange bug.
When selecting an item from the combobox the combobox fails to refresh. The
combobox closes but the down-pointing arrow stays selected as if the
combobox was still open. The value that is visible doesn't change. It's only
after you click it again that it refreshes.

The bug only happens when a .ui file containing a combobox and a qmenubar
get parsed by uiloader. The problem only manifested itself when we started
using RC1. While in beta1, the comboboxes worked just fine. We also tested
it on the latest 4.4 snapshots but that gives the same result as RC1. It is
only when you remove the QMenubar from the ui file that the comboboxes work
as they are supposed to.

To replicate this problem we altered the calculator example a bit.
Attached to this e-mail you'll find the .ui file that we used for testing
and the cpp file with our changes to the example.

Kind Regards,
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20080425/7553aff7/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: calculatorform.ui
Type: application/octet-stream
Size: 4596 bytes
Desc: not available
Url : http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20080425/7553aff7/attachment-0001.obj 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: calculatorform.cpp
Url: http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20080425/7553aff7/attachment-0001.pl 


More information about the Qtce-preview-feedback mailing list