Review Request 129922: Adding Fit to width

Aurélien Gâteau agateau at kde.org
Sun Mar 5 19:25:41 UTC 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129922/#review102725
-----------------------------------------------------------



I finally found the time to review your work. There is one annoying issue to fix before it can go in:

- enable the "Keep same zoom and position" option in the config dialog
- click on "Fit to width"
- open image A
- switch to image B, which does not require the same zoom to fit width => the zoom is not updated

- Aurélien Gâteau


On Feb. 28, 2017, 8:18 p.m., Eldin Gagulić wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129922/
> -----------------------------------------------------------
> 
> (Updated Feb. 28, 2017, 8:18 p.m.)
> 
> 
> Review request for Gwenview.
> 
> 
> Repository: gwenview
> 
> 
> Description
> -------
> 
> Hi,
> 
> I found it useful to have Fit to Width option for things I use gwenview for, so I added it.
> It's allmost completely copied code from Fit option, with few exceptions. If you think it will be useful add it.
> 
> P.S. I never contribute for KDE before.
> 
> 
> Diffs
> -----
> 
>   lib/documentview/abstractdocumentviewadapter.h 4fc9b135 
>   lib/documentview/abstractimageview.h f7dd32ea 
>   lib/documentview/abstractimageview.cpp f01b341d 
>   lib/documentview/documentview.h b9f436e0 
>   lib/documentview/documentview.cpp 28415d3b 
>   lib/documentview/documentviewcontroller.h 26e8f9c6 
>   lib/documentview/documentviewcontroller.cpp 40e29cbc 
>   lib/documentview/documentviewsynchronizer.h 0a7c9da2 
>   lib/documentview/documentviewsynchronizer.cpp 89b0b61f 
>   lib/documentview/rasterimageview.cpp 5c4f5514 
>   lib/documentview/rasterimageviewadapter.h b6221271 
>   lib/documentview/rasterimageviewadapter.cpp af9bbd46 
>   lib/documentview/svgviewadapter.h eae9a03a 
>   lib/documentview/svgviewadapter.cpp 5069b777 
>   lib/zoomwidget.h d5de70b9 
>   lib/zoomwidget.cpp cae63b6e 
> 
> Diff: https://git.reviewboard.kde.org/r/129922/diff/
> 
> 
> Testing
> -------
> 
> Compiles, runs. Tested with couple of raster and svg images.
> 
> 
> File Attachments
> ----------------
> 
> 0001-Add-Fit-to-width.patch
>   https://git.reviewboard.kde.org/media/uploaded/files/2017/02/28/54f7ef44-9866-4daf-85e8-3560a0accdc2__0001-Add-Fit-to-width.patch
> 0002-Add-Fit-to-width-2.patch
>   https://git.reviewboard.kde.org/media/uploaded/files/2017/02/28/c05b4935-525d-4bf7-aea4-0f6967358a25__0002-Add-Fit-to-width-2.patch
> 
> 
> Thanks,
> 
> Eldin Gagulić
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gwenview-devel/attachments/20170305/5776fc6c/attachment.html>


More information about the Gwenview-devel mailing list