[Bug 153669] New: Printing ignores changes in the header style until the program is restarted, and ignores them completely if the message pane is hidden. (with patch)
Jorge Salamero Sanz
bencer at cauterized.net
Sat Dec 8 09:57:24 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=153669
Summary: Printing ignores changes in the header style until the
program is restarted, and ignores them completely if the
message pane is hidden. (with patch)
Product: kmail
Version: unspecified
Platform: Debian testing
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdepim-bugs kde org
ReportedBy: bencer cauterized net
Version: (using KDE KDE 3.5.8)
Installed from: Debian testing/unstable Packages
verbatim copy from bugs.debian.org/446912 with patch of Daniel Burrows
"If you change the header style from the "View" menu, then print the
current message, KMail prints the message with the previous header
style. It doesn't change the printed header style until you exit and
restart the program. Furthermore, if you hide the message pane, the
headers always print as "fancy" headers instead of using the mode
selected from View. And to top things off, changes to the header mode
from a message window (what you get by double-clicking a message) are
ignored completely by the printer.
It doesn't seem to matter how the print command is invoked (via
a menu item, right-clicking, or the toolbar); the results are the
same every time.
It looks to me like the culprit is KMPrintCommand. It creates
a fresh, hidden KMReaderWin to print the message -- but because
KMPrintCommand doesn't close over the currently selected print mode,
the new reader will use the global default print mode. This should
be a pretty straightforward fix; I'll try to do it on the way to work
today.
More information about the Kdepim-bugs
mailing list