Summary: | Abusive behaviour - 100% cpu load from application. | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Kent H. Bengtsson <kent.henrik.bengtsson> |
Component: | style | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | cfeck, germano.massullo, hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-workspace/bc15060f6aa1cf3a699202918e94cc08b01f9fa8 | Version Fixed In: | 4.9.1 |
Sentry Crash Report: |
Description
Kent H. Bengtsson
2012-08-22 11:09:36 UTC
Interestingly, it also happens with Skulpture style, but not with Plastique. Since the test involves QMdiSubWindow, I guess it is caused by the MDI shadows, which Skulpture and Oxygen uses. That was tricky. QMdiArea is a scroll area. Qt will resize a maximized window automatically, when the scroll area changes in size. When the scroll bars are set to "as needed", then the viewport can get smaller, if there is a window outside the current viewport. Skulpture tried to clip shadows, so that the shadows won't got outside the bounds of the area. But it did clip to the complete area, insted of the viewport. This caused an infinite "scroll bar on / off" loop. Hugo, I will commit a fix to Skulpture 0.2 branch soon, and CC here, so that you can "side port" the fix to Oxygen. Meh, git doesn't send to bko for scratch projects ... anyway, see commit at http://quickgit.kde.org/index.php?p=scratch%2Fcfeck%2Fskulpture.git&a=commit&h=4e36baf0032c9f2e1c78cf11175e726d9582778a @Christoph Thanks for tracking this down and fixing. Working on side-porting it right now. Hugo (back from vacation :)) Git commit 79ae754d1f22a788e7a8c3b1e267ce137f35bf23 by Hugo Pereira Da Costa. Committed on 27/08/2012 at 23:11. Pushed by hpereiradacosta into branch 'master'. Fix endless recursion with MDI shadows Thanks Christoph Feck ! REVIEW: 106240 M +3 -1 kstyles/oxygen/oxygenmdiwindowshadow.cpp http://commits.kde.org/kde-workspace/79ae754d1f22a788e7a8c3b1e267ce137f35bf23 Git commit bc15060f6aa1cf3a699202918e94cc08b01f9fa8 by Hugo Pereira Da Costa. Committed on 27/08/2012 at 23:11. Pushed by hpereiradacosta into branch 'KDE/4.9'. Fix endless recursion with MDI shadows Thanks Christoph Feck ! REVIEW: 106240 M +3 -1 kstyles/oxygen/oxygenmdiwindowshadow.cpp http://commits.kde.org/kde-workspace/bc15060f6aa1cf3a699202918e94cc08b01f9fa8 ... closing. |