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

First rendering of a fixed-size (MSWindowsFixedSizeDialogHint) Tool, Dialog or SubWindow is too small

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.3.1
    • None
    • MS Windows 8.1 Pro

    Description

      The following also appears at the top of the attached file:

      Important Note! The described behavior is for MS Windows 8.1 Pro!
      I cannot speak for any other OS or different Windows version.

      In this file, a fixed-size pixelWindow is displayed when a
      resolution is selected from the Resolution menu. The very first
      time this window displays, it is too small to fit the defined
      rectangle. (Note the missing top and right borders!)

      If I change the resolution to something different, the window
      finally resizes correctly. (Note: just turning the window Off
      and on again is not enough! The x- or yResolution must change -
      see semi-workaround in code below)

      After resizing once, the window always resizes correctly.
      Only the very first rendering is affected by this problem!

      I am assuming that I have forgotten some important initialization
      step, or rendering dependency but I have not been able to find this
      yet, so I am submitting it as a bug, possibly due to MS Windows 8.1.
      I have tried several variations, which are commented out below and
      can be commented back in for testing.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            momo Linda Gundal
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes