[Kst] [Bug 216746] It should be possible to save the print configuration for kst
netterfield at astro.utoronto.ca
netterfield at astro.utoronto.ca
Thu Feb 4 15:32:22 CET 2010
https://bugs.kde.org/show_bug.cgi?id=216746
--- Comment #8 from <netterfield astro utoronto ca> 2010-02-04 15:32:16 ---
Short version:
the last set margins are sticky for all future printing, until changed by
the
Print->options dialog. Set them to 5mm, and they will stay that way.
However: the last set margins are not reflected in the Print->options
dialog
defaults. Instead some giant dimensions are used (1 and 1.5 inches) These
appear to be un-settable. (bug/deficiency in Qt) So everytime you want to
change paper size or orientation, you also have to reset the margins.
------------------
Longer version
Actually, everything works as you want it to, *except* for an apparent
bug/deficiency in in Qt:
We do store the margins set in the print dialog->options dialog, and it is
sticky for all future printing, including from the command line.
However, there seems to be no way to set the defaults in the options dialog,
so this fact is not discoverable. The page size and orientation settings are
picked up from the QPrinter we pass to the QPrintDialog, and reflected as
defaults in the options dialog, but the margins are not.
If you don't 'ok' or 'apply' in the print->options dialog the last set margins
are still used. But if you enter the print->options dialog, say, to change
the paper size, the 1 and 1.5" defaults get set into the dialog, and will be
applied as the new margin size. There appears to be no way to set these
defaults, or change them in any way, or to remove them from the dialog. So,
if you want to change the paper size or the orientation with the Print-
>options dialog, you *also* have to re-enter the margins to what you actually
want.
This really bugs me, but I don't see a way forward short of re-writing or
patching the Qt print dialog (which I am not keen to do, since 4.7 is
coming...).
If someone knows something I don't, I would love to hear it.
so,
Go to the print -> options dialog. Set the margins to something good (say
5mm). Set your orientation and paper size to what you want. apply.
More information about the Kst
mailing list