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. Linux fullscreen app has no borders

Linux fullscreen app has no borders

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.5k Views
  • 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.
  • B Offline
    B Offline
    bask185
    wrote on 7 Apr 2017, 07:42 last edited by
    #1

    I can now finally run apps on my raspberry and they appear fullscreen by default, which is a pleasant suprise. But my subwindows are now without windowborders. There is now no difference between the background of my mainwindow and any of my subwindows. I have been looking a bit on how to solve this but I cannot find it.

    J 1 Reply Last reply 7 Apr 2017, 08:55
    0
    • B bask185
      7 Apr 2017, 07:42

      I can now finally run apps on my raspberry and they appear fullscreen by default, which is a pleasant suprise. But my subwindows are now without windowborders. There is now no difference between the background of my mainwindow and any of my subwindows. I have been looking a bit on how to solve this but I cannot find it.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 7 Apr 2017, 08:55 last edited by
      #2

      @bask185 You do not have any window manager running, right?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • B Offline
        B Offline
        bask185
        wrote on 7 Apr 2017, 10:19 last edited by
        #3

        Say what now?? No I do not think so,

        For now I have given them different background colors so I have a clear distinction. But some kind of border outlining would still be neat. In windows I did not have this problem with the exact same code, cross-platform ftw -_-".

        J 1 Reply Last reply 10 Apr 2017, 04:20
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Apr 2017, 22:10 last edited by
          #4

          Hi,

          The window manager is what provides window decoration and much more. You are likely using the eglfs or similar backend on your Pi which means you have no WM running. If you still want decoration around your widgets then you should consider using the QtWayland module.

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

          B 1 Reply Last reply 10 Apr 2017, 07:10
          3
          • B bask185
            7 Apr 2017, 10:19

            Say what now?? No I do not think so,

            For now I have given them different background colors so I have a clear distinction. But some kind of border outlining would still be neat. In windows I did not have this problem with the exact same code, cross-platform ftw -_-".

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 10 Apr 2017, 04:20 last edited by
            #5

            @bask185 "cross-platform" - missing window decorations are not related to Qt. Qt is not responsible for those decorations - they are drown by the OS (on Linux by the window manager - if you did not install any then you will not see window decorations, but don't blame Qt for that). See https://en.wikipedia.org/wiki/Window_manager for more details.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • S SGaist
              7 Apr 2017, 22:10

              Hi,

              The window manager is what provides window decoration and much more. You are likely using the eglfs or similar backend on your Pi which means you have no WM running. If you still want decoration around your widgets then you should consider using the QtWayland module.

              B Offline
              B Offline
              bask185
              wrote on 10 Apr 2017, 07:10 last edited by
              #6

              @SGaist said in Linux fullscreen app has no borders:

              QtWayland

              Tnx I will give it a look

              @jsulm said in Linux fullscreen app has no borders:

              @bask185 "cross-platform" - missing window decorations are not related to Qt. Qt is not responsible for those decorations - they are drown by the OS (on Linux by the window manager - if you did not install any then you will not see window decorations, but don't blame Qt for that). See https://en.wikipedia.org/wiki/Window_manager for more details.

              Mate it was a joke :P

              1 Reply Last reply
              0

              1/6

              7 Apr 2017, 07:42

              • Login

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