-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AccountsService set icon not working for avatar larger than 1MB #14
Comments
I've not seen this. Is the 96x96 file restriction documented somewhere, or is this a problem with Mugshot itself? |
@1earch Just following up here... do you have a link to this documented requirement? |
Hi @bluesabre, Sorry for the delay! Totally missed out the last notification! Here are the steps to reproduce, in order to see AccountsService error:
|
Just found the limitation here: https://github.com/freedesktop/accountsservice/blob/0247dd0359df854768c21e6d5a49d35d6be563ae/src/user.c#L1784 There is an artificial limit of 1MB |
I also found this thread, indicating that the bug was fixed, but I still get it with 0.4.3 |
Hello,
When selecting a custom avatar larger than 96x96, it is not applied on behalf of AccountsService. Would it be possible to add a warning message? In addition, it could be great that the script performs an automatic resize after warning the user.
I can work on a PR if needed... In this case, do you have a preference on the image manipulation lib?
The text was updated successfully, but these errors were encountered: