Closed Digital1O1 closed 3 days ago
@Digital1O1 Wailand backend for UI is experimental feature for now. Feel free to submit PR, if you have a solution.
Hello, I investigated about this issue.
At Wayland, each window positions are controlled under the compositor, not application side.
So I think this is Wayland protocol limitation, and it cannot be fixed by application( or client backend in OpenCV) side approach.
And this limitation is described at document on 4.x branch.
https://docs.opencv.org/4.x/d7/dfc/group__highgui.html#ga8d86b207f7211250dbe6e28f76307ffb
If OK, please could you close this issue ?
System Information
OpenCV version: 4.9.0 Operating System / Platform: Ubuntu 22.04 Linux Kernal: 6.5.0-28-generic Compiler & compiler version: G++/GCC : 11.4.0.
Detailed description
So........ There I was, writing a basic C++ program to make sure I understood how the
moveWindow()
command works for a project I'm working on.After compiling the program, the generated window; in this case 'banana', wasn't moving as expected.
So a buddy of mine ran the same code on his Debian machine and the window moved as expected.
Below is the C++ code that was ran.
We both realized after Googling the issue for nearly an hour that I was using
Wayland
on my machine while my buddy was usingX11
on his.So after switching my machine from
Wayland
-->X11
I recompiled the code and ran it and observed thatthe window was moving as expected
Steps to reproduce
Steps to reproduce
WAYLAND
on your machineG++
command : g++ test.cpp -o cvTestpkg-config --libs --cflags opencv4
WAYLAND
toX11
is moving
Issue submission checklist