How to move widgets between screens
-
wrote on 30 Mar 2024, 12:54 last edited by
I have compiled my QT program for raspberry pi and it works fine except I cant figure out how to use the move function on a window to move the window between the different displays I have connected to my pi.
I create three different widgets which should show on three separate displays.
It works fine on my windows machine so I assume its something to do with Raspbian's window manager?
Thanks
-
I have compiled my QT program for raspberry pi and it works fine except I cant figure out how to use the move function on a window to move the window between the different displays I have connected to my pi.
I create three different widgets which should show on three separate displays.
It works fine on my windows machine so I assume its something to do with Raspbian's window manager?
Thanks
Hi,
Any chances you are using Wayland as display manager ?
-
wrote on 1 Apr 2024, 00:27 last edited by
@SGaist Yes
-
@SGaist Yes
wrote on 1 Apr 2024, 08:13 last edited by@SuperMonkeyRules
Then @SGaist is likely to follow up with: "under Wayland the window manager is in control of all layout, including window positions", and does not let you interfere with that. At least with the current/standard compositor. -
@SGaist Yes
@SuperMonkeyRules what @JonB said !
But there might be some hope with QWindow::startSystemMove. See this StackOverflow thread. I haven't tested it yet though.
-
@SuperMonkeyRules what @JonB said !
But there might be some hope with QWindow::startSystemMove. See this StackOverflow thread. I haven't tested it yet though.
wrote on 2 Apr 2024, 08:42 last edited by@SGaist Thanks both of you.
But Ive swapped to X11 and that fixed my problems.
1/6