1. Open Settings-> Privacy and make sure that Automatic screen lock is ON.
2. Suspend your machine
3. Resume your machine
4. Notice that the lockscreen is shown on resume and that you can't see the desktop
Second test case - where things are broken
1. Open Settings -> Privacy and make sure that Automatic screen lock is OFF.
2. Suspend your machine
3. Resume your machine
4. Notice that the desktop is visible for a second, then the screen blanks, then the lock screen appears, then the screen blanks again. You are left at a black screen and need to unlock.
Steps to reproduce and description:
First test case - where things work correctly:
1. Open Settings-> Privacy and make sure that Automatic screen lock is ON.
2. Suspend your machine
3. Resume your machine
4. Notice that the lockscreen is shown on resume and that you can't see the desktop
Second test case - where things are broken
1. Open Settings -> Privacy and make sure that Automatic screen lock is OFF.
2. Suspend your machine
3. Resume your machine
4. Notice that the desktop is visible for a second, then the screen blanks, then the lock screen appears, then the screen blanks again. You are left at a black screen and need to unlock.