Bug 201281

Summary: [PATCH] Removing video applet while playing video
Product: [Applications] amarok Reporter: Stefan Fehrenbach <stefan.fehrenbach>
Component: Context ViewAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: lfranchi
Priority: NOR    
Version: 2.2-SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot of a removed but still running video.
A patch to hide the videoWidget

Description Stefan Fehrenbach 2009-07-23 21:12:30 UTC
Version:           git 7fc11b061a2e233ec6740ca31d250d63cce07850 (using KDE 4.2.4)
Compiler:          g++ (GCC) 4.4.0 20090630 (prerelease)
 
OS:                Linux
Installed from:    Unlisted Binary Package

Removing the video applet while playing a video causes its "tab" to vanish but the video is still shown (and moves and everything).

After stopping and restarting the video does not play anymore but is a solid black square on top of the other applets.

After restarting Amarok everything is fine, the video is gone.
Comment 1 Stefan Fehrenbach 2009-07-23 21:15:54 UTC
Created attachment 35578 [details]
Screenshot of a removed but still running video.
Comment 2 Stefan Fehrenbach 2009-07-24 15:09:10 UTC
Created attachment 35597 [details]
A patch to hide the videoWidget

This fixes the issue but I am not sure this is how it should be done.
Comment 3 Myriam Schweingruber 2009-07-24 15:33:01 UTC
Can somebody look at this patch, please?
Comment 4 Seb Ruiz 2009-08-03 13:17:31 UTC
Fix in trunk. The correct solution is the delete the widget which also frees the memory which was allocation.