Pyqt6 multiscreen popup bug

55 views Asked by At

I'm developing an app with pyqt6 on Windows 11 on a virtual machine with a multiscreen setup and I'm encountering problems with combobox popup-windows and tooltips. It seems that the the frames of these widgets don't move along with the main widget if it goes to a different screen. Instead the popup windows and tooltips stay at the side of the primary window at the position closest to the main widget.

I've tried moving the combobox.view() manually but that just moves the popup relatifly on the primary screen but in now way on to any of the other screens. I've tried using function like repaint(), setParent(), mapToGlobal() but none of them seem to work. At this point I don't even know what to look for. Has anybody encountered this before and does know what can be done?

0

There are 0 answers