disconnect render() on window change

Authored by mart on Feb 5 2018, 4:23 PM.

Description

disconnect render() on window change

Summary:
when the window changes, the node will be deleted, and render()
will access an invalid pointer.
disconnect the render slot when the window change, as it
can't do anything useful until the next updatepaintnode.
Make the managedtexturenode actually do the management, as
textures were never deleted

BUG:388508
BUG:374280
BUG:365052
BUG:343576

Test Plan:
The bug is easily reproducible without the patch, wasn't
able to reproduce it anymore with it

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: davidedmundson, broulik, ngraham, plasma-devel, Frameworks

Tags: Plasma, Frameworks

Differential Revision: https://phabricator.kde.org/D10250

Details

Committed
martFeb 5 2018, 4:33 PM
Reviewer
Plasma
Differential Revision
D10250: disconnect render() on window change
Parents
R296:8cfd1ec5731f: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.43.0 release.
Branches
Unknown
Tags
Unknown