sddm / sddm

QML based X11 and Wayland display manager
GNU General Public License v2.0
1.82k stars 326 forks source link

loginSucceeded() Signal doesn't work #1960

Open birbkeks opened 5 days ago

Vogtinator commented 5 days ago

?

birbkeks commented 4 days ago

?

no matter what i do, the loginSucceeded() signal just doesnt work, i tested with other themes and they all also have this problem. maybe because when the user logs in, sddm-greeter gets killed instantly before the loginSucceeded() function could do stuff

Vogtinator commented 3 days ago

Yeah, kind of. With rootful X11, the greeter has to be stopped as soon as possible anyway. For the others, it's technically possible to have it open for longer, but not that useful. What probably triggers it is this:

        connect(m_proxy, &GreeterProxy::loginSucceeded, view, &QQuickView::close);
Vogtinator commented 3 days ago

The behavior can probably stay that way, just the documentation could use some adjustment.

birbkeks commented 3 days ago

Yeah, kind of. With rootful X11, the greeter has to be stopped as soon as possible anyway. For the others, it's technically possible to have it open for longer, but not that useful. What probably triggers it is this:

        connect(m_proxy, &GreeterProxy::loginSucceeded, view, &QQuickView::close);

can i delay it, for example, "x" seconds?