Review Request: Fix infinite loop in context view eating CPU until main window is shown
Commit Hook
null at kde.org
Mon Nov 28 11:45:04 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103271/#review8562
-----------------------------------------------------------
This review has been submitted with commit 79bd9a7c6777e3f5d4e723bc5d3b00e5d6fe532b by Matěj Laitl to branch master.
- Commit Hook
On Nov. 27, 2011, 2:30 p.m., Matěj Laitl wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103271/
> -----------------------------------------------------------
>
> (Updated Nov. 27, 2011, 2:30 p.m.)
>
>
> Review request for Amarok.
>
>
> Description
> -------
>
> Fix infinite loop in context view eating CPU until main window is shown
>
> We used to use _scene_ sceneRect in
> VerticalToolbarContainment::updateGeometry() to update applets and
> geometry, but that leaded to infinite loop (across mainloop) -
> m_applets->setGeometry(), refresh() would enlarge _scene_ sceneRect by
> a few pixels which would trigger updateGeometry() and so on...
>
> We now use _view_ sceneRect to update geometry.
>
> BUG: 278897
> FIXED-IN: 2.5
>
>
> Diffs
> -----
>
> ChangeLog a99a4de75b1941ecdc7cb3b41cce9ad3c996df27
> src/context/containments/verticallayout/VerticalToolbarContainment.cpp 99fe147ab7b4d5ba8ca6f156a544d4066b1dc3da
>
> Diff: http://git.reviewboard.kde.org/r/103271/diff/diff
>
>
> Testing
> -------
>
> Amarok doesn't eat CPU on start anymore.
>
>
> Thanks,
>
> Matěj Laitl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20111128/6f77189a/attachment.html>
More information about the Amarok-devel
mailing list