Review Request: Limit size of preview image in resource item chooser

Sven Langkamp sven.langkamp at gmail.com
Sat Aug 4 22:52:52 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105865/
-----------------------------------------------------------

Review request for Calligra.


Description
-------

The patch set the size of the preview image to have 4 times the width and height of the preview area. Before that it could get have four times the width and height of the pattern, which could get really big and freeze the application.


This addresses bug 299573.
    http://bugs.kde.org/show_bug.cgi?id=299573


Diffs
-----

  libs/widgets/KoResourceItemChooser.cpp 933652c 

Diff: http://git.reviewboard.kde.org/r/105865/diff/


Testing
-------

Tested with 2000x2000 pattern and no freeze anymore.


Thanks,

Sven Langkamp

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


More information about the calligra-devel mailing list