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. Set WindowStaysOnTopHint to work over fullscreen app
Forum Updated to NodeBB v4.3 + New Features

Set WindowStaysOnTopHint to work over fullscreen app

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 994 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.
  • T Offline
    T Offline
    TheEnigmist
    wrote on last edited by
    #1

    I found out that setting WindowStaysOnTopHint flag doens't allow my widget to stay on top of a fullscreen app.
    There is another flag to set so my widget will be always visible, even if an app enter in fullscreen mode?

    I'm using Qt 6.5

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

      Hi,

      Which OS is it ?
      Is the full screen application your own ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      T 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which OS is it ?
        Is the full screen application your own ?

        T Offline
        T Offline
        TheEnigmist
        wrote on last edited by
        #3

        @SGaist said in Set WindowStaysOnTopHint to work over fullscreen app:

        Hi,

        Which OS is it ?
        Is the full screen application your own ?

        Windows 11
        No, fullscreen apps are external from my Qt app.
        I'm able to put my widgget on top of all other app only if they windowed (or borderless fullscreen)

        JonBJ 1 Reply Last reply
        0
        • T TheEnigmist

          @SGaist said in Set WindowStaysOnTopHint to work over fullscreen app:

          Hi,

          Which OS is it ?
          Is the full screen application your own ?

          Windows 11
          No, fullscreen apps are external from my Qt app.
          I'm able to put my widgget on top of all other app only if they windowed (or borderless fullscreen)

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @TheEnigmist
          We shall see what @SGaist has to say, I don't know, but I hope you cannot put any widget from your application on top if I am running something full screen!

          T 1 Reply Last reply
          0
          • JonBJ JonB

            @TheEnigmist
            We shall see what @SGaist has to say, I don't know, but I hope you cannot put any widget from your application on top if I am running something full screen!

            T Offline
            T Offline
            TheEnigmist
            wrote on last edited by
            #5

            @JonB yeah, I'm reading online that the only way is to hook an overlay on the fullscreen window, like Nvidia Geforce Experience or Steam, with injecting DirectX/OpenGL. But is not what I want to. Simply I will stick with WindowStaysOnTopHint and working with borderless fullscreen

            JonBJ 1 Reply Last reply
            0
            • T TheEnigmist

              @JonB yeah, I'm reading online that the only way is to hook an overlay on the fullscreen window, like Nvidia Geforce Experience or Steam, with injecting DirectX/OpenGL. But is not what I want to. Simply I will stick with WindowStaysOnTopHint and working with borderless fullscreen

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @TheEnigmist
              I am pleased to hear this! Once I have set up to run my game or youtube video full screen I do not want your Qt application to be able to pop its windows on top of my viewing experience :) "Borderless fullscreen" sounds different, I presume that is still working within the desktop windowing system, just it happens that window occupies the full screen.

              T 1 Reply Last reply
              0
              • JonBJ JonB

                @TheEnigmist
                I am pleased to hear this! Once I have set up to run my game or youtube video full screen I do not want your Qt application to be able to pop its windows on top of my viewing experience :) "Borderless fullscreen" sounds different, I presume that is still working within the desktop windowing system, just it happens that window occupies the full screen.

                T Offline
                T Offline
                TheEnigmist
                wrote on last edited by
                #7

                @JonB youtube fullscreen is a borderless fullscreen. That is simply a fake fullscreen, is still a window so yes, my Qt app would be on top of that :D

                JonBJ 1 Reply Last reply
                0
                • T TheEnigmist

                  @JonB youtube fullscreen is a borderless fullscreen. That is simply a fake fullscreen, is still a window so yes, my Qt app would be on top of that :D

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @TheEnigmist Damn! :)

                  T 1 Reply Last reply
                  0
                  • JonBJ JonB

                    @TheEnigmist Damn! :)

                    T Offline
                    T Offline
                    TheEnigmist
                    wrote on last edited by
                    #9

                    @JonB said in Set WindowStaysOnTopHint to work over fullscreen app:

                    @TheEnigmist Damn! :)

                    You cannot escape from me! LOL
                    Btw I think fullscreen app stay on other level that Qt can't control, so is impossible to achieve it without injection and I don't want to inject anything!

                    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