Bug report #3530

Page orientation doesnt match composition orientation

Added by marisn - over 13 years ago. Updated over 10 years ago.

Assignee:nobody -
Affected QGIS version:master Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:13590


When changing composition orientation from landscape to portrait it doesn't affect page orientation settings thus leading to wrong printouts. Changing composition orientation and size should be reflected also in page settings.

QGIS_page_orientation1 - Scanned printout from QGIS with default settings. (31.6 KB) marisn -, 2011-03-09 05:10 AM

printerDriverPaperOrientation.png - Qgis doesn't synchronize paper orientation (174 KB) Borys Jurgiel, 2011-03-09 08:05 AM

Associated revisions

Revision 8d5862c8
Added by Nyall Dawson over 10 years ago

[composer] Set printer page orientation when composition page orientation changes (fix #3530)


#1 Updated by JD - about 13 years ago

I'd be inclined to say this is a feature rather than a bug. Looking at a few other applications such as Acrobat Reader, Inkscape, and OpenOffice Writer, the orientation of the page on the screen is not necessarily linked to the paper orientation.
For example, in Acrobat Reader if you turn off Auto Rotate and Center, then select the opposite orientation, your logical page stays the same but the paper is rotated thereby cropping the bottom of your logical page.
Now I'm not suggesting this is the best way of doing it, but it may be an idea to put in an equivalent button in the Composer to automatically rotate the map to the page, rather than the other way round, so that the user can choose a paper source and be sure that it won't get changed behind the scenes.
The biggest issue I see is that the print dialog box is the OSs standard one, so there is limited scope for changing it. So a new dialog would need to be implemented.

#2 Updated by marisn - about 13 years ago

I fail to see how requirement to set page orientation at two places can be called a "feature". If I set page orientation to be portrait in QGIS I expect my printouts also to be portrait and not landscape or any other insanity.

On my desk I have a pile of printouts made by students without deep QGIS background (still with moderate ArcGIS background) and most of them (~40) are bad ones like one I attached. Such "feature" has failed during enduser testing.

If I take any other "sane" application, i.e. LO Writter, changing page orientation from portrait to landscape will also change also orientation of printout to match my page settings in LO Writter and I don't have to do extra hops to get printouts matching my document layout.

#3 Updated by Borys Jurgiel about 13 years ago

I believe you talk about two different issues. One is a real bug, that the printout orientation doesn't affect printer driver (I can confirm it, see the second screenshot).

The second issue is the difference between LO Writer and serious DTP applications. When you change paper orientation in Writer, it adjust the page layout, what would be considered as layout devastation in applications like Scribus, Inkscape or, say, InDesign. For me personally, the Writer's way is not suitable also in qgis. It would not only move, but also resize frames in a way hard to control. What with snapping, what with the padlocks, what with font size inside resized frames?

Anyway, I guess Marisn means the first issue.

#4 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#5 Updated by Paolo Cavallini about 12 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Crashes QGIS or corrupts data set to No
  • Affected QGIS version set to master

#6 Updated by Paolo Cavallini over 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#7 Updated by Nyall Dawson over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF