Bug 468354 - Gwenview crashes/hangs after playing MP4 and possibly WEBM files
Summary: Gwenview crashes/hangs after playing MP4 and possibly WEBM files
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-10 15:22 UTC by manjarokde5
Modified: 2023-04-15 13:03 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manjarokde5 2023-04-10 15:22:39 UTC
After the  23.03.31 Manjaro update, Gwenview hangs when playing an .mp4 file and after it finishes, you go to the next item, be that a pic or vid. You see the little wheel spinning in the center and can not but force the application quit.
There is no such bug when the video is still playing or when you move backwards. Also, changing to the Browse overview in Gwenview once the video has finished playing hangs the application.
There was a similar bug some years ago, fixed without confirmation, which might have been Qt related: show_bug.cgi?id=344809
The bug didn’t exist before the 2 most recent update cycles.
Reinstalling Gwenview, rebooting, to no avail.

STEPS TO REPRODUCE
1. Open a folder with pics and MP4 files, last file should not be an MP4.
2. Go to browse overview, select the MP4 file and let it play to the end.
3. Try to go to the next item.

OBSERVED RESULT
Gwenview hangs and can only be forced quit.

EXPECTED RESULT
Next file is shown.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
 OS: Manjaro Linux x86_64 
Kernel: 6.1.22-1-MANJARO 
  Packages: 1417 (pacman) 
 Shell: bash 5.1.16 
 Resolution: 3840x2160, 1920x1080, 1920x1080, 1920x1080 
 DE: Plasma 5.27.3 
 WM: KWin 
Theme: [Plasma], Breeze [GTK2/3] 
 Icons: gruvbox-plus-icon-pack [Plasma], gruvbox-plus-icon-pac 
 Terminal: konsole 
CPU: 11th Gen Intel i7-11700K (16) @ 4.900GHz 
                               GPU: NVIDIA Quadro P620 
                               Memory: 29097MiB / 64145MiB
Comment 1 gseheubwuxcrebnsgg 2023-04-15 13:02:39 UTC
    Seems I solved the issue by installing
    phonon-qt5-vlc
    (0.11.3-2)

    sudo pacman -Sy phonon-qt5-vlc

    Gwenview also plays videos without screen tearing now. I don’t know why I never heard about that video-backend option before!
    Oh and I also forcedly reinstalled by graphics driver because it was recommended somewhere to
    reinstall third party software (like my Nvidia driver, but also AUR stuff …) after every.
     I don’t know if this was needed to solve the above issue though.

    In my case it was, from tty:

    sudo mhwd -f -i pci video-nvidia
Comment 2 gseheubwuxcrebnsgg 2023-04-15 13:03:51 UTC
(In reply to gseheubwuxcrebnsgg from comment #1)
> 
>     Seems I solved the issue by installing
>     phonon-qt5-vlc
>     (0.11.3-2)
> 
>     sudo pacman -Sy phonon-qt5-vlc
> 
>     Gwenview also plays videos without screen tearing now. I don’t know why
> I never heard about that video-backend option before!
>     Oh and I also forcedly reinstalled by graphics driver because it was
> recommended somewhere to
>     reinstall third party software (like my Nvidia driver, but also AUR
> stuff …) after every update cycle in rolling releases.
>      I don’t know if this was needed to solve the above issue though.
> 
>     In my case it was, from tty:
> 
>     sudo mhwd -f -i pci video-nvidia