Bug 198172 - printer margin settings are forgotten at restart
Summary: printer margin settings are forgotten at restart
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: print-dialog (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR normal with 185 votes (vote)
Target Milestone: ---
Assignee: kdepim bugs
: 205802 228931 300088 308367 (view as bug list)
Depends on:
Reported: 2009-06-28 14:56 UTC by Martin Senftleben
Modified: 2023-03-09 17:44 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Senftleben 2009-06-28 14:56:58 UTC
Version:           1.11.90 (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 138", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release

I have set the margins to different sizes as the default ones which are far too narrow (3 mm on three sides), but these settings are forgotten when KMail is shutdown. I'm not sure if this is a KMail-bug or in general applicable to KDE. I use an hpijs-driver for my HP Officejet Pro L 7680.
Comment 1 Martin Koller 2009-08-09 22:42:14 UTC
can confirm. It even does not store the settings between two printouts.
But this is a KDE global problem. Reassigning.
Comment 2 Christoph Feck 2010-03-02 01:22:33 UTC
*** Bug 228931 has been marked as a duplicate of this bug. ***
Comment 3 Attila 2010-03-04 10:41:11 UTC
Due to the information that my Bug 228931 is a duplicate from this i answer here.

Don't get me wrong but i guess that this is not a question of Qt 4.8 or other
versions. Under KDE 3x (Qt 3x) the printer dialog was excellent! I was able to
set the margins and save the settings. All i would like to do is to save my
settings (like the printer dialog under KDE 3x).
Every time i am trying to print, i have to click on "Properties", then set the
margins, after that i have to click on "Options >>", select the tab "HTML
settings" uncheck "printer friendly mode", uncheck "print header" and so on.
I hate to say that, but this is so stupid! Isn't it? You can't tell in every
office all the user: Hey guys! Remember if you print, don't forget to click
here, click there ..... and do this on every single print. This is not
Thank you for listening to me.
Comment 4 Martin Senftleben 2010-03-04 12:08:02 UTC
As the one who brought this up: it is one of the basic functionality one can expect, that printer settings are storable. This problem bugs me for 9 months now, and still no change. Every time I print out a mail, I have to reset the margins - for every single print. That was working fine with KDE 3, and nobody can say that this is "not yet" implemented in KDE 4. It should never have gone away.
Comment 5 TimWetter 2010-03-09 15:17:44 UTC
how should I work with kde4, when I cannot print as I used to?

is kde4 all about "nice effects" or should it be something that can be used to work with?

but working people need snow on the desktop ... it seems to be essential ... sure fire
Comment 6 Joseph Reagle 2010-04-23 22:26:02 UTC
Trying Kubuntu Lucid RC to see if this issue is fixed, and unfortunately it is not. I'll also note that I think this bug and 164899 are duplicates.
Comment 7 Tristan Miller 2011-03-17 10:44:11 UTC
Surely this is the same issue I reported in Bug 256975?  If so, the resolution is "UPSTREAM"; the issue has been reported on the Qt bug tracker here: http://bugreports.qt.nokia.com/browse/QTBUG-15351
Comment 8 Martin Senftleben 2011-03-18 08:34:28 UTC
I'm on Gnome now, so this bug doesn't bug me any more...
Comment 9 Tristan Miller 2011-03-18 11:03:54 UTC
Well, regardless, one of these bugs should be marked as the duplicate of the other.  I don't have authorization to do that; perhaps as the reporter you could do so, Martin.
Comment 10 Martin Senftleben 2011-03-18 18:44:55 UTC
Sorry, I missed that point. However, I'm not sure if the bug reported at http://bugreports.qt.nokia.com/browse/QTBUG-15351 is the same as the one that I reported here. They may be related, however. But:
I do not remember that just clicking on properties and then on OK solved the problem. i had to set the margins according to my needs. And: I had that problem observed only in KMail, and I'm sure other programs use the QT-library as well.
As I have no option to verify the duplicity, I would rather keep this report than marking it as a duplicate.
Comment 11 Dominik Haumann 2011-08-07 12:34:57 UTC
*** Bug 205802 has been marked as a duplicate of this bug. ***
Comment 12 Dominik Haumann 2012-05-16 06:43:43 UTC
*** Bug 300088 has been marked as a duplicate of this bug. ***
Comment 13 Tristan Miller 2012-11-23 07:39:15 UTC
If this bug really is a duplicate, or at least somehow related, to Bug 256975, then it should be noted that the upstream bug report has been marked as resolved for Qt 5.0: https://bugreports.qt-project.org/browse/QTBUG-15351
Comment 14 Richard Llom 2014-01-05 14:42:52 UTC
I left a comment on the qt bug and asked for a backport to qt 4.8. So lets wait (and hope) and see.
Comment 15 Dominik Haumann 2014-04-29 08:28:37 UTC
Any news on the Qt 4.8 state with respect to this issue?
Comment 16 Richard Llom 2014-04-29 15:30:10 UTC
Yes. I contacted John Layt (already some month ago) and he said he will try to bring this fix to the next qt 4.8 patch release. And just some days ago the qt bug was updated:
Akseli Salovaara updated Bug QTBUG-15351
Margin settings are ignored unless Printer Properties dialog is opened first
Change By: 	Akseli Salovaara (24/Apr/14 3:28 PM)
Fix Version/s: 	4.8.7 (Next patch release)

I think this is good news. :-)
Comment 17 postix 2022-07-30 18:05:59 UTC
*** Bug 308367 has been marked as a duplicate of this bug. ***
Comment 18 postix 2022-07-30 18:06:48 UTC
Can you still reproduce the issue with some more recent version of Okular (22.04+)?
Comment 19 Attila 2022-08-02 13:48:04 UTC

this bug has not been fixed since 2009. I know only one application which can remember the printer margin settings. This is KWrite and perhaps Kate. KWrite stores this information in the file "kwriterc" in the section [Kate Print Settings][Margins].
Can someone please finally fix this bug?

Operating System: Fedora Linux 35
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.2
Kernel Version: 5.18.13-100.fc35.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4770T CPU @ 2.50GHz
Memory: 7.2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Comment 20 Bug Janitor Service 2022-08-17 04:35:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!