Version: 4.6 (using KDE 4.6.0) OS: Linux KManPart displays HTML source when the URL scheme is not man: Reproducible: Didn't try Steps to Reproduce: 1. { kioclient exec /usr/share/man/man1/man.1.gz; } 2. Tell Ark to preview man.1 Actual Results: 1, Ark shows up the archive containing man.1 2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE>MAN Manpage</TITLE> … Expected Results: 2. MAN Section: Manual pager utils (1) NAME man - an interface to the on-line reference manuals … Workaround: { kioclient exec man:/usr/share/man/man1/man.1.gz; }
Works here, see attached screenshot. When I click on the file in Ark I get a man preview. How do you "2. Tell Ark to preview man.1" exactly?
Created attachment 60181 [details] Previewing man files from Ark
(In reply to comment #1) > How do you "2. Tell Ark to preview man.1" exactly? Action: Preview
I click in Ark on the file, is it what you also do? Is the behavior I show on the screenshot the one you expect? If so, please try with a new user, thanks.
Created attachment 60182 [details] Ark preview showing HTML source in KManPart I had to select text because the it displays black on dark
Please try a new user to check if it is a configuration problem which I suspect.
Ark displays HTML source for the new user too.
This is quite strange. What distribution are you using and what KDE version so I can inquire around to people with the setup as yours?
Confirmed (no need to use ark for that, just browse a directory with man pages in konqueror, right click on one and select the preview in kmanpart option).
same problem here: archlinux-64 with kde-4.6.3
This needs to be reported against kmanpart or whatever module that application belongs to. The bug has nothing to do with the man kioslave.
(In reply to comment #11) > This needs to be reported against kmanpart or whatever module that application > belongs to. The bug has nothing to do with the man kioslave. Oops. I stand corrected. I guess kmanpart is part of the man kioslave. Ignore my comments.
I can not reproduce this with KDE 4.9.0 I assume this was fixed by commit edf9a818c7dbe0441b71689779098dc30ef685d2 Author: David Faure <faure@kde.org> Date: Thu Jan 13 13:02:36 2011 +0000 Fix kmanpart so that KHTML actually parses the output as HTML rather than as plain text.