QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.18.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Husky - 26.09.2017
Last edited by Andrew - 27.09.2017

FS#1635 - Print current view / Portrait

Hi,

if I use the “Print current view” tool for a Landscape format - everything works just nicely!
If I use it for a Portrait print - the scale is way of.

For this example I used a rectangle as reference. The details what I’m looking for are captured with same sized red rectangles. The Paper orientation was changed before I used the Print command. To have the maximum view I select the rectangle and used “Zoom to selection” - then Print to current view.

Portrait, scale way of:
Husky-2017.09.25-03.png

Portrait, manual adjusted - it should look close to this one:
Husky-2017.09.25-04.png

I attache for testing the dxf too.

Closed by  Andrew
27.09.2017 08:15
Reason for closing:  Not a bug
Additional comments about closing:  

Please re-open if you think this is a bug.

Admin
Andrew commented on 27.09.2017 08:14

Could this be a misunderstanding of the tool?
The "Print Current View" tool prints the contents of the drawing canvas as shown on your screen. It is not related in any way to the current selection.

If you zoom to the portrait rectangle, you will likely still see a lot of the drawing left and right of the rectangle in your canvas. That all has to be printed and therefore will be fit on the paper as well.
In other words, it's the green rectangle (see attachment) that is fitted on paper, not the red one.

Husky commented on 28.09.2017 04:26

"Could this be a misunderstanding of the tool?
The "Print Current View" tool prints the contents of the drawing canvas as shown on your screen. It is not related in any way to the current selection."

Yes I know that the selection has nothing to do with this tool. I used the selection only to get the maximum view with the "View to selection" tool.

However - the Landscape result is absolute as expected. My problem is the Portrait result. As you can see in my screenshot Husky-2017.09.25-02.png that QCAD figured out the maximum print size of the current view for a Landscape orientated Format. Of course the ratio is not identical between the Current view and the Sheet format what leads to a result that shows "more" on the top and on the bottom of the paper. The right and the left side is precisely cut to the current view. Just perfect!

If I check the result for a portrait orientation like Husky-2017.09.25-03.png then you can see that we have a lot "more drawing" around all sides of the rectangle visible. That is not even close to the current view represented by the Portrait rectangle! It should show the rectangle close to the top and to the bottom edge of the paper like Husky-2017.09.25-04.png. Of course - regarding to the ratio between screen and paper it shows then more or less on the right and on the left side but that would be correct!

I assume that QCAD is using the x information from the current view for the calculation. That works fine for Landscape!
Apparently QCAD is also using this x information for Portrait oriented paper what doesn't works. I think it should be the Y information ...

Test it by yourself with my dxf
1. set Print paper orientation to Portrait,
2. select the Portrait rectangle,
3. use View to selection to get the maximum view = current view
4. launch Print current view - then cancel the print dialog and compare the result with your "current view".

Admin
Andrew commented on 28.09.2017 07:53

I did test this and it seems to work fine here.

Let's say a user views their drawing as shown in screen.png.

My interpretation of "print current view" is:
Print everything in the current view, without cutting anything off. If screen and paper ration don't match, print more around the edges to account for it but never cut anything off (print_current_view_without_cut_off.png).

Your interpretation of "print current view" is:
Print the current view as large as possible to fill the entire paper and cut off parts of what is visible in the current view to account for the difference in ratio (print_current_view_with_cut_off.png).

Their both legitimate interpretations, but I do think that the first one is more on the cautious side (better print too much than cutting anything off).

Husky commented on 28.09.2017 18:08

Ok - I understand your point of view and agree. :-)

Admin
Andrew commented on 28.09.2017 19:21

OK, great thanks :)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing