<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>408272</bug_id>
          
          <creation_ts>2019-06-04 02:20:07 +0000</creation_ts>
          <short_desc>The default print scaling method should be configurable</short_desc>
          <delta_ts>2023-08-16 20:34:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>okular</product>
          <component>printing</component>
          <version>1.7.1</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Matthew Trescott">matthewtrescott</reporter>
          <assigned_to name="Okular developers">okular-devel</assigned_to>
          <cc>aacid</cc>
    
    <cc>aheinecke</cc>
    
    <cc>bugs.kde.org</cc>
    
    <cc>dkrix</cc>
    
    <cc>m.weghorn</cc>
    
    <cc>nate</cc>
    
    <cc>oliver.sander</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>23.08</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1860493</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew Trescott">matthewtrescott</who>
    <bug_when>2019-06-04 02:20:07 +0000</bug_when>
    <thetext>When printing, &quot;fit to printable area&quot; is the default scaling setting. However, most PDF documents have margins built-in and so do not need the extra margins added by this setting. &quot;Fit to full page&quot; should be the default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860495</commentid>
    <comment_count>1</comment_count>
    <who name="Matthew Trescott">matthewtrescott</who>
    <bug_when>2019-06-04 02:22:28 +0000</bug_when>
    <thetext>Note: split from https://bugs.kde.org/show_bug.cgi?id=406237</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860949</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-06-05 15:35:27 +0000</bug_when>
    <thetext>&gt; most PDF documents have margins built-in
You may be right, but is there a way of verifying or proving this? I think it depends quite heavily on what type of document one typically encounters.

Also keep in mind that it&apos;s important for default options be as non-destructive as possible. When default &quot;fit to printable area&quot; and you use it on a document with built-in margins, the worst thing that happens is that the printed document&apos;s margins are too big. But if the default is &quot;Fit to full page&quot; and you don&apos;t remember to change it for a document without built-in margins, then the edges get cut off and the printout is ruined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860964</commentid>
    <comment_count>3</comment_count>
    <who name="Matthew Trescott">matthewtrescott</who>
    <bug_when>2019-06-05 16:25:46 +0000</bug_when>
    <thetext>Okay, but I think sacrificing accuracy for the sake of a few people with unusual documents is not really reasonable. Someone who needs full-bleed printing will probably be going to a professional print shop anyway.

Also, if you&apos;re a student, the extra margins could make it look like you&apos;re trying to make your paper longer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860969</commentid>
    <comment_count>4</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-06-05 16:33:35 +0000</bug_when>
    <thetext>Again I think it&apos;s important to avoid destructiveness in the default options.

Rather than arguing over what a better default would be, perhaps we should explore alternatives that would bypass the issue entirely:
- Make Okular smarter about choosing a default based on whether or not the document appears to already have built-in margins
- Make the scaling combobox more visible and prominent so it&apos;s easier to notice and change
- Make Okular remember the last scaling setting setting rather than always resetting to the default value
- etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861076</commentid>
    <comment_count>5</comment_count>
    <who name="Oliver Sander">oliver.sander</who>
    <bug_when>2019-06-06 06:26:47 +0000</bug_when>
    <thetext>&gt; Make Okular remember the last scaling setting setting rather than always resetting to the default value

+1 for this approach.  It also applies to a few other options in the print dialog, e.g., duplex printing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861078</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Weghorn">m.weghorn</who>
    <bug_when>2019-06-06 06:36:19 +0000</bug_when>
    <thetext>(In reply to Oliver Sander from comment #5)
&gt; &gt; Make Okular remember the last scaling setting setting rather than always resetting to the default value
&gt; 
&gt; +1 for this approach.  It also applies to a few other options in the print
&gt; dialog, e.g., duplex printing.

If so, another question is whether to have that for the current session and document only. E.g. I don&apos;t like Evince&apos;s behaviour of preselecting all print options from the last printout, regardless of the document (so that e.g. if you decide to once print multiple pages per sheet, you&apos;ll have it next time as well if you open a completely different document).

An alternative might be to add a setting for the default scaling option in Okular&apos;s settings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861080</commentid>
    <comment_count>7</comment_count>
    <who name="Oliver Sander">oliver.sander</who>
    <bug_when>2019-06-06 06:50:15 +0000</bug_when>
    <thetext>Indeed, that&apos;s probably even better.  (I have experienced that evince &apos;problem&apos; as well.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861097</commentid>
    <comment_count>8</comment_count>
    <who name="Laura David Hurka">laura.stern</who>
    <bug_when>2019-06-06 08:54:17 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #4)
&gt; - Make the scaling combobox more visible and prominent so it&apos;s easier to
&gt; notice and change

Additionally to that, could there be a graphic next to the combobox to explain the effect? I find “Fit to Printable Area” and “Fit to Full Page” ambiguous enough to do so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861154</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2019-06-06 16:00:58 +0000</bug_when>
    <thetext>(In reply to David Hurka from comment #8)
&gt; Additionally to that, could there be a graphic next to the combobox to
&gt; explain the effect? I find “Fit to Printable Area” and “Fit to Full Page”
&gt; ambiguous enough to do so.
+100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024574</commentid>
    <comment_count>10</comment_count>
    <who name="m.eik michalke">bugs.kde.org</who>
    <bug_when>2021-04-13 11:36:35 +0000</bug_when>
    <thetext>i&apos;m using okular 1.10, and it looks like not much has changed, so i would like to draw some attention on this issue again.

my problem is that i often have to print letters for use with windowed envelopes. everytime i forget to adjust the default setting for each of these printing jobs, i end up with paper waste because okular downscaled the pages so that the address field doesn&apos;t fit the window.

i wouldn&apos;t put too much effort into the debate over a best default, but instead just make these defaults *configurable*. personally, i don&apos;t have any use for the current default at all and must adjust settings all the time; maybe others have. please let them decide what they need per default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2246385</commentid>
    <comment_count>11</comment_count>
    <who name="Drew">dkrix</who>
    <bug_when>2023-08-13 23:07:24 +0000</bug_when>
    <thetext>I would like to underline  m.eik michalke 2021-04-13 11:36:35 UTC &apos;s comment. It is REALLY annoying not to be able to adjust the default settings, and sometimes I found it hard to get correct p[rint whatever. Also, why does the &quot;do not scale&quot; option always turn on the rasterization &quot;option&quot;?  I use TeX to generate pdf pages and they always have correct margins already set, so okular print menu is not friendly.  I use evince just to print, but prefer okular for edit/display purposes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2246894</commentid>
    <comment_count>12</comment_count>
    <who name="Andre Heinecke">aheinecke</who>
    <bug_when>2023-08-16 13:37:38 +0000</bug_when>
    <thetext>Can this be closed since https://invent.kde.org/graphics/okular/-/merge_requests/700 Has been merged and seems to provide the feature requested here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2246966</commentid>
    <comment_count>13</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-08-16 20:34:40 +0000</bug_when>
    <thetext>Well, the default still isn&apos;t &quot;Fit to full page&quot;, but now you can change the default yourself to be whatever you want it to be.

Given that &quot;Fit to full page&quot; can be dangerous can cause content to be cut off when using a printer with large built-in margins, I think &quot;Fit to printable area&quot; is a sensible default. But if your printer doesn&apos;t have that problem, you can change it yourself to &quot;Fit to full page&quot;.

I&apos;ll change the title to reflect what actually ended up being changed and then mark this as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>