When playing video on gallery, phone is not locked automatically

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.4.0.58
HARDWARE (XA2, X10, X10 II, …): X10 II
UI LANGUAGE: French
REGRESSION: (compared to previous public release: Yes, No, ?): No

DESCRIPTION:

I’m not sure it’s a bug or an expected behaviour. Once a video is played on Sailfish Browser phone is automatically locked without dimming off the screen. It doesn’t happen with the native video player provided by jolla-gallery.

PRECONDITIONS:

Configure auto-lock to 5 minutes.

STEPS TO REPRODUCE:

  1. Open Gallery App
  2. Play a video in landscape mode (not sure it influences)
  3. Wait 5 minutes (or more if you set another value) without touching the screen
  4. Close or minimize the gallery

EXPECTED RESULT:

Same behaviour on all case. Phone is automatically locked in other case where a video is played. For instance on Sailfish Browser or Fennec it get locked without dimming screen off.

ACTUAL RESULT:

Video is played, but if Gallery App is minimized/closed phone isn’t locked.

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

False positive. I was just to impatient. Sorry.