Review Request 125545: Don't start an eventLoop from QML in menu entry editing
David Edmundson
david at davidedmundson.co.uk
Sun Oct 11 20:10:09 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125545/
-----------------------------------------------------------
(Updated Oct. 11, 2015, 8:10 p.m.)
Status
------
This change has been marked as submitted.
Review request for Plasma.
Changes
-------
Submitted with commit 4bda99e759fc99efb6b98c932f3682b307434a4a by David Edmundson to branch Plasma/5.4.
Repository: plasma-desktop
Description
-------
>From the docs:
This is dangerous, because when an event loop is entered in a signal
handler or binding, the QML engine continues to run other bindings,
animations, transitions, etc. Those bindings can then cause side effects
which, for example, destroy the hierarchy containing your event loop.
There was a queuedConnection approach that I guess tries to supress the problem, but it clearly didn't work.
In any case, it's better not to freeze the shell
BUG: 347997
Diffs
-----
applets/kicker/plugin/appentry.cpp 45644d4f8b8b4e83debb90e9acaf52db14ead7ec
applets/kicker/plugin/menuentryeditor.cpp ce202c7ae6540bc7f4e3da53211d224dd9eedce7
Diff: https://git.reviewboard.kde.org/r/125545/diff/
Testing
-------
Edited an app fine.
Thanks,
David Edmundson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151011/1f41068d/attachment.html>
More information about the Plasma-devel
mailing list