Firstly, this fixesZooming an SVGs painting outside the image view, overlapping
the selection rectangle. in compare mode allowed the SVG to be painted outside its
Secondlyparent widget `SvgImageView`, it fixes the selection rectangle not painting properly wheneffectively overlapping the selection rect
fully zoomed in,which is drawn in `DocumentView::paint`. and sometimes still leaving a rect left over afterThis patch clips all painting
zooming back out.
The `update()` in `Svgdone by children of `AbstractImageView::onZoomChanged` is removed because now` to its own shape, therefore
it is unnecessary due to the `update()` in `DocumentView::slotZoomChanged`fixing the issue.
SVG bBefore:
{F5790186, size=full}
SVG aAfter:
{F5790283, size=full}
Raster before:
{F5790189, size=full}
{F5790190, size=full}
Raster after:
{F5790193, size=full}
{F5790194, size=full}