Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS Server: Rectangles are not printed to PDF with getPrint command #16232

Closed
qgib opened this issue Feb 19, 2013 · 3 comments
Closed

QGIS Server: Rectangles are not printed to PDF with getPrint command #16232

qgib opened this issue Feb 19, 2013 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Feb 19, 2013

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 7181
Affected QGIS version: master


This may be some side-effect of some of the recent changes in the print composer.

If you draw a rectangle in the print composer it is not correctly output with the getPrint command in QGIS server of current master. It works from QGIS desktop when you output it to PDF, but not from QGIS server with the GetPrint command.

It still works with version dd1bb45 from eight days ago (2013-02-11) but not with current master from 2013-02-19.

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2013

Author Name: Andreas Neumann (@andreasneumann)


I believe that the rectangle is drawn, but the border, which was previously black is now white and therefore I did not see it on the white background.

It seems that something changed in the way that the stroke-color was defined.

I also discovered that previously, basic shapes (like rects, ellipses, triangles) had their own fill and stroke settings - and now these settings are gone and we just have "Frame" and "Background". The problem may have to do with this change. I am not entirely sure if this is good or bad.

Seems this is more a migration bug than a real bug. Once I re-define the stroke-color the rectangles are correclty printed into the PDF - also on QGIS server. The problem is that I now have about 30 QGIS projects and each has 4-6 layouts - so this means I would have to manually migrate up to 180 layouts - which is a lot of work.

@qgib
Copy link
Contributor Author

qgib commented May 25, 2013

Author Name: Nathan Woodrow (@NathanW2)


  • assigned_to_id removed Nathan Woodrow

@qgib
Copy link
Contributor Author

qgib commented May 27, 2013

Author Name: Andreas Neumann (@andreasneumann)


I don't care about this anymore. I have "migrated" all of my projects to the current version.


  • resolution was changed from to wontfix
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority
Projects
None yet
Development

No branches or pull requests

1 participant