Results 1 to 3 of 3

Thread: QtQuick app fullscreen doesn't repaint itself after loosing focus

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Mar 2014
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QtQuick app fullscreen doesn't repaint itself after loosing focus

    The fullscreen is set by calling the showFullScreen() method of QQuickView class which is inherited from QWindow (http://qt-project.org/doc/qt-5.0/qtg...showFullScreen).

    A minimal example of code :

    Qt Code:
    1. int main(int argc, char *argv[])
    2. {
    3. QGuiApplication app(argc, argv);
    4.  
    5. QQuickView viewer;
    6. viewer.setSource("... a qml file ...");
    7. viewer.showFullScreen();
    8.  
    9. return app.exec();
    10. }
    To copy to clipboard, switch view to plain text mode 

    When the app loose the focus (for example when doing Control + Escape) and it get the focus back after, the app doesn't repaint itself. The render is not updated anymore.
    Last edited by PhaseMike; 17th March 2014 at 15:28.

Similar Threads

  1. Replies: 4
    Last Post: 28th December 2012, 17:29
  2. Loosing Focus to PopUps
    By Abhishek Bansal in forum Newbie
    Replies: 0
    Last Post: 17th August 2012, 19:09
  3. Replies: 5
    Last Post: 14th December 2011, 01:55
  4. Replies: 0
    Last Post: 24th November 2011, 09:08
  5. QGraphicsView doesn't repaint itself - Help!
    By JimDaniel in forum Qt Programming
    Replies: 2
    Last Post: 18th June 2008, 14:08

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
  •  
Qt is a trademark of The Qt Company.