Bug 201281 - [PATCH] Removing video applet while playing video
Summary: [PATCH] Removing video applet while playing video
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Context View (show other bugs)
Version: 2.2-SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 21:12 UTC by Stefan Fehrenbach
Modified: 2009-08-03 13:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of a removed but still running video. (228.46 KB, image/png)
2009-07-23 21:15 UTC, Stefan Fehrenbach
Details
A patch to hide the videoWidget (423 bytes, patch)
2009-07-24 15:09 UTC, Stefan Fehrenbach
Details

Note You need to log in before you can comment on or make changes to this bug.
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.