#644950 gedit: Print preview incorrectly handles "n-up" printing

Package:
gedit
Source:
gedit
Description:
popular text editor for the GNOME desktop environment
Submitter:
Mike Paul
Date:
2020-11-26 17:21:06 UTC
Severity:
normal
Tags:
#644950#5
Date:
2011-10-11 02:57:41 UTC
From:
To:
On the "Page Setup" tab of the GNOME Print dialog, there's a "pages per side"
setting that places multiple pages of output into a grid layout on a single
sheet of paper.  Each "page" of the document is scaled down and possibly
rotated to fit into its portion of the real page.

When this setting is turned on, gedit's print preview shows the output
correctly scaled and rotated, but it still shows each page of the document on a
separate sheet of paper.  For example, on a 4-page document with "pages per
side" set to 4, gedit's print preview shows four sheets of paper, each with
text in its upper-left quarter, and the remainder of the sheet blank.  What it
*should* show is the four pages of the document placed in the four quarters
of a single sheet of paper.

(If this explanation isn't clear, just open a multi-page document in gedit,
open the print dialog and set "pages per side" to something other than 1, and
click the Print Preview button.  The problem should be fairly obvious.)

The actual printed output is correct, so the problem is just with the print
preview.

#644950#12
Date:
2013-11-07 15:37:08 UTC
From:
To:
I can confirm this bug with gedit-3.10.1-1.

Regards
Debian Release: jessie/sid
  500 unstable        ftp.nl.debian.org
  500 stable          dl.google.com
    1 experimental    ftp.nl.debian.org
--- Package information. ---
Depends                           (Version) | Installed
===========================================-+-==============
python3:any                   (>= 3.3.2-2~) |
libatk1.0-0                     (>= 1.12.4) | 2.10.0-2
libc6                             (>= 2.14) |
libcairo-gobject2               (>= 1.10.0) |
libcairo2                        (>= 1.2.4) |
libenchant1c2a                   (>= 1.6.0) |
libgdk-pixbuf2.0-0              (>= 2.22.0) |
libgirepository-1.0-1            (>= 0.9.3) |
libglib2.0-0                    (>= 2.37.5) |
libgtk-3-0                      (>= 3.9.10) |
libgtksourceview-3.0-1          (>= 3.10.1) |
libpango-1.0-0                  (>= 1.14.0) |
libpangocairo-1.0-0             (>= 1.14.0) |
libpeas-1.0-0                    (>= 1.1.0) |
libx11-6                                    |
libxml2                          (>= 2.7.4) |
gedit-common                      (>= 3.10) |
gedit-common                      (<< 3.11) |
gnome-icon-theme-symbolic                   |
gsettings-desktop-schemas                   |
python3-gi                         (>= 3.0) |
python-gi-cairo                    (>= 3.0) |
gir1.2-peas-1.0                             |
iso-codes                                   |


Recommends      (Version) | Installed
=========================-+-===========
zenity                    | 3.8.0-1
yelp                      | 3.10.1-1


Suggests           (Version) | Installed
============================-+-===========
gedit-plugins                |
--- Output from package bug script --- /usr/bin/xterm: cannot load font '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1' Active plugins: - 'docinfo' - 'spell' - 'modelines' - 'filebrowser' - 'time' No plugin installed in $HOME. Module versions: - glib 2.38.1 - gtk+ - gtksourceview - pygobject - enchant - iso-codes 3.48