1. Open an unity Indicator
2. Close the laptop lid¹
Expected behavior:
3. The indicator menu should be closed and the screen is locked
Actual behavior:
3. The screen is not locked with the menu visible, it gets locked
as soon as the menu is closed.
[1] instead of this action, you can also run the script below just before opening an indicator:
sleep 3 && gdbus call --session --dest com.canonical.Unity \
--object-path /com/canonical/Unity/Session \
--method com.canonical.Unity.Session.Lock
1. Open an unity Indicator
2. Close the laptop lid¹
Expected behavior:
3. The indicator menu should be closed and the screen is locked
Actual behavior:
3. The screen is not locked with the menu visible, it gets locked
as soon as the menu is closed.
[1] instead of this action, you can also run the script below just before opening an indicator: Unity/Session \ Unity.Session. Lock
sleep 3 && gdbus call --session --dest com.canonical.Unity \
--object-path /com/canonical/
--method com.canonical.