Bug 366626 - Video frame remains on screen even after moving to another item
Summary: Video frame remains on screen even after moving to another item
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 5.1.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-11 10:23 UTC by mr.mahon.pl
Modified: 2017-07-27 10:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.0
Sentry Crash Report:


Attachments
Video playing (134.37 KB, image/png)
2016-08-11 10:24 UTC, mr.mahon.pl
Details
Video frame after alt-tabbing, was visible but not on screenshot (72.00 KB, image/png)
2016-08-11 10:28 UTC, mr.mahon.pl
Details
Video playing (now visible) (223.78 KB, image/jpeg)
2016-08-11 10:45 UTC, mr.mahon.pl
Details
Video frame stuck on screen (now visible) (292.06 KB, image/jpeg)
2016-08-11 10:46 UTC, mr.mahon.pl
Details
Video frame after alt-tabbing (now visible) (72.00 KB, image/png)
2016-08-11 10:47 UTC, mr.mahon.pl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mr.mahon.pl 2016-08-11 10:23:03 UTC
When I play videos from Digikam 5.1.0, album view, They play just fine in the preview zone, but when I move on to a different item (next/previous image or video, or to a different album, etc.) the video remains on screen (although frozen on the last displayed frame) exactly in the very same position and doesn't disappear even if I alt-tab to a different application/window. It keeps covering the part of my screen until I close digikam.

I guess it may be something of more general nature than precisely digikam-related, because I had a similar problem long time ago with one of video players, but now am experiencing it only with Digikam. 

Taking screenshots with the built-in system tool doesn't show these stuck video frames, even though they were still on my screen. 

Reproducible: Always

Steps to Reproduce:
1. Launch digikam
2. Enter album view, choose an album with a video
3. Play the video
4. Press the key for next item (space) or previous item (backspace)

Actual Results:  
The previewed item changes but the video frame still covers the part of the screen 

Expected Results:  
The item changes and the video frame disappears and no longer covers any part of the screen

Mint 18, Cinnamon
Digikam installed from: https://launchpad.net/~philip5/+archive/ubuntu/extra?field.series_filter=xenial

Taking screenshots with the built-in system tool doesn't show these stuck video frames, even though they were still on my screen.
Comment 1 mr.mahon.pl 2016-08-11 10:24:23 UTC
Created attachment 100542 [details]
Video playing

Video playing but the frame is not captured at all by the built-in system screenshot tool
Comment 2 mr.mahon.pl 2016-08-11 10:28:08 UTC
Created attachment 100543 [details]
Video frame after alt-tabbing, was visible but not on screenshot

There was the stuck frame, covering a part of the screen even after I alt-tabbed to another window, but the screenshot tool didin't capture it. Any hint?
Comment 3 Maik Qualmann 2016-08-11 10:37:00 UTC
There may be a problem with your video driver. QtMultimedia used hardware overlay for displaying video frames, therefore not visible in the screenshot.

Maik
Comment 4 mr.mahon.pl 2016-08-11 10:45:29 UTC
Created attachment 100545 [details]
Video playing (now visible)

Because screenshots didn't capture the video frame at all, I took a photo of the screen. Now you can see the video playing. Yes, it was a very low resolution video so the frame is tiny, but it happens regardless of the size.
Comment 5 mr.mahon.pl 2016-08-11 10:46:36 UTC
Created attachment 100546 [details]
Video frame stuck on screen (now visible)

Because screenshots didn't capture the video frame at all, I took a photo of the screen. Now you can see the video frame stuck on the screen even after moving on to a different view. The video is stuck on the last viewed frame.

Yes, it was a very low resolution video so the frame is tiny, but it happens regardless of the size.
Comment 6 mr.mahon.pl 2016-08-11 10:47:40 UTC
Created attachment 100547 [details]
Video frame after alt-tabbing (now visible)

Because screenshots didn't capture the video frame at all, I took a photo of the screen. Now you can see the video frame stuck on screen even after alt-tabbing to another window.

Yes, it was a very low resolution video so the frame is tiny, but it happens regardless of the size.
Comment 7 mr.mahon.pl 2016-08-11 13:18:38 UTC
(In reply to Maik Qualmann from comment #3)
> There may be a problem with your video driver. QtMultimedia used hardware
> overlay for displaying video frames, therefore not visible in the screenshot.
> 
> Maik

The card is Intel HD 530 with standard  Ubuntu 16.4 / Mint 18 drivers. so it would be pretty strange if there was something wrong with them, yet it is obviously possible.