Results 1 to 4 of 4

Thread: QT QML/C++ translucent window has glitches and performance problems on Mac OS X

  1. #1
    Join Date
    Dec 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Unhappy QT QML/C++ translucent window has glitches and performance problems on Mac OS X

    Hi all,

    I've developed a QT/QML application which I display with a translucent QDeclarativeView in a translucent frameless QMainWindow (see this). The application is fairly complex with a a few ListViews inside and some threads that poll a remote server for data and feed the views. The program runs flawlessly and at full speed without glitches on Windows 7. But when I compile and run it on Snow Leopard I've got the following problems;

    GUI rendering is slow in general
    When I scroll the ListView with the mouse wheel, the wheel actions affect the underlying window and my GUI flickers as if it can't render fast enough. Also often when I click something on my GUI, the mouse click just passes through my window onto the underlying window and brings it in front.
    Mouse actions feel awkward. There is a significant delay.
    These problems are present on both the Release and Debug builds with/without gdb attached.

    The problems sound related to me but I'm confused. Why would an application running perfectly on Win7 perform badly on Snow Leopard ? Am I missing some specific configuration ? Any help is appreciated.

  2. #2
    Join Date
    Dec 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QT QML/C++ translucent window has glitches and performance problems on Mac OS X

    I have placed a bug report regarding the issue. There is also a minimal sample attached. http://bugreports.qt.nokia.com/browse/QTBUG-19235

  3. #3
    Join Date
    Dec 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QT QML/C++ translucent window has glitches and performance problems on Mac OS X

    I have added videos of the problem to the bug report. Could anyone check and make comments perhaps ?

  4. #4
    Join Date
    Jun 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT QML/C++ translucent window has glitches and performance problems on Mac OS X

    Try run application with option -graphicssystem raster (or -graphicssystem opengl), or use static function QApplication::setGraphicsSystem.

Similar Threads

  1. QGraphicsView performance problems
    By MarPan in forum Newbie
    Replies: 10
    Last Post: 14th August 2010, 21:24
  2. Flashing cursor causes graphical glitches in the GUI
    By gboelter in forum Qt Programming
    Replies: 0
    Last Post: 29th October 2009, 03:48
  3. Have translucent window follow mouse
    By mike_am_i in forum Qt Programming
    Replies: 2
    Last Post: 27th October 2009, 10:18
  4. Translucent window background in 4.3.2 - possible?
    By dpimka in forum Qt Programming
    Replies: 2
    Last Post: 15th July 2009, 08:53
  5. GraphicsView performance problems
    By Gopala Krishna in forum Qt Programming
    Replies: 79
    Last Post: 8th August 2007, 17:32

Tags for this Thread

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.