On Mon, Sep 14, 2020 at 12:15 PM Thomas Passin <[email protected]> wrote:
According to this, before calling restoreState(), restoreGeometry() should > be called - > > https://doc.qt.io/qt-5/restoring-geometry.html > Good catch. It's a starting point. Having said that, I don't think window geometry is the issue. I'm pretty clueless about the Qt docks code myself. Leo is creating a new QMainWindow for every outline. (Each DynamicWindow is a subclass of QMainWindow). That may be causing problems, maybe even exposing a latent Qt bug. There is a *lot* of cruft in the docks-related code. Recent code has (supposedly!) changed over to using a single set of global Qt docks. The next step will be to see whether using a single QMainWindow might make more sense. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS2sFmGtrnE5TTNMWnruahp0tERi7dJ2pMJcvLKCarrf%2Bg%40mail.gmail.com.
