Skip to content

AppletQuickItem: Guard against null context

ivan tkachenko requested to merge work/ratijas/null-context into master

It may happen if .Plasmoid was requested too early to too late in engine's life cycle. For example Plasmoidviewer consistently crashes with this debug print in BasicAppletContainer's opacity mask:

        parent: {
            print(appletContainer.applet.Plasmoid)
            return appletContainer.Plasmoid;
        }

gdb reveals that context was 0x0 on the patched line.

Merge request reports

Loading