SPSVGView works with incorrect scale factor

Bug #770595 reported by Thinker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I am using SPSVGView to implement something. But, it does not work. After some inspection, I found if I load a document with SPSVGSPViewWidget and change width and height of the document later, the scale facto, _hscale and _vscale, of SPSVGView will be set to given width and height. I think it should change _width and _height of SPSVGView instead of _hscale and _vscale. After some digging, I think SPSVGView::onDocumentResized() should be change to stop calling setScale(), and call setRescale() instead. Am I right?

Tags: inkview
Revision history for this message
Thinker (thinker) wrote :
su_v (suv-lp)
tags: added: inkview
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.