Results 1 to 7 of 7

Thread: QComboBox +SUSE10.0 +qt4.1 strange behavior

  1. #1
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QComboBox +SUSE10.0 +qt4.1 strange behavior

    Hi,

    I'm making a gui interface using Qt designer. Everthing seems to work in the form preview option of the designer.
    However when I compile the application I get a very strange behavior with the QComboBox widgets.

    If I click on the combbox and Select any of the options everthing works fine. But If, for any reason, I do not select an option, and leave the popup window of the ComboBox open, and click with any mouse button anywhere in the Qt application or in the desktop, all my system freezes. The mouse pointer still moves arround the Desktop but none of the clicks work. The Keybord also don't work, but for the combination ctrl alt f1, wich allows me to open a non graphical console and kill the qt process and regain control of the sistem.

    Is the behaviour normal? Should I change some specific propriety of the QComboBox widget? I tried to change all proprieties of the QComboBox widget displayed in the Qt Designer but the results are always the same.

    I'm using kde 3.5.1 as desktop and Suse 10.0 as operating system and Qt 4.1.0-16

    any help would be most appreciated.

    My best regards,

    António Tomé

  2. #2
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    Please try another look'n'feel theme (for qt or kde) and look if the woould be this problem?

  3. #3
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    Quote Originally Posted by Xagen
    Please try another look'n'feel theme (for qt or kde) and look if the woould be this problem?
    I've tried, without much hope because others Qt applications (e.g texmaker) worked quite well. Only application presents this behaviour.

    The Default behavior seems to be close the popup window left open when one clicks everywhere else.
    Last edited by antonio.r.tome; 20th March 2006 at 12:29.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    Hmm, does a populated combo box work properly in designer?
    Have you possibly installed any event filter which could break it?

    PS. Consider updating to Qt 4.1.1

  5. #5
    Join Date
    Jan 2006
    Location
    Minsk, Brest, Belarus
    Posts
    54
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    Yes, it depends on the version of QT installed in system.
    Try to update.

    P.S. I had this problem on Slackware 10, qt 3.3.2 and theme for kde bluecurve

  6. #6
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    Quote Originally Posted by jpn
    Hmm, does a populated combo box work properly in designer?
    Have you possibly installed any event filter which could break it?

    PS. Consider updating to Qt 4.1.1
    Yes it worked in the form preview of the designer!
    I have not installed any event filter.

    I'm going to post on suse-kde because I usually update my qt with the kde supplementary package of suse 10.0
    my qt build is from last Friday, I think. If that doesn't work I'll try to Upade to 4.1.1 although to avoid system troubles I only like to install suse rpm in my system, but that is not always possible.

    many thanks,

    António R. Tomé

  7. #7
    Join Date
    Feb 2006
    Location
    Portugal
    Posts
    24
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QComboBox +SUSE10.0 +qt4.1 strange behavior

    I found the problem.
    After downloaded and compiled the qt4.1 the problem didn't solve by itself.
    And in fact I have a redefinition of
    void QWidget:closeEvent(QCloseEvent *event)

    what I thought was only preventing the main window from closing itself when the window close button was clicked.

    without this redefinition everything works fine.

    Once again many thanks to the anwsers.

    António Tomé.

Similar Threads

  1. QComboBox strange behavior
    By Antebios in forum Newbie
    Replies: 2
    Last Post: 31st March 2009, 23:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.