What is the default canvas size when QGIS is invoked in Travis - in other
words, when QGIS is run for the first time after installation on Ubuntu? I
have tests for qgis2web, but if I do:

mapCanvas().setExtent(layer.extent())

I get different values for the bounds of the canvas extent in the Travis
test compared to my workstation. The test is invoked with the following
screen size:

xvfb-run --server-args="-screen 0, 1024x768x24"

So, how can I match my desktop environment to get the same canvas bounds
that Travis gets?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Matching-canvas-dimensions-on-workstation-to-Travis-environment-tp5237237.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to