|
From: | Torsten Lilge |
Subject: | [Octave-bug-tracker] [bug #61172] GUI problems on Linux Mint - Problems after maximize the GUI |
Date: | Sat, 8 Jan 2022 11:34:19 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 |
Follow-up Comment #23, bug #61172 (project octave): @John, your patch looks reasonable. setGeometry() sets the geometry excluding the frame decoration. This might be the reason why the latter was outside the screen. Still, this does not explain why the window manager does not handle the window correctly and why this only happens on a multi-screen setup. Since the removed setGeometry() looks redundant to restoring state and geometry of the main window, I vote for applying the patch. Regarding the obsolete QApplication::desktop(): After some internet research, it seems that QGuiApplication::screens and primaryScreen is a replacement for it (https://doc.qt.io/qt-5/qguiapplication.html). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61172> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |