After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652721 - FolksIndividual should prefer the largest avatar available
FolksIndividual should prefer the largest avatar available
Status: RESOLVED WONTFIX
Product: folks
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: gnome-3.6
Assigned To: folks-maint
folks-maint
Depends on: 650414
Blocks:
 
 
Reported: 2011-06-16 11:56 UTC by Travis Reitter
Modified: 2012-08-06 17:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Travis Reitter 2011-06-16 11:56:21 UTC
This should be good enough to consider their selection "stable" as well.
Comment 1 Travis Reitter 2011-08-01 18:39:31 UTC
Punting bugs that won't be fixed by Folks 0.6.0.
Comment 2 Travis Reitter 2011-08-23 16:21:35 UTC
(Setting target bugs for Folks 0.6.1. Search for this phrase to deal with bug mail spam.)
Comment 3 Raul Gutierrez Segales 2011-08-29 12:46:53 UTC
Didn't make this release; punting to 0.6.2.
Comment 4 Alexander Larsson 2011-09-01 18:27:49 UTC
I don't think this is right. If we always use the largest avatar then it might be impossible for an app such as contacts to set a different avatar, unless it happens to be larger that the largest avatar, or the largest avatar happens to have a writable avatar field. 

bug 657783 has more about this.
Comment 5 Philip Withnall 2011-09-01 18:59:06 UTC
Agreed, it would be best to use the avatar from the primary store if possible, and rank avatars by size after that.
Comment 6 Travis Reitter 2011-09-05 16:49:35 UTC
(Punting bugs to 0.6.4)
Comment 7 Philip Withnall 2011-09-13 22:57:22 UTC
I can't actually see an easy way to get the sizes of avatars (which are GLoadableIcons) without loading them (probably from disk) and calling gdk-pixbuf methods on them to get their dimensions. Even if we removed the gdk-pixbuf dependency by hackily comparing the avatars by file size, this seems fairly heavyweight.

If this is the only way to rank avatars by size, I think I'd prefer to not do it. If I'm missing a neat way to get their dimensions cheaply, please say so.

(Note: We now prefer avatars from writeable stores over those which aren't, as per bug #657783.)
Comment 8 Travis Reitter 2011-10-11 20:36:58 UTC
(mass bump to gnome-3.4 milestone in our new milestone scheme; search this string mass move bug mail)
Comment 9 Jeremy Whiting 2012-07-18 18:58:19 UTC
Didn't make gnome-3.4 release, punting to gnome-3.6 milestone
Comment 10 Jeremy Whiting 2012-07-25 22:20:35 UTC
Philip, Travis,

Because we already prefer avatars from writable stores as you said in Comment 7, do we still need to do anything with this bug? or is it basically solved by that fix?
Comment 11 Philip Withnall 2012-07-26 15:32:21 UTC
(In reply to comment #10)
> Philip, Travis,
> 
> Because we already prefer avatars from writable stores as you said in Comment
> 7, do we still need to do anything with this bug? or is it basically solved by
> that fix?

We still don’t rank avatars by size after ranking by persona store. As in comment #7 though, I can’t think of a way to efficiently do this. So unless someone else can, I guess we can close this as fixed.
Comment 12 Travis Reitter 2012-08-06 17:45:44 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Philip, Travis,
> > 
> > Because we already prefer avatars from writable stores as you said in Comment
> > 7, do we still need to do anything with this bug? or is it basically solved by
> > that fix?
> 
> We still don’t rank avatars by size after ranking by persona store. As in
> comment #7 though, I can’t think of a way to efficiently do this. So unless
> someone else can, I guess we can close this as fixed.

Seems like a WONTFIX more than a FIXED. Please change if you disagree.