By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 615 - KSVG shows only black previews
Summary: KSVG shows only black previews
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdegraphics (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: i386 Debian Squeeze
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-11-14 07:43 CST by John Pisini
Modified: 2012-06-02 19:54 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String: 3.5.13
Application Version:
Application Name: konqueror, gwenview


Attachments
Shows the black screen in Konqueror (33.87 KB, image/gif)
2011-11-14 07:43 CST, John Pisini
Details
Aurora in tooltip (16.27 KB, image/png)
2012-06-02 19:34 CDT, Slávek Banko
Details
Aurora immediately after opening the preview (120.25 KB, image/png)
2012-06-02 19:35 CDT, Slávek Banko
Details
Aurora after manual scaling (206.79 KB, image/png)
2012-06-02 19:36 CDT, Slávek Banko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Pisini 2011-11-14 07:43:15 CST
Created attachment 121 [details]
Shows the black screen in Konqueror

As seen in the attachment ksvg renders a black preview in Konqueror and gwenview. It may be in other applications as well but these are the ones I tested. I filed the bug against Squeeze but I have seen the same thing in Lucid and Fedora, as well as both physical hardware and VMWare 8. Under Trinity 3.5.11 and 3.5.12 I didn't see this issue. I tried to back rev ksvg to 3.5.12 but while it would install it wouldn't load.
Comment 1 Calvin Morrison 2012-02-28 10:50:45 CST
Okay so I did some down tracking.

Me thinks that KIconView is broken. Everyone calls KIconView to do this thing, 
and all the results are the same. This is located in tdelibs/kdeui/kiconview.cc

Why is it broken? I can only guess. My first guess that Qt or TQt is the reason 
it is broken. the imaes are rendered by Qt. it's probably Qt that is broken.

Now I need to verify my hunch.
Comment 2 Darrell 2012-04-13 13:01:06 CDT
I'm unsure whether this bug has been resolved in GIT.

I now can see svg images in the konqueror popup tooltip and in the embedded svg viewer. We need others to rebuild from GIT to retest and confirm.
Comment 3 John Pisini 2012-04-13 13:38:05 CDT
I would love to test this but I do not know how to build packages from GIT so I am not sure how I can help.
Comment 4 Darrell 2012-06-02 16:25:09 CDT
The patch pushed to GIT in hash 85c2426f for bug report 744 has resolved this bug report as well. With the latest patched GIT I am able to preview svg images with the konqueror ksvgplugin viewer.

I am marking this bug report resolved, but feel free to reopen.

Note: For folks using 3.5.13, Slavek's original patch for bug report 744 is for 3.5.13 and can be back ported.

Thank you Slavek for the patch!
Comment 5 Slávek Banko 2012-06-02 18:44:40 CDT
(Odpověď na komentář #4)
> The patch pushed to GIT in hash 85c2426f for bug report 744 has resolved this
> bug report as well. With the latest patched GIT I am able to preview svg images
> with the konqueror ksvgplugin viewer.
> 
> I am marking this bug report resolved, but feel free to reopen.
> 
> Note: For folks using 3.5.13, Slavek's original patch for bug report 744 is for
> 3.5.13 and can be back ported.
> 
> Thank you Slavek for the patch!

I assumed that the patch for bug 744 also solve this bug. But there's still one little mistake. Thumbnails are displayed in original size == are not scaled by the size of the bubble / window with preview. Some of the thumbnails thus appear only white, black or just a small subset of the image.

We will solve this as another bug?
Or reopen this bug?
Comment 6 Darrell 2012-06-02 19:18:30 CDT
Would you provide a screen grab?

What are the exact configurations required to enable file previews in the popup tooltips? I'm testing a large patch set for bug report 892 and I have no previews at all in my "tooltip" popups --- of any type of file. Possibly I have stumbled into a bug with my patch set.
Comment 7 Slávek Banko 2012-06-02 19:34:27 CDT
Created attachment 638 [details]
Aurora in tooltip
Comment 8 Slávek Banko 2012-06-02 19:35:26 CDT
Created attachment 639 [details]
Aurora immediately after opening the preview
Comment 9 Slávek Banko 2012-06-02 19:36:40 CDT
Created attachment 640 [details]
Aurora after manual scaling
Comment 10 Slávek Banko 2012-06-02 19:39:48 CDT
I have 3.5.13.1 - as is being compiled in Debian packages.
Comment 11 Darrell 2012-06-02 19:43:21 CDT
I tried a fresh profile. I now can see some thumbnail images in the the tooltip popup. Therefore the problem must be in my profile configuration.

With the fresh profile, whether I see an image in the tooltip popup varies, even with png images. With the svgz I see a white block, a black block, or the image. When I see the image the thumbnail is not a full proportional thumbnail but clipped.

Some of the png images are not viewable either.

As this bug report addresses the ksvg plugin, I created bug report 1018 to address the thumbnail problem.
Comment 12 Darrell 2012-06-02 19:46:53 CDT
I'm seeing much the same with the GIT files. However, when I use the ksvg plugin to preview the svgz files, I see the entire image. Only the thumbnails are clipped. Would seem then that the ksvg plugin is scaling correctly in GIT.

Possibly move your attachments to bug report 1018?