https://bugs.kde.org/show_bug.cgi?id=360466
Bug ID: 360466 Summary: When a PyQt5 application uses move() to set the position of the main window KDE offsets the window position Product: plasmashell Version: 5.5.5 Platform: Fedora RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: k...@davidedmundson.co.uk Reporter: ba...@barrys-emacs.org CC: bhus...@gmail.com, plasma-b...@kde.org When a PyQt5 application uses move() to set the position of the main window KDE offsets the position. In all my PyQt5 application the QMainWindow pistiion and size are remembered by recording the last values seen in the resizeEvent and moveEvent callbacks. When the application starts up in QMainWindow position and size are restored. self.resize( width, height ) self.move( x, y ) Under KDE I see that the first moveEvent reported is the expected X and Y coordinate but then a second moveEvent pushes the window down by 29 pixles and right by 6 pixels. The QT documentation sugegsts that this is a bug in X11 window manager behaviour, see: http://doc.qt.io/qt-5/application-windows.html#window-geometry Do you agree and can this be fixed. Reproducible: Always Actual Results: Window not placed in the X and Y position of the QMainWindow.move(). It is pushed down and to the right. Expected Results: Allow a new window to placed exactly where the QMainWindow.move( X, Y ) have requested. -- You are receiving this mail because: You are watching all bug changes.