Remote desktop connection unable to set Geometry
Solved
Qt for Python
-
Hi when i run my app using remote desktop connection, i saw this warning:
QWindowsWindow::setGeometry: Unable to set geometry 1954x1050+0+34 (frame: 1976x1106-11-11) on QWidgetWindow/"MainWindowWindow" on "\\.\DISPLAY49". Resulting geometry: 1920x974+0+34 (frame: 1942x1030-11-11) margins: 11, 45, 11, 11 minimum size: 977x267 MINMAXINFO maxSize=0,0 maxpos=0,0 mintrack=1976,590 maxtrack=0,0)
with normal login there is not this error.
The app has a qstackedwidget as centralwidget with one page with three parts. There is no scrollBar in QMainWindow (except in one of the three parts).
I am using pyqt5.
Why this happening, and how can i solve this warning?
- If i use
os.environ["QT_FATAL_WARNINGS"] = "1"
then the application close.
- If i use
-