Just noticed in version 4.3.5, when I do setZoomLevel(1.0) on a canvas instance it zooms to 100% in Krita, just like expected and documented, but when I retrieve the value I just set, zoomLevel() returns 3.3333333333336 instead (value seems to depends on the document dimensions), I had expected it to be 1.0 again.
I wonder if this is a bug or a feature I don’t understand and is this already known? A quick google search didn’t indicate that this is known issue or issue at all.
KoZoomHandler seems to take the zoomed in resolution for X and Y wich includes dpi, multipling it with 100 than dividing it by 100 again when it’s returnd (which looks strange) and again returns this to KoZoomManager which then only takes the X part and returns this as zoom level.
Edit: I just noticed both use KoZoomHandler internally but KoZoomHandler::zoom(), still looks strange to me.