Division by zero in CropArea
Gajim version: 689e324e (current master)
Traceback (most recent call last):
File "/home/mjk/devel/gajim/gajim/gtk/avatar_selector.py", line 440, in _on_motion_notify
x_coord = int((event.x - self._image.x) / self._scale)
ZeroDivisionError: float division by zero
I was playing with DnD-ing avatars in workspace settings: tried to drop a non-image file, nothing unusual happened, I then looked at the terminal, and there was 7 of these tracebacks in a row, followed by the expected error of unrecognized image format. I am completely unsure if this is related to dropping non-images at all (the tracebacks could be from a bit earlier, there's no way to tell, as they lack timestamps), and I could not reproduce this anymore.