Review Request 112105: [1.1] PMC fix for KDE 4.11 - prevent deletion of popped pages from PageStack

Shantanu Tushar shantanu at kde.org
Thu Aug 15 17:49:12 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112105/
-----------------------------------------------------------

Review request for Plasma.


Description
-------

In KDE 4.11, if you do not parent a page after popping it from PageStack, it will be deleted by QML's garbage collector. This creates erratic behavior such as stopping playback the moment the user presses back from media player.
This patch reparents the page to the root element (and hides it) to prevent the deletion.


Diffs
-----

  shells/newshell/package/contents/ui/mediacenter.qml 28ae8e6 

Diff: http://git.reviewboard.kde.org/r/112105/diff/


Testing
-------

Doesn't seem to affect any workflow. Things to look out are weird placements of the media elements (browser, player etc) due to the reparenting while going back/into some mode.


Thanks,

Shantanu Tushar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130815/c85dffb8/attachment.html>


More information about the Plasma-devel mailing list