Bug 122272

Summary: Quanta "VPL & Source" view shows an empty area instead of a preview
Product: quanta Reporter: Joaquin <jllamasaspa>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal CC: jens
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The CSS file that makes preview to appear as empty
This is the xhtml 1.1 file that creates an empty view to appear

Description Joaquin 2006-02-19 11:51:11 UTC
Version:           3.5.1 (using KDE 3.5.1-0.1.fc4 Red Hat, Red Hat Linux (Stentz))
Compiler:          Target: x86_64-redhat-linux
OS:                Linux (x86_64) release 2.6.15-1.1831_FC4

Scenario :
----------
Kernel : 2.6.15-1.1831_FC4
Platform: AMD64 (64bit distribution)
Distribution: Fedora 4
Quanta build : 3.5.1-1.2 and 3.5.1-0.1

Loaded Plugins:
---------------
Link Checker
KImageMapEditor
KFileReplace
CVSManagement (Cervisia)
Konsole
XSLT Debugger



Problem Description:
--------------------
I Open a file that is an xhtml 1.1 with a CSS file that both have passed W3C validation (CSS has warnings but it is valid).
I select the VPL & Source view and the "Preview Area" is completelly empty.

I tried several combinations, and looks like at some time it is able to show the preview, but almost never can be shown. (Not a 100% times problem).

If it is required, I can supply the xhtml and the CSS that I'm working with.
Comment 1 András Manţia 2006-02-19 18:38:50 UTC
On Sunday 19 February 2006 12:51, Joaquin wrote:
> If it is required, I can supply the xhtml and the CSS that I'm
> working with.

It would help a lot.
Comment 2 Joaquin 2006-02-19 18:52:12 UTC
Created attachment 14779 [details]
The CSS file that makes preview to appear as empty
Comment 3 Joaquin 2006-02-19 18:53:04 UTC
Created attachment 14780 [details]
This is the xhtml 1.1 file that creates an empty view to appear
Comment 4 Jens Herden 2006-03-04 14:34:37 UTC
I could find the bug and I fixed it in the current development version.

If you speak diff you could fix your installation with this:

Index: data/dtep/xhtml11/body.tag
===================================================================
--- data/dtep/xhtml11/body.tag  (revision 515612)
+++ data/dtep/xhtml11/body.tag  (working copy)
@@ -18,7 +18,7 @@
 <child name="address" />
 <child name="blockquote" />
 <child name="del" />
-<child name="di" />
+<child name="div" />
 <child name="dl" />
 <child name="fieldset" />
 <child name="form" />