Review Request 126961: Fix the infamous Plasma::Applet::Actions crash

David Edmundson david at davidedmundson.co.uk
Tue Feb 2 15:00:33 UTC 2016


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

(Updated Feb. 2, 2016, 3 p.m.)


Review request for Plasma.


Bugs: 351777
    https://bugs.kde.org/show_bug.cgi?id=351777


Repository: plasma-workspace


Description
-------

We were mixing KScreen and QScreen API badly.

Corona.cpp checks we are requesting a containment for a valid screen
if (screen >= 0 && screen < numScreens()) {

This fails as numScreens() is Qt API based, whereas the signal we're
adding the output for is ShellCorona::addOutput so we have an effective race condition.

BUG: 351777


Diffs (updated)
-----

  shell/shellcorona.cpp 762e503bf59fe648fb0f5b76a36229aa43c563e5 

Diff: https://git.reviewboard.kde.org/r/126961/diff/


Testing
-------

Started Plasma on dual screen.

Ideally we need to do more testing before backporting, as that entire codebase is a disgrace.


Thanks,

David Edmundson

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


More information about the Plasma-devel mailing list