Bug 153413 - svg wallpaper gets shrunk in the middle of the picture
Summary: svg wallpaper gets shrunk in the middle of the picture
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 10:30 UTC by Tobias Powalowski
Modified: 2007-12-05 22:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
standard background svg (19.75 KB, image/svg+xml)
2007-12-04 10:31 UTC, Tobias Powalowski
Details
snapshot of desktop with crippled logo (112.05 KB, image/png)
2007-12-04 10:33 UTC, Tobias Powalowski
Details
qt svg example viewer of the logo (62.33 KB, image/png)
2007-12-05 20:18 UTC, Tobias Powalowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Powalowski 2007-12-04 10:30:41 UTC
Version:           3.96.2 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 
OS:                Linux

Our standard wallpaper is somehow a bit crippled in kde 3.96.2 tarballs in compare to 3.5.8.
it looks like a square is around it and cuts the round edges.

attached are a screenshot and the logo file.
Comment 1 Tobias Powalowski 2007-12-04 10:31:52 UTC
Created attachment 22327 [details]
standard background svg
Comment 2 Tobias Powalowski 2007-12-04 10:33:47 UTC
Created attachment 22328 [details]
snapshot of desktop with crippled logo
Comment 3 Aaron J. Seigo 2007-12-04 15:58:51 UTC
those would be bugs in QSvgRenderer, not plasma. please report this upstream to trolltech via their task tracker. thank you.
Comment 4 Tobias Powalowski 2007-12-04 22:01:54 UTC
i filled it at trolltech, but now the very interesting part:
the svg picture looks nice in kdm as background.
so i think it is a kde desktop issue and not a qt issue.
it looks so long nice until kdm background disappears and new background is loaded.
Comment 5 Pino Toscano 2007-12-05 11:12:56 UTC
Re-unconfirm (owner changing confirmed the bug).
Comment 6 Tobias Powalowski 2007-12-05 20:16:56 UTC
here we go answer from trolltech:
Thank you for sending the files. However, I am not able to reproduce
this issue, using Qt 4.3.2 and the SVG Viewer example (in
QTDIR/examples/painting/svgviewer). With this example, everything seems
to be painted correctly (see attached screenshot).

If you still believe this is an issue with Qt, would it be possible for
you to provide me with a small compilable example that reproduces the
problem, please? Please make sure that the example is minimal but
sufficient to reproduce the problem, and that it relies on Qt code
only.


Kind regards,

Stian Thomassen, Support Engineer
Trolltech ASA, Norway
Comment 7 Tobias Powalowski 2007-12-05 20:18:16 UTC
Created attachment 22369 [details]
qt svg example viewer of the logo
Comment 8 Aaron J. Seigo 2007-12-05 22:31:57 UTC
SVN commit 745282 by aseigo:

* when using an svg render first to a QImage, because apparently rendering to a QPixmap is a great way to make things look like crap.
* getBitmapBackground -> createBitmapBackground, since that is what it actually does
* get rid of the Plasma::Svg member and just use Theme to get the path for KSvgRenderer usage in createBitmapBackground
BUG:153413


 M  +25 -30    desktop.cpp  
 M  +1 -2      desktop.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=745282