aMSN Forums
May 25, 2013, 03:12:02 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Zoomed avatar pictures of some friends  (Read 2363 times)
shiva-x
Newbie

Offline Offline

Posts: 8


View Profile
« on: November 22, 2009, 11:23:58 pm »

Hi !

I'm using the latest svn of amsn. I have this problem with most of my friends' avatar : it appears too big. I have to manually set its size to default, which is quite annoying. No need to open a chat window : when I hover the mouse cursor over the contact on the list, I have exactly the same problem : size is set to "enormous".

Any idea how I could fix the problem ? I tried to search the forum with no luck  :?

Thanks in advance and keep the good work for this excellent MSN client !
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: November 23, 2009, 02:12:21 am »

Hi,
is this for all your contacts? some people can set a big display picture for themselves, amsn doesn't resize it, it just shows you what the other person sent.
Unless you installed a plugin that messes with the display picture.
Logged

KaKaRoTo
shiva-x
Newbie

Offline Offline

Posts: 8


View Profile
« Reply #2 on: November 23, 2009, 02:22:46 pm »

Hello,

No only for some contacts. And I'm pretty sure it's not their default avatar size because when I set picture size to default in the chat window, the picture becomes normal again.

I hadn't this behavior before I upgraded svn to some point (I dont remember which point).

I don't have a plugin enabled so it couln't be the cause of the problem ...   :?
Logged
BW
Super Power User
**
Offline Offline

Posts: 223


View Profile
« Reply #3 on: November 23, 2009, 03:30:42 pm »

hi shiva-x,

you could try a binary search (as described here) to identify the last revision in which it worked.
Logged
shiva-x
Newbie

Offline Offline

Posts: 8


View Profile
« Reply #4 on: November 23, 2009, 05:56:14 pm »

Hi !

I investigated the problem as described by BW. I noticed the bug appears on tag 11673. The only file that is modified here is gui.tcl.

I go to SVN tag 11672 then show diff with 11673 :
Code:

robert@robeee:~/amsn-svn/amsnold$ svn up -r 11672
À la révision 11672.
robert@robeee:~/amsn-svn/amsnold$ LANG=C;svn diff -r 11673
Index: gui.tcl
===================================================================
--- gui.tcl     (revision 11673)
+++ gui.tcl     (working copy)
@@ -332,7 +332,7 @@
                set urlregexps {
                        {\w+://[\%\/\$\*\~\,\!\'\#\.\@\+\-\=\?\;\:\^\&\_[:alnum:]]+}
                        {www\.[\%\/\$\*\~\,\!\'\#\.\@\+\-\=\?\;\:\^\&\_[:alnum:]]+}
-                       {(?:[\%\/\$\*\~\,\!\'\#\@\+\-\=\?\;\:\^\&\_[:alnum:]]+\.)+(?:[a-z]{1,3})}
+                       {[\%\/\$\*\~\,\!\'\#\.\@\+\-\=\?\;\:\^\&\_[:alnum:]]+\.(?:org|com|net)}
                        {spotify:(?:track|album|artist|search|playlist|user|radio):[^<>\s]+}
                }
        }

Hope it helps ...
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #5 on: November 23, 2009, 10:39:10 pm »

euhh... lol, the only change there is with the regular expression for detecting URLs when someone sends you a link in a chat... so it doesn't make sense...
anyways, I checked the code and there doesn't seem anywhere where we resize the display picture we receive..
when you select 'default' it means the default size so it forces it to be resized to 96x96.. try selecting "original", this should force it to redownload the display picture and you'll see the real size of the display picture...
Logged

KaKaRoTo
vivia
Administrator
Super Power User
*****
Offline Offline

Posts: 2464


View Profile
« Reply #6 on: November 24, 2009, 12:04:05 am »

Go to advanced preferences and enable the option to automatically resize pictures to default size, see if that fixes anything. It really sounds to me that something is broken in your configuration though... try moving away your settings directory before you start amsn... clearing your .amsn/username_at_domain/displaypic/cache directory...
Logged
shiva-x
Newbie

Offline Offline

Posts: 8


View Profile
« Reply #7 on: November 24, 2009, 06:39:04 pm »

Ok problem fixed :-) Thanks for your help kakaroto, BW and vivia !

I cleared the cache and forced to use default size for the displaypics. Now it works correctly.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!