https://bugs.kde.org/show_bug.cgi?id=519786

--- Comment #6 from David Edmundson <[email protected]> ---
The trigger is:     

QCoreApplication::setAttribute(Qt::AA_DisableSessionManager);


and then me doing:

```
QWaylandSessionManager *QWaylandSessionManager::instance()
{
    auto *qGuiAppPriv = QGuiApplicationPrivate::instance();
    auto *managerPrivate =
static_cast<QSessionManagerPrivate*>(QObjectPrivate::get(qGuiAppPriv->session_manager));
    return static_cast<QWaylandSessionManager
*>(managerPrivate->platformSessionManager); <--- not our session manager, a
dumb placeholder is used
}
```

I'm surprised this hasn't come up in more places, others disable session
management

It would get implicitly fixed by
https://codereview.qt-project.org/c/qt/qtbase/+/697844

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to