Results 1 to 6 of 6

Thread: QDockWidget freezes desktop when undocking

  1. #1
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QDockWidget freezes desktop when undocking

    I'm just posting to see if anyone has ever seen strange (i.e. inconsistent) freezing of the desktop when undocking a QDockWidget from a QMainWindow. It happens on my app, but not immediately and can be unfrozen with a Crtl-Alt-Del. My GUI is based on the MonkeyStudio MainUi.ui layout, and that suffers from the same problem as well.

    I'm using Qt 4.2.2 open source / VS2005 to link to OpenCascade.

    Pete
    Last edited by pdolbey; 8th March 2007 at 11:16.

  2. #2
    Join Date
    Nov 2006
    Posts
    35
    Thanks
    25
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Re: QDockWidget freezes desktop when undocking

    I have exactly the same issue with QDockWidget as you noticed. Also with unlocking with Ctrl+Alt+Del (not killing the process). Moving the DockWidget afterwards freezes it again.
    Worst: It happened the first time to me while giving a presentation of my work in progress application at my University.

    I am using Qt 4.2.2 with MinGW under Windows XP Professional.

    I could not identify any way to reproduce this "effect", but when it occurs one time in a session it will then occur always until rebooting Windows.

    It must be a bug in Qt, because after it occured once, it occurs also with Qt Designer or other Trolltech Qt Apps/Examples.

    [EDIT]
    I just figured out that it will happen on my IBM ThinkPad after resuming Windows from Standby.
    I had my Laptop in Standby just before the presentation to conserve battery and be ready withing seconds.

    [EDIT2]Hmm this does not always work... and sometimes it works again after some time... ?![/EDIT2]
    [/EDIT]

    -Jens
    Last edited by No-Nonsense; 8th March 2007 at 12:20.

  3. #3
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QDockWidget freezes desktop when undocking

    And I think I've managed to unblock the freezing in the past by forcing a recompile of QtCore(d).dll/QtGui(d).dll - but it might have been a coincidence.

    Pete

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany.
    Posts
    111
    Thanks
    29
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QDockWidget freezes desktop when undocking

    I had that effect too. It was very reproducable. If I hit ctrl-alt-del the dock unfreezed and was freely movable and dockable. It happened again on undocking.

    I think the update to 4.2.3 cured it.

    K

  5. The following 2 users say thank you to TheKedge for this useful post:

    No-Nonsense (9th March 2007), pdolbey (12th March 2007)

  6. #5
    Join Date
    Nov 2006
    Posts
    35
    Thanks
    25
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: QDockWidget freezes desktop when undocking

    Quote Originally Posted by TheKedge View Post
    I think the update to 4.2.3 cured it.
    Didn't know it was available. It's downloading right now.

    -Jens

  7. #6
    Join Date
    Nov 2006
    Location
    Shrewsbury, UK
    Posts
    97
    Thanks
    3
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QDockWidget freezes desktop when undocking

    The 4.2.3 upgrade isn't the most widely publicised Qt release I've ever seen . I'll download it tonight

    Pee

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.