https://bugs.kde.org/show_bug.cgi?id=406463

Elvis Angelaccio <elvis.angelac...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elvis.angelac...@kde.org

--- Comment #8 from Elvis Angelaccio <elvis.angelac...@kde.org> ---
(In reply to Christoph Feck from comment #4)
> It is a division by zero. With certain sizes, the "scale" variable can be
> zero, and I suggest to modify the code to use floats.
> 
> https://cgit.kde.org/kdegraphics-thumbnailers.git/tree/ps/gscreator.cpp#n276

I took the liberty to push a different fix. I tried to use floats and while it
stopped crashing, it still wouldn't get a thumbnail out of the attached file. I
then looked at the rest of the code and I gave up. Not easy at all to refactor
it with floats.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to