OK, I can now reproduce the bug you're seeing. Note that is is a different case to the test-switch-to-greeter-return-session regression test - that test uses the SwitchToGreeter D-Bus API, in your case you are using the Session.Lock API. The (new) regression test that exercises the problem is test-lock-session-return-session.
This problem should now be fixed in trunk, please confirm this is the case.
Hi Peter,
OK, I can now reproduce the bug you're seeing. Note that is is a different case to the test-switch- to-greeter- return- session regression test - that test uses the SwitchToGreeter D-Bus API, in your case you are using the Session.Lock API. The (new) regression test that exercises the problem is test-lock- session- return- session.
This problem should now be fixed in trunk, please confirm this is the case.