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

Full screen QDialog is shown incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.4.1, 6.6.1
    • QPA
    • None
    • HTC Sensation XE, Android 4.4.4 (Cyanogen Mod)
    • Android
    • 2024wk08FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid

      I use

      setWindowState(windowState() | Qt::WindowFullScreen);

      for QDialog before exec() in order to show it full screen. But after that this dialog is resized incorrectly (see screenshot). The buttons at the bottom are not completely visible.

      but...

      setWindowState(windowState() | Qt::WindowMaximized);

      works great...

        1. 2015_06_12_10.05.36.png
          19 kB
          Sergey Vlasov
        2. QtTest_Qt6.4.0_Fullscreen.png
          18 kB
          Stephan '
        3. QtTest_Qt6.4.0_Maximized.png
          23 kB
          Stephan '
        4. QtTest2.7z
          8.58 MB
          Stephan '
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            rampe Rami Potinkara
            sergeyvl Sergey Vlasov
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes