← All bug reports

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

Type
Bug
Status
Closed
Resolution
Won't fix
Category
QCAD (main)
Severity
Very Low
Priority
Very Low
Reported version
3.16.2
Operating system
All
Reported
2016-12-21 by Matfie
Closed
2018-10-05 by andrew

Hello

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 600x300 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

Comments (1)

andrew 2016-12-21

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).