Summary: | svg file not rendered properly on karbon and kdesktop | ||
---|---|---|---|
Product: | [Unmaintained] kdesktop | Reporter: | Fathi Boudra <fabo> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | ana, dmurczak, finex, jaham, jeroen |
Priority: | NOR | Keywords: | needs_verification |
Version: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
test case 1
test case 2 screenshots pack svg wallpaper 1 svg wallpaper 2 1st quick preview -> correct 2nd quick preview -> wrong |
Description
Fathi Boudra
2006-12-04 12:02:59 UTC
Created attachment 18776 [details]
test case 1
this is my test case
Created attachment 18777 [details]
test case 2
This is my test case 2
Can you please add which version of karbon you are running? karbon 1.6.1 Some additional informations: ksvg / svgdisplay rendering is incorrect too and it seems ksvg kpart is used in konqueror for viewing svg file. Ok i checked your testcases just now. The first one looks fine here, e.g. the same as in inkscape. The second one has some missing transparency on the spiral. Is that what you mean or have you other issues. Would be good if you can describe what you feel is wrong or if you can attach a screenshot showing the incorrect rendering. Created attachment 18788 [details]
screenshots pack
Screenshots pack. It contains:
inkscape
karbon
konqueror
svgdisplay
In the screenshots pack, you'll see that i have only a correct (and complete) svg in inkscape. Have you tried to use both files as kdesktop wallpapers ? test case 1 has wrong gradient and test case 2 is incomplete. Well i think your drawing is simply too big. If you use the zoom in karbon you will see that all geometry is there. Displaying at 100% shows that the drawing is much bigger than the screen and i am here at 1280x1024. You are right, using karbon zoom display the image completely. Anyway, if you take a look at my karbon screenshot, you'll see that the scrollbars aren't set correctly if the image can be displayed fully. Not karbon related, but have you tried to use these svg as kdesktop wallpapers ? Because, it was my primary problem. i wasn't able to view them properly. Then i tried to see them with karbon to confirm bad behavior with svg files ... How can you explain svgdisplay and konqueror view ? maybe it become off topic and i must forward this bug to kdesktop :) Thats because the size defined inside the scg files says it is 1024x768 big, but the actual drawing is bigger. Karbon zooms to the page size of the drawing, us can see that if you make the hide the layer. Just resize the drawing that it fits the shown page or adjust the page size to be the same as the drawing. ok, karbon part can be closed :) Now kdesktop part ;) I think the whole bug can be closed. If you change the size of the page of your svg document, kdesktop shows the wallpaper just fine. I've done that yesterday and it worked. for test case 1, the gradient is wrong. changing the size resolve nothing. for test case 2, i changed it to 1600x1200 and kdesktop doesn't show the wallpaper fine. I expect when i select "adapt" position, it scale the svg to fit my desktop like a bitmap ? i joined 2 other screenshot of the desktop. Created attachment 18792 [details]
svg wallpaper 1
Created attachment 18793 [details]
svg wallpaper 2
welcome back jaham ;) i played with x/y coordinate and width/height values on test case 2. i was able to fix the image. It is a bit annoying that "adapt" position doesn't put properly the svg (it seems that on GNOME it works properly) but why not ..., i have an explanation. Now, test case 1 to solve ... I agree that the gradients of the first testcase are not rendered correctly. But that is a bug for ksvg as i suppose kdesktop uses that to render svg files. Regarding the positioning of the wallpapers. I had not to fiddle with these values yesterday. I admit i only checked for the second test case. I just changed the size of the document to match the drawing and then simply set the resulting file as wallpaper by using the right mouse clock menu in konqi. I think showing the wallpaper centered would be the right choice. I'm not sure it is ksvg. If you use svgdisplay/konqueror, the gradient is correct. When you select in kdesktop the wallpaper, the quick preview is correct too, the problem occurs just after the selection of the file. Another set of screenshots ... Created attachment 18794 [details]
1st quick preview -> correct
Created attachment 18795 [details]
2nd quick preview -> wrong
I've done a small test: * open test case 1 with karbon * export it as a new svg * result: size decrease from 22Kb to 12Kb and is correct under kdesktop Unfortunately, generated svg is completely different from inkscape. Doing same test with inkscape, the resulting svg is like original: same size (22Kb) and incorrect as kdesktop wallpaper. At least, a workaround. You should try not to save in inkscape svg from inskscape but use plain svg. Maybe that makes a difference. No diff. i have the same problem with the TribalWolf wallpaper You can get it here: http://www.kde-look.org/content/show.php/Tribal+Wolf?content=30547 The transparancy doesn't show up correctly What is the status of karbon right now? Karbon is in beta for the KOffice 2.0 release now. Unfortunately the shape opacity property is not yet implemented, so these svg images look not 100 percent correct. Other than that its starting to become usable. :-) Moved in "WAITINGFORINFO" status. Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug. |