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. setWindowState(Qt::WindowFullScreen) is unter the taskbar
Forum Updated to NodeBB v4.3 + New Features

setWindowState(Qt::WindowFullScreen) is unter the taskbar

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 397 Views 1 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
    #1

    Hello, I have really big problem with the newer Qt Version im MS-Windows.
    In Qt 5.5 (and maybe in somer higher versions)

    Qt::WindowFullScreen
    

    produces a Window over the taskbar.

    In the last Qt versions the window gets full screen size but the lower part will be hidden of the taskbar.
    I had hinted in an other thread on this problem before. The solution was at that time:

    ->setWindowFlags(BaseForm->windowFlags() |   Qt::WindowStaysOnTopHint);
    

    I was happy about the solution, but I detected a lot of problem with this hack.

    1. Every QMessageBox is always invisible because it behind every window. (This problem I solved with a custom MessageBox.)

    2. Main problem is, that I cannot bring the Windows.Camera on top.
      Its opens, but it like the messagebox under the window.
      My app needs the camera function absolutely.

    Has anybody a solution for this problem ?

    Best regards
    Andreas Weichert

    Andy314A 1 Reply Last reply
    0
    • Andy314A Andy314

      Hello, I have really big problem with the newer Qt Version im MS-Windows.
      In Qt 5.5 (and maybe in somer higher versions)

      Qt::WindowFullScreen
      

      produces a Window over the taskbar.

      In the last Qt versions the window gets full screen size but the lower part will be hidden of the taskbar.
      I had hinted in an other thread on this problem before. The solution was at that time:

      ->setWindowFlags(BaseForm->windowFlags() |   Qt::WindowStaysOnTopHint);
      

      I was happy about the solution, but I detected a lot of problem with this hack.

      1. Every QMessageBox is always invisible because it behind every window. (This problem I solved with a custom MessageBox.)

      2. Main problem is, that I cannot bring the Windows.Camera on top.
        Its opens, but it like the messagebox under the window.
        My app needs the camera function absolutely.

      Has anybody a solution for this problem ?

      Best regards
      Andreas Weichert

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

      I found the solution for myself.

      BaseForm->setWindowState(BaseForm->windowState() ^
                                Qt::WindowFullScreen
                       ^ Qt::WindowMaximized
      

      The Qt::WindowMaximized flag is important.

      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