Results 1 to 2 of 2

Thread: flicker and wierd resize problems ...

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default flicker and wierd resize problems ...

    I am experimenting with transitions and came across some wierd problems.
    Problems:
    1. With Qt-4.3.x there is flicker when the widget is closed (rather deleted because of the DeleteOnClose Flag.)
    2. Using Qt-4.4.0 there is no flicker (probably due to the use of alien widgets) but there is a wierd resize issue that doesn't come up with Qt-4.3.x. If I start an animation, then resize the widget and start the animation again, the widget jumps back to it's initial size. This doesn't happen with Qt-4.3 and also doesn't happen with Qt-4.4.0 when Keeping the widget alive and showing/hiding it instead of deleting it but I wonder why this can't be achieved with the former approach. (you can try that by commenting out the line setAttribute(Qt::WA_DeleteOnClose, true); in the code below.)
    3. The Performance of the transition is severly affected when the widget's size becomes larger. How can I increase the performance?
    4. Using QGLWidget instead QWidget as baseclass for the Transition class results in flicker when the widget is closed regardless of the version of Qt used. This also happens when the widget is only hidden instead of deleted (upon closing).
    Is the difference in behaviour between Qt-4.3 and Qt-4.4 a bug in Qt? Should I file a bug report?

    Here is the code (I know it's a little large but the only interesting class is TestTransition and the rest is not really relevant):
    main.cpp

    Thanks in advance
    momesana

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Thanks
    22
    Thanked 19 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: flicker and wierd resize problems ...

    Ok, I filed a bug report for the resizing issue and it seems it's really a bug.
    http://trolltech.com/developer/task-...0&method=entry
    The performance issue was due to Xorg using EXA instead of XAA. Though EXA is supposed to replace XAA and is said to perform better, it does not do so with intel drivers. Not yet. The issue has been discussed in various forums and will be solved soon. I use Xorg 7.2 and 7.3 may already have solved the issue with EXA.

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.