diff --git a/deluge/ui/gtk3/common.py b/deluge/ui/gtk3/common.py index 7dd043f1d..42a14b407 100644 --- a/deluge/ui/gtk3/common.py +++ b/deluge/ui/gtk3/common.py @@ -70,6 +70,11 @@ def get_pixbuf(filename: str, size: int = 0) -> Pixbuf: A newly created pixbuf """ + # Skip ico and gif that cause Pixbuf crash on Windows + # https://dev.deluge-torrent.org/ticket/3501 + if windows_check() and filename.endswith(('.ico', '.gif')): + return create_blank_pixbuf(size) + if not os.path.isabs(filename): filename = get_pixmap(filename)