Add preference option to disable file previews
Please first check if another issue has been opened for your problem
Ref #10989 (closed)
I still want options to limit maximum image pixels and to disable image preview!
Versions
- OS: Linux
- Gajim version:
1.4.3
- GTK version:
3.24.34
- Python-nbxmpp version:
3.1.0
Steps to reproduce the problem
- Get smaller png bomb, that will actually bypass exception.
Here's an archive with image. - Send a bunch of them to http upload in chat to yourself.
- Remove downloads cache.
- Restart client.
- Open chat to yourself.
Expected behavior
Preview generation should be done in another thread.
Actual behavior
- GUI becomes unresponsive until all images are processed.
- RSS memory can grow up to 2GB.