Linux fullscreen app has no borders
-
wrote on 7 Apr 2017, 07:42 last edited by
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.
-
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.
@bask185 You do not have any window manager running, right?
-
wrote on 7 Apr 2017, 10:19 last edited by
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 -_-".
-
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.
-
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 -_-".
@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.
-
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.
wrote on 10 Apr 2017, 07:10 last edited by@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/6