Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt::WindowFullScreen z-Order under Taskbar in MS-Windows
Forum Updated to NodeBB v4.3 + New Features

Qt::WindowFullScreen z-Order under Taskbar in MS-Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 947 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote on last edited by Andy314
    #1

    Hello,
    I have updated Qt from 5.6.0 to 5.12.5 (and MSVC from 15 to 17). The App works on a tablet with touch screen - no keyboard or mouse availabe.

    In the older Version
    setWindowState(Qt::WindowFullScreen);
    perform a window over the MS-Windows taskbar.

    In the newer version, the window size is indeed as large as the screen, but the lower part is hidden from the taskbar.

    I made experiences with adding of window flags:
    Qt::Popup produces indeed a window over the taskbar.
    But this trick has other disadvantages: The windows get not the focus at opening and the windows virtual keyboard z-order is not really clear. On focusing the window it will be hidden, appears again, but the 2. window focosing hides it for ever.

    Any idea who I can get the features of the older Qt version ?
    I want a full screen window over the taskbar, but the virtual keyboard over it.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      Just tested setWindowState(Qt::WindowFullScreen);
      with Qt 5.14.2 + vs 2017 on win 10 and it did cover the taksbar.

      Did you by any chance also get new windows version ?
      Im still on 1803.

      Andy314A 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        Just tested setWindowState(Qt::WindowFullScreen);
        with Qt 5.14.2 + vs 2017 on win 10 and it did cover the taksbar.

        Did you by any chance also get new windows version ?
        Im still on 1803.

        Andy314A Offline
        Andy314A Offline
        Andy314
        wrote on last edited by
        #3

        Hi @mrjj, I am using the newest Window 10 Version 2004.

        mrjjM 1 Reply Last reply
        0
        • Andy314A Andy314

          Hi @mrjj, I am using the newest Window 10 Version 2004.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @Andy314
          Hi
          Did you also have this 2004 version when it worked in 5.6.0 ?

          Andy314A 1 Reply Last reply
          0
          • mrjjM mrjj

            @Andy314
            Hi
            Did you also have this 2004 version when it worked in 5.6.0 ?

            Andy314A Offline
            Andy314A Offline
            Andy314
            wrote on last edited by
            #5

            Yes, I have them tested simultaneously on the same computer.

            Andy314A 1 Reply Last reply
            0
            • Andy314A Andy314

              Yes, I have them tested simultaneously on the same computer.

              Andy314A Offline
              Andy314A Offline
              Andy314
              wrote on last edited by
              #6

              I will install the 5.14 version and check it again.

              mrjjM 1 Reply Last reply
              0
              • Andy314A Andy314

                I will install the 5.14 version and check it again.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Andy314
                Hi
                I tried to reproduce it on win 2004 with some Qt version but could not.
                I will try with 5.12.5 when time permits.

                Would be great if you tried newer version too.

                I could not find anything in release notes about such change.

                Andy314A 1 Reply Last reply
                0
                • mrjjM mrjj

                  @Andy314
                  Hi
                  I tried to reproduce it on win 2004 with some Qt version but could not.
                  I will try with 5.12.5 when time permits.

                  Would be great if you tried newer version too.

                  I could not find anything in release notes about such change.

                  Andy314A Offline
                  Andy314A Offline
                  Andy314
                  wrote on last edited by Andy314
                  #8

                  Hello @mrjj,

                  I have check the latest Qt Version. 5.15.1 MSVC19-32 bit.
                  (Windows 10 - 2004-64 - but error is in earlier version too.)

                  setWindowState(Qt::WindowFullScreen);
                  

                  hides not the Windows Taskbar!

                  In Qt 5.6.0 MSVC15-32 bit it works - window is over the Taskbar.

                  What can I do? This feature is very import for my tablet-only app!

                  Andy314A 1 Reply Last reply
                  0
                  • Andy314A Andy314

                    Hello @mrjj,

                    I have check the latest Qt Version. 5.15.1 MSVC19-32 bit.
                    (Windows 10 - 2004-64 - but error is in earlier version too.)

                    setWindowState(Qt::WindowFullScreen);
                    

                    hides not the Windows Taskbar!

                    In Qt 5.6.0 MSVC15-32 bit it works - window is over the Taskbar.

                    What can I do? This feature is very import for my tablet-only app!

                    Andy314A Offline
                    Andy314A Offline
                    Andy314
                    wrote on last edited by
                    #9

                    Here I have a minimal example to produce the problem.

                    QDialog *dlg;
                    void MainWindow::on_pushButton_clicked()
                    {
                        dlg=new QDialog;
                        dlg->setWindowState(Qt::WindowFullScreen);
                        dlg->show();
                    }
                    

                    Different beheavour

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved