[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 52301] New: Tooltip preview for docbook source file is badly parsed
From:       Mario Scalas <mario.scalas () libero ! it>
Date:       2002-12-25 21:24:43
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=52301     
           Summary: Tooltip preview for docbook source file is badly parsed
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: coolo@kde.org
        ReportedBy: mario.scalas@libero.it


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          Gentoo gcc-3.2.1 
OS:          Linux

<intro>Opening a konqueror windows and leavin the mouse cursor upon a file icon open \
up a tooltip with meta-information about the file type. </intro>

I add the text for both DocBook files I was using:

---- StartOfFileText hello.docbook
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.0//EN">
<!-- This is a DocBook sample document -->
<book lang="en">
	<bookinfo>
		<title>Hello, world</title>
	</bookinfo>
	
	<chapter id="introduction">
		<title>Hello, world</title>
		<para>This is my first DocBook file.</para>
	</chapter>
</book>
---- EndOfFileText

---- StartOfFileText simpledoc.docbook
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.0//EN">
<!-- This is a DocBook sample document -->
<book lang="en">
	<bookinfo>
		<title>Hello, world</title>
	</bookinfo>
	
	<chapter id="introduction">
		<title>Introduction</title>
		<para>This is the introduction. It has two sections</para>
		
		<sect1 id="about-this-doc">
			<title>About this book</title>
			<para>This is my first DocBook file</para>
		</sect1>
		
		<sect1 id="work-in-progress">
			<title>Warning</title>
			<para>This is still under construction.</para>
		</sect1>
	</chapter>
</book>
---- EndOfFileText

hello.docbook metainfo display badly the document title meta-info (it appends \
"</title>...") but tooltip window is still "about normal size".

simpledoc.docbook instead present all the text document on one row on a tooltip who \
starts "out of the left part of monitor", that is I see only the rightmost part of a \
tooltip which is wider than the screen.

Perhaps a limit should be set for each of the metainfo tags so that in case of parse \
failures output is still of "reasonable" size ;)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic