Version: unspecified (using KDE 4.7.0) OS: Linux KDE Telepathy contact list does not enforce avatar constraints e.g. allows for a REALLY big image to be set as avatar. This leads to e.g. current version of Gabble disconnecting shortly after connecting. Reproducible: Always Steps to Reproduce: Set a really BIG image as avatar Actual Results: All XMPP accounts disconnect (partly due to the bug in Gabble) Expected Results: Too big an avatar should not be set As it has already been discussed on IRC, this problem is as much KDE Telepathy's fault (not checking for avatar size) as it is Telepathy Gabble's fault (not enforcing avatar size). The problem should be fixed on both ends.
Relevant: http://telepathy.freedesktop.org/doc/telepathy-qt4/a00050.html
This is now in the accounts-KCM. moving bug.
Did anyone report a bug upstream about this? Gabble should not crash even if he cannot handle the large image... Anyway I cannot reproduce the bug, how "big" is your picture?
Git commit aa2beddbfa05ed68af71f3ccbf0685e622670da7 by Dan Vrátil. Committed on 10/06/2013 at 11:56. Pushed by dvratil into branch 'master'. Add UI to enforce avatar size restrictions Add code to Accounts KCM that will allow users to crop avatar and will scale it down to maximum size allowed by server (or to some reasonable values if server/gabble does not report avatarRequirements()) REVIEW: 110929 FIXED-IN: 0.7.0 M +0 -1 src/CMakeLists.txt M +1 -0 src/account-identity-dialog.cpp M +115 -24 src/avatar-button.cpp M +6 -1 src/avatar-button.h D +0 -113 src/fetch-avatar-job.cpp D +0 -51 src/fetch-avatar-job.h M +1 -0 src/kcm-telepathy-accounts.cpp http://commits.kde.org/telepathy-accounts-kcm/aa2beddbfa05ed68af71f3ccbf0685e622670da7