<?xml version="1.0" ?>

<kc>

<title>KDE Traffic</title>

<editor contact="mailto:aseigo@mountlinux.com">Aaron J. Seigo</editor>

<issue num="13" date="08 Jun 2001 00:00:00 -0800" />

<intro>
<p>Welcome to KC KDE! It wasn't too many weeks ago that KDE CVS was in a code freeze and
now we are heading towards another one in anticipation of a beta release of 2.2. After the beta
release no new features are to be added until 2.2 is packaged and work on 2.3 begins.
The beta has been delayed a few days due to some show stopper bugs, but should be out
shortly. On the upside, the push for a &quot;final beta&quot; has prompted a truly impressive amount of bug fixes
and feature completions being committed to CVS this last week.</p>

<p>We hope you enjoy this issue of KC KDE and as always, happy hacking!</p>
</intro>

<section
  title="KOffice File Extensions and Mimetypes"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="kControl - File associations"
  archive="http://lists.kde.org/?l=kde-devel&amp;m=99120656625426&amp;w=2"
  posts="19"
  startdate="29 May 2001 23:07:27 -0800"
  enddate="02 Jun 2001 01:48:56 -0800"
>
<topic>KOffice</topic>
<topic>Mime Types</topic>
<p>Ferdinand Gassauer wrote, <quote who="Ferdinand Gassauer">
The other day I asked why in koffice the "file save" does not append the
 extension (kwd to kword) any more.
David answered, that the file is recognized by its mimetype.
Beside the fact that I'd like to have this bahaviour configurable (append
 extension yes/no) to allow command line inputs like "l *.kwd"
the kcontrol "file association" as it is now becomes invalid (or not?) and
 definitely needs explanation. A kspread file saved as test.kwd is recognized as kword file.</quote></p>

<p>David Faure stepped in to explain the situation saying, <quote who="David Faure">
It's just as it has always been in KDE.
<ul>
<li>Extension isn't mandatory, but if it's set then it's _prioritary_ over the contents</li>
<li>If unknown extension or no extension, then we look at the contents.</li>
</ul>
If you want that a kspread file saved as test.kwd doesn't look like a kword
file, then we have to remove the .kwd extension for kword files. Is that what
we want to do ? [It'd still work just fine btw].
Extensions look ugly IMHO. Especially the KOffice ones.
 "KWD" ? How unpronounceable is this, compared to e.g. "DOC" ?
The point now, is that you can name your files the way you want. With .kwd,
or .doc, or .myfile, or .kword, etc. (ok, just not .jpg :). Isn't that better ?
About the filetypes module, yes, it doesn't let you see how the
 mimetype-determination-from-the-contents works. That would be quite too
technical to show anyway (magic strings etc.), for 99% of the users.</quote></p>

<p>To further complicate things, Carsten Pfeiffer noted that detection by mimetype is only
useful when the file is stored locally saying, <quote who="Carsten Pfeiffer">
the only problem I see ... is publishing those documents on remote
 servers, e.g. ftp. There we don't have any magic-detection and rely on the
 extension -> if there is no extension, we're in trouble.</quote> It was, after some discussion,
decided that the best idea was to provide a checkbox in the Save File dialog box that
allows the user to set wether or not to automatically add file extensions.</p>
</section>

<section
  title="Avery Label Templates for KWord"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="Labels"
  archive="http://lists.kde.org/?l=koffice-devel&amp;m=99145748903750&amp;w=2"
  posts="9"
  startdate="01 Jun 2001 20:47:49 -0800"
  enddate="03 Jun 2001 10:39:57 -0800"
>
<topic>KOffice</topic>
<topic>KWord</topic>
<mention>David Faure</mention>

<p>It is becoming a fairly common occurence these days to hear of large corporations
cooperating with Open Source projects when it is in their best interests to do so.
Kent Nguyen announced one such instance of this saying, <quote who="Kent Nguyen">
Avery has given me permission to create label templates for KOffice and allow
 me have them license under an Open Source License. Here are the screenshots for 4 labels:
http://www.geocities.com/newyen/index.html</quote></p>

<p>While implementing these templates, Kent ran into some limitations in KWord including
the lack of a DCOP interface he could use to automate the creation of the templates. Kent
wrote into the list a few days later with his current work-around saying:</p>

<quote who="Kent Nguyen">
<p>Since I can't use dcop, I  whip up an application to create labels, did the logic, just need to know
 what api to use to write a kword file.  David, can you help me?</p>

<p>http://www.geocities.com/newyen/label.png</p>

<p>I have the full specification to Avery labels -- all 1,500 of them.  Yes I
 had to sign an NDA to get it, but rest assure there is no clause in there
 that I can't redistribute the templates I do.  If you feel this is not
 enough, I can private message you about the specifics, including the dialogue
 I had with Brenda Dillion, an executive at Avery.</p>
</quote>

<p>David Faure replied to Kent telling him that he could use Qt's built in XML classes
to write KWord files himself. Thanks goes to Kent for working on this as well as to Avery Labels
for showing their support for the KOffice project.</p>
</section>

<section
  title="Kicker Improves ... Again"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="Kicker improvements"
  archive="http://lists.kde.org/?l=kde-devel&amp;m=99164703719074&amp;w=2"
  posts="6"
  startdate="03 Jun 2001 21:19:55 -0800"
  enddate="05 Jun 2001 12:01:15 -0800"
>
<topic>Kicker</topic>
<p>Kicker started out as a fairly humble desktop panel compared to some found elsewhere. With time it
has grown remarkably featureful, due in large part to the diligent efforts of numerous KDE hackers and its good internal design.
These days Kicker supports may types of components including:
<ul>
<li> applets (this includes native KDE2 applets, of which I have 20 different ones installed right now, as well Window Maker applets</li>
<li> taskbars with startup notification, optional task grouping, and nice visual effects </li>
<li> extensions such as child panels, and Window Maker style application bars </li>
<li> bookmark menus, recently used document and application listings</li>
<li> special menus such as quick browsers, window lists, Konsole sessions, recent documents and bookmarks</li>
<li> auto and manual hiding, icon zooming, optional tooltips and panel
sizing</li>
</ul>
The list of features also keeps growing as Kicker continues on in the quest of becoming <i>the</i> leading edge desktop panel.
The latest step in this forward march was announced by John Firebaugh when he posted to the kde-devel list saying: </p>

<quote who="John Firebaugh">
<p>I'm about to commit some improvements to kicker, namely, more
 configurability of panel extensions. To do this I have created a common
 base class for the panel and panel extensions, which reduced a lot of code
 duplication and means that panel extensions now have all the features of
 the main panel -- auto-hide is the most requested of these. Right now there
 isn't any gui for this, but if you want to test it out, edit the
 appropriate config file (e.g. taskbarextensionrc) and restart kicker. The
 gui should probably consist either of another kcontrol module or another
 tab within the kicker control module. Suggestions here are welcome, as are
 any bug reports, praise, or constructive criticism.</p></quote>

 <p>The next day John announced that these additions were now configurable
 from the panel KControl module in a new tab labelled &quot;Extensions&quot;.
A request was made for being able setting the auto-hide timeout to 0 seconds
and problems were noted regarding moving panels around the screen.
These issues, along with the usual array of minor glitches to be expected with new code,
were taken care of by John as they were reported.</p>
</section>

<section
  title="KMail and KDE2 From CVS"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="WARNING to CVS-KMail users"
  archive="http://lists.kde.org/?l=kde-devel&amp;m=99166067315958&amp;w=2"
  posts="6"
  startdate="04 Jun 2001 09:32:41 -0800"
  enddate="04 Jun 2001 15:07:22 -0800"
>
<topic>KMail</topic>
<topic>Accidents</topic>
<topic>KDE Core Development</topic>
<topic>Performance</topic>

<p>Despite everyone's best efforts, sometimes changes that need
to be made in one module effect applications in other modules.
One such change occurred this past week that requires both kdelibs and kdenetwork to be updated together
and affects everyone who uses KMail either from CVS or with kdelibs from CVS.
Michael H&#228;ckel explained in a cross-posted message saying:</p>

<quote who="Michael H&#228;ckel">
<p>I just checked in code, that speeds up retrieving huge mails via POP3 on a
 fast network heavily by a factor of around 30 and also fixes one bug.
Unfortunately this required a functional incompatible change in the POP3
 kioslave.</p>

<p>Therefore, be warned to update both kdebase and kdenetwork at the same time
 when doing your next update. Otherwise you will recieve either mails with
 some additional linebreaks or without any line breaks at all, depending on
 what package you update first.</p>

<p>Please don't send us bug reports because of this problem, when not doing so,
 thank you.</p>
 </quote>
</section>

<section
  title="kio_http Connection Handling Problems"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="kio_http, persistent connections"
  archive="http://lists.kde.org/?l=kde-core-devel&amp;m=99167562432322&amp;w=2"
  posts="11"
  startdate="04 Jun 2001 07:35:01 -0800"
  enddate="05 Jun 2001 03:44:59 -0800"
>
<topic>KIO</topic>
<mention>Lars Knoll</mention>

<p>While working on a kpf, a personal webserver for KDE2, Rik Hemsley
noted some problems with the way kio_http makes requests of a web server. Rik
explained what he say saying,</p>

<quote who="Rik Hemsley">
<p>When requesting a web page which includes quite a few (about 10) small
images, it appears that kio_http creates about 4 connections to the
server. This, I would guess, is to allow 'parallel' retrieval of the
various components that make up the page.</p>

<p>kio_http tells the server that it wants to keep the connection open (it
doesn't send "Connection: close" and it explicitly sends "Connection:
Keep-Alive"). This is fine, if kio_http will send "Connection: close" in a future
request on the same connection. Unfortunately, it doesn't. Instead, it
seems try to open another connection to the server instead.</p>

<p>According to RFC2616, clients should simply pipeline requests without
waiting for a response from the server. I can see that pipelining all the requests necessary for one page, on
one connection, would lose the benefit of parallelism, so it makes sense
that kio_http would use more than one connection.</p>

<p>If kio_http were to limit itself to 4 connections and, when it has
reached this limit, send further requests (pipelined) on the existing
4 connections, with "Connection: close" as a header in the final
request, there would be no problem.</p>

<p>With the current implementation of kio_http, I need to set quite a
high simultaneous connection limit in the server, to handle the case
when kio_http fires off what appears to be an unlimited number of
connections.</p>
</quote>

<p>Rik noted that this causes problems with web servers that limit the
maximum number of simultaneous connections from a single host. Dirk Mueller
replied saying, <quote who="Dirk Mueller">so it should keep sending request
headers without waiting for the first request to be finished ?
that would explain why KIO is still a few magnitudes slower in retrieving
 webpages than i.e. IE/Netscape.</quote> Dirk also explained why it would
not be possible or advantageous to explicitly close an active slave as opposed
to just letting it time out, though he noted that if kio_http spawns an unlimited
number of connections then that is indeed a bug. He concluded that pipelining is indeed the
solution that will need to be implemented. Lars Knoll confirmed this while
noting that in the http specification the maximum number of connections per client
to a server should only be 2. Further discussion occurred on the technical details
involved in improving kio_http. </p>
</section>

<section
  title="KPersonalizer To Make Initial Set Up of KDE2 Easy"
  author="Aaron J. Seigo"
  contact="mailto:aseigo@mountlinux.com"
  subject="This Week's CVS issues :)"
  archive="http://lists.kde.org/?l=kde-core-devel&amp;m=99139273605525&amp;w=2"
  posts="17"
  startdate="06 Jun 2001 07:35:01 -0800"
  enddate="06 Jun 2001 03:44:59 -0800"
>
<mention>antialias</mention>

<p>With a desktop as versatile as KDE2 new users can easily get lost in the
vast number of configuration settings. One solution is to present a new user
with a program that asks right questions and then sets the
desktop settings appropriately. While commenting on the CVS
issues for the week, Ralf Nolden announced KPersonalizer which is
an application that does exactly that saying: </p>

<quote who="Ralf Nolden">
<p>danimo and wildfox will probably come over to me this weekend to work
on the kpersonalizer in kdebase. Who hasn't tried it yet, it's intended
to be started on the first login of the user to customize the desktop
settings roughly (language, look and feel, feature enabling like icon
stuff and antialiasing etc.) Whoever is interested to help, just drop me
a mail. The kpersonalizer subdir already contains all abstract classes
to implement the features of the QWizard's pages and there's a readme
that can be followed to implement stuff.</p>
</quote>

<p>As the week drew to an end, Ralf said that KPersonalizer was almost
completely ready. For those looking to try it out, KPersonalizer can be found
in the kdebase CVS module.</p>

</section>

<section
  title="Flash support for Konqueror/Embedded"
  author="Rob Kaper"
  contact="mailto:cap@capsi.com"
  subject="Konqueror Embedded with Macromedia Flash player"
  archive="http://lists.kde.org/?l=konq-e&amp;m=99190510906793&amp;w=2"
  posts="5"
  startdate="07 Jun 2001 01:14:40 -0800"
  enddate="07 Jun 2001 04:58:28 -0800"
>
<topic>Konqueror Embedded</topic>
<mention>Shawn Gordon</mention>

<p>
James Finnie wrote to konq-e and asked: <quote who="James Finnie">I have
Konqueror Embedded running on the framebuffer, and would like to get
Macromedia Flash animations playing on it.  Is there any way to do
this?</quote>
</p>
<p>
Rob Kaper noted that Oliver Kutter was working on this issue:
</p>
<quote who="Rob Kaper">
<p>
he has been working on integrating Konq's nsplugin viewer, to allow
_all_ plugins to work under Konq/E. The GPL'ed Flash player is okay, but
it's incomplete and it does not support Flash 5 animations.
</p>
<p>
It would however be possible to remove its dependency on X, I suppose. The
Kompany was investigating this / looking at it, so you might want to contact
Shawn Gordon &lt;shawn@thekompany.com&gt; on their progress, plans and
release strategies.
</p>
</quote>
<p>
The question was added to the <a
href="http://www.konqueror.org/embedded.html">Konq/E FAQ</a> and we're all
looking forward to this addition to Konqueror/Embedded.
</p>
</section>

<section
	title="Konqueror/Embedded kiosk mode and Lirc support"
	author="Rob Kaper"
	contact="mailto:cap@capsi.com"
	subject="Features proposal"
	archive="http://lists.kde.org/?l=konq-e&amp;m=99199279907252"
	posts="2"
	startdate="08 Jun 2001 01:32:35 -0800"
	enddate="08 Jun 2001 01:41:15 -0800"
>
<topic>Konqueror Embedded</topic>
<mention>Simon Hausmann</mention>

<p>
Arnaud Rolly proposed some new features for Konqueror/Embedded:
</p>
<quote who="Arnaud Rolly">
<p>
When I'll have the possibility to compile the CVS version, i'd like to
add few functionnalities :

<ul>
<li> Disable the popup menu when right-clicking on an url </li>
<li> No border for the main window </li>
<li> More keyboard bindings </li>
<li> No toolbar </li>
<li> Lirc support (to browse the Web with a remote controller!) </li>
<li> More source code documentation </li>
</ul>
</p>
</quote>

<p>Simon Hausmann had some remarks on the specific implementation, but was fine
with the additions. Soon after, the <a
href="http://lists.kde.org/?l=konq-e&amp;m=99200681113744">patches</a> for the
kiosk mode GUI were sent to the list. They should be committed soon, while
Arnaud continues to work on Lirc support.
</p>
</section>

</kc>
