Review Request 120449: Avoid infinite recursion in KSNI
Martin Klapetek
martin.klapetek at gmail.com
Thu Oct 2 07:10:55 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120449/#review67795
-----------------------------------------------------------
Ship it!
Looks good
src/kstatusnotifieritem.cpp
<https://git.reviewboard.kde.org/r/120449/#comment47204>
Remove this
src/kstatusnotifieritem.cpp
<https://git.reviewboard.kde.org/r/120449/#comment47205>
I would merge it with the if (enabled... above, there's no point going forward from there if we're going to return two lines down
- Martin Klapetek
On Oct. 1, 2014, 6:43 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120449/
> -----------------------------------------------------------
>
> (Updated Oct. 1, 2014, 6:43 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: knotifications
>
>
> Description
> -------
>
> KStatusNotifierItem falls back to making a QSystemTray. With the KDE Qt
> plugin our QSystemTrays create a StatusNotifierItem at which point we
> are in infinite recursion.
>
> This happens on bootup if we try to create a SNI before plasma is loaded but the KDE platform theme is being loaded. (for example the keyboard layout SNI which is in a KDED and loaded first)
>
> Alternate approach to my preferred https://git.reviewboard.kde.org/r/120243/ which simply removes the legacy support.
>
>
> **NOTE WE NEED A FIX IN THIS RELEASE OTHERWISE ALL PLASMA SESSIONS WILL COMPLETELY BREAK AS SOON AS Qt 5.4 COMES OUT.**
>
>
> Diffs
> -----
>
> src/kstatusnotifieritem.cpp 767537d
>
> Diff: https://git.reviewboard.kde.org/r/120449/diff/
>
>
> Testing
> -------
>
> Logged in successfully.
>
>
> Thanks,
>
> David Edmundson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141002/ef082293/attachment.html>
More information about the Kde-frameworks-devel
mailing list