Review Request 121388: Remove rounding for pixels in KoUnit

Camilla Boemann cbr at boemann.dk
Mon Dec 8 13:32:31 GMT 2014


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


as i don't believe anyone but krita uses it i have no objection from global pov.


but (in krita) are you sure  dialogs that give fractional pixel values makes sense to a user?

- Camilla Boemann


On Dec. 8, 2014, 1:17 p.m., Dmitry Kazakov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121388/
> -----------------------------------------------------------
> 
> (Updated Dec. 8, 2014, 1:17 p.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> Rounding in KoUnit makes it impossible for a user to position a shape precisely. 
> 
> I'm not sure why this rounding was added but it seems to be a bit inconsistens with the rest of the KoUnit codedabe. The rest of the functions like ptToUnit() and convertFromUnitToUnit() know nothing about rounding.
> 
> 
> Diffs
> -----
> 
>   libs/odf/KoUnit.cpp 191ae0c 
>   libs/widgets/KoUnitDoubleSpinBox.cpp 9c8af44 
> 
> Diff: https://git.reviewboard.kde.org/r/121388/diff/
> 
> 
> Testing
> -------
> 
> Tested in Krita
> 
> 
> Thanks,
> 
> Dmitry Kazakov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20141208/55c34dc3/attachment.htm>


More information about the calligra-devel mailing list