FS#14447 - [qt] 4.5.1 has a known regression in SVG rendering

Attached to Project: Arch Linux
Opened by Curtis (foxcm2000) - Friday, 24 April 2009, 17:37 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 13 June 2009, 11:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

There is a known regression in Qt 4.5.1 that can break SVG rendering in some KDE applications and plasmoids. A patch appears to be available for the bug:
http://websvn.kde.org/trunk/qt-copy/patches/0279-svg-rendering-regression.diff


After upgrading to Qt 4.5.1-1, the "RSS Now" plasmoid fails to render any RSS feed items, even though it worked perfectly before the upgrade. If the Qt 4.5.1-1 has the above patch applied already, then this is a new regression, but otherwise the patch might fix the problem.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 13 June 2009, 11:06 GMT
Reason for closing:  Upstream
Additional comments about closing:  This will be fixed in KDE 4.3.
Comment by Curtis (foxcm2000) - Friday, 24 April 2009, 18:10 GMT
I just updated to the Qt 4.5.1-2 package and the bug still exists. The RSS now plasmoid is operating, and clicking on the blank space where the feed item should display does open a browser window, but there is no text being rendered.
Comment by Pierre Schmitz (Pierre) - Saturday, 25 April 2009, 08:15 GMT
The 0279 patch is applied in 4.5.1-2. You should try cleaning up your cache. If the plasmoid is still broken you should report it upstream.
Comment by Curtis (foxcm2000) - Saturday, 25 April 2009, 17:52 GMT
OK, I did the upgrade to Qt 4.5.1-2 and did a cache cleanup, but unfortunately the bug persists. I have reported it upstream to KDE at this point: http://bugs.kde.org/show_bug.cgi?id=190651
Comment by Pierre Schmitz (Pierre) - Friday, 01 May 2009, 10:14 GMT
Is it OK to move Qt 4.5.1 to extra with this regression? I'll apply a patch as soon as one is available. The point is that 4.5.1 fixes some other more serious bugs.
Comment by Curtis (foxcm2000) - Sunday, 03 May 2009, 20:30 GMT
I have found a KDE-based work around that fixes the bug in the plasmoid code. See the KDE bug report above for more details but if you want to maintain the bugfix, it is a one-liner in kdeplasma-addons-4.2.3/applets/rssnow/scroller.cpp:
comment out scroller.cpp line 65:
//setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
This flag causes the bug, and the work-around's only negaitive effect is that the scrolling stories will not be clipped outside the plasmoid's window while animating. That is a little ugly, but at least operational until Qt is fixed.

Loading...