RoboCup-SSL / ssl-vision

Shared Vision System For The RoboCup Small Size League
GNU General Public License v3.0
88 stars 109 forks source link

Video Widget does not reattach after detaching to a new window/fullscreen #166

Closed g3force closed 1 year ago

g3force commented 4 years ago

When I detach the video widget to a separate window and afterwards try to attach it back to the main window again (either by closing the window or by pressing the respective toggle button again), the window will keep open. The widget seem to be added to the main window as well, but can not be rendered correctly:

image

I could reproduce this on the official SSL Intel NUCs with Ubuntu 18.04 and Gnome. It only happens when compiling with QT5 (5.9.5). On another system with Manjaro, i3 and QT 5.14.0 it is not reproducible.

The code responsible for handling the parenting of the extra window should be this: https://github.com/RoboCup-SSL/ssl-vision/blob/master/src/app/gui/videowidget.cpp#L131

g3force commented 1 year ago

Not reproducible on reinstalled NUC with XUbuntu 22.04, closing.