QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)


FS#1518 - Landscape/Portrait gets confused for custom page size

Attached to Project: QCAD
Opened by Iain Hibbert (Matfie) - Wednesday, 21 December 2016, 15:20 GMT+2
Last edited by Andrew (andrew) - Wednesday, 21 December 2016, 15:30 GMT+2
Task Type Bug Report
Category QCAD (main)
Status Assigned
Assigned To Andrew (andrew)
Operating System All
Severity Very Low
Priority Low
Reported Version 3.16.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



In the Print Preview or Drawing Preferences / Page Settings if I select a Custom size, then landscape/portrait does not really make sense.

For instance, at work we have a laser cutter which uses a printer driver. The bed of the laser is 600 wide by 300 high. When I wanted to cut
something, I created a custom page size of 600×300 and selected Landscape (because it is wider than high)

Strangely, back in the Print Preview, the page is now sized opposite with regards to Portrait / Landscape mode, which was confusing somewhat.

(see pictures attached)

I think that for ‘Custom’ page size in Drawing Preferences, the option of Portrait or Landscape should probably be ghosted

Then, I think that for Portrait / Landscape mode in the Print Preview, it should display the shape most appropriate, rather than just assuming that the document fits the norm:

  1. Taller than Wide for Portrait mode
  2. Wider than Tall for Landscape mode
This task depends upon

Comment by Andrew (andrew) - Wednesday, 21 December 2016, 15:29 GMT+2

Paper sizes are assumed to be defined using width for the smaller side and height for the larger side. The option "Landscape" uses width as the height and vice versa.
This could arguably be changed. However, since landscape is a true/false flag in the DXF file, this would mean that the page might get rotated when another paper format is chosen.
Alternatively the words "portrait" / "landscape" could be changed into "not rotated" and "rotated" or something similar. macOS doesn't use these terms but uses icons instead (see attachment).