Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39239

UI is not shown after querying the screen geometry via QDesktopWidget in a QApplication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.1
    • 5.2.1
    • None
    • gentoo 64bit, and Qt 5.2.1 release version on bb z10 limited

    Description

      If you put this instruction:

      ((QApplication*)parent)->desktop()->screenGeometry().size();
      

      somewhere in your code (construction and so on), in any cpp file, it prevents UI from been shown on screen, but application still working, no freeze and works normally.
      I have just tried it, creating a new project and using Window and StackView object.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bomb3rman Fabian Bumberger
            alterx Giovanni Romano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes