Astroua / CARTAvis

Deprecated Repository for CARTA project. Refer to:
https://github.com/cartavis/carta
GNU General Public License v2.0
2 stars 7 forks source link

Saving an image after setting the zoom level to something less than 1 #101

Closed jeffctaylor closed 9 years ago

jeffctaylor commented 9 years ago

[This is the same issue reported by Pavol in issue #94; I would just like to have it written up as a proper issue so that it can be referred to in a regression test in case it ever pops up again.]

The save image functionality behaves quite oddly once you actually interactively set the zoom level to something less than 1. At some point QImage of size 0x0 is created, which makes it impossible to paint to it, etc.

jeffctaylor commented 9 years ago

I have already fixed this in my own fork, so the fix will be included in my next pull request. I'm also working on a regression test for it.