https://bugs.kde.org/show_bug.cgi?id=371568
--- Comment #2 from Boudewijn Rempt <b...@valdyas.org> --- Um, actually, isn't this a Qt bug then? I know of no KDE or Qt application that uses showMaximized() directly, and the Qt documentation says to use http://doc.qt.io/qt-5/qwidget.html#saveGeometry and http://doc.qt.io/qt-5/qwidget.html#restoreGeometry Which is what we do: void KisMainWindow::closeEvent(QCloseEvent *e) { ... cfg.writeEntry("ko_windowstate", saveState().toBase64()); ... } and void KisMainWindow::initializeGeometry() { // if the user didn's specify the geometry on the command line (does anyone do that still?), // we first figure out some good default size and restore the x,y position. See bug 285804Z. KConfigGroup cfg( KSharedConfig::openConfig(), "MainWindow"); QByteArray geom = QByteArray::fromBase64(cfg.readEntry("ko_geometry", QByteArray())); if (!restoreGeometry(geom)) { ... } -- You are receiving this mail because: You are watching all bug changes.