(*** This bug was imported into bugs.kde.org ***) Package: konqueror Version: KDE 2.2.2 Severity: normal Installed from: RedHat RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified I am looking at an HTML document on my local filesystem. It has hyperlinks to other remote documents. I had followed some of the links but not all of them. I printed the page to a postscript file and then looked at with `gv' before killing a tree. To my surprise the postscript image of the page *exactly* mirrors the state of my browser as far as followed and unfollowed links are concerned. That is the followed links are purple but the unfollowed links are blue. This is IMHO *too* accurate a representation for most printouts. In almost every case I would prefer to have the postscript file show all of the links in their "pristine" unvisited state (blue). I suppose that there are cases in which it would be useful to have a pixel for pixel replica of the browser's state but that should be an option and not the default. (Submitted via bugs.kde.org)
FWIW, I tested this with various other browsers: IE 5.0, 5.5, 6.0 + 7.0 (on Win32); Opera 9.1 (on Linux); Firefox 1.5 + 2.0 (on Linux): they *all* show the same behavior (link colors change in printout if the links have been followed). Sure, it would be a nice feature if that feature could be changed by users: (a) it may be irrelevant on a paper printout (and be visually unpleasant); (b) it may even be an unwanted leakage of privacy if certain links in some printouts are highlighted as "been visited". Should this ever be implemented, then probably only in the context of an overall overhaul of the printing features of Konqueror/KHTML for KDE4. If that is done, please also include an option remove colorizing links altogether in the printouts. ------------- (Note, that with most browsers you can disable the color change of followed links altogether.)
This is very similar (possibly the same part of the code) to bug 122123 [ http://bugs.kde.org/show_bug.cgi?id=122123 ] which complains that printouts show "box" highlights of links that where middle-clicked (opened in new window/tab).
*** Bug 122123 has been marked as a duplicate of this bug. ***
Anyway, the "print CSS" should manage this behaviour.
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann