aMSN Forums
May 23, 2013, 03:55:13 pm *
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: [REV 10929] Received msg sound playing when message is sent  (Read 3944 times)
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« on: February 01, 2009, 05:36:27 pm »

Dunno if this is a general issue or just windows or if i just have managed to change some settings somewhere. Tongue

However, It's quite an annoyance that whenever i send a message the sound that usually just plays when i receive a message plays.
Haven't done anything special more than just updating to the latest rev.
Logged

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

Posts: 2464


View Profile
« Reply #1 on: February 01, 2009, 07:08:04 pm »

Hi, can you find the exact SVN revision that caused this? Binary search between the current one and one that was known to work correctly. Thanx
Logged
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #2 on: February 01, 2009, 07:21:26 pm »

Sure. I'll take a look to see if i can find where it first occurs.
Logged

Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #3 on: February 01, 2009, 07:43:19 pm »

It's the changes in chatwindow.tcl that causes this...
Revision where that file was updated is 10910. No changes have been made to that file after that.

Using a chatwindow.tcl prior to that does not cause this problem.
The cause is the removal of:
Code:

if { [::MSN::usersInChat $chatid] == $chatid } {
set usr_name $chatid
}


Wich if I'm not totally mistaken screws up this test?

Code:

if { $new_window == 1 || [::config::getKey sound_on_first_message 0] == 0 } {
#If no focus, and it's a message event, do something to the window
if { (([::config::getKey soundactive] == "1" && $usr_name != [::config::getKey login]) || \
 [string first ${win_name} [focus]] != 0) && ($msg != "" || [::config::getKey sound_on_first_message 0] == 1)} {
play_sound type.wav
}

      }
Logged

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

Posts: 2464


View Profile
« Reply #4 on: February 02, 2009, 12:22:41 am »

Right. Can you update svn and retry please? Smiley
Logged
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #5 on: February 02, 2009, 06:42:25 pm »

Quote from: "vivia"
Right. Can you update svn and retry please? Smiley

Works!
Logged

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

Posts: 2464


View Profile
« Reply #6 on: February 02, 2009, 10:15:23 pm »

Great! Thanks for finding it out!
Logged
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #7 on: February 03, 2009, 12:21:42 pm »

Quote from: "vivia"
Great! Thanks for finding it out!

Happy to help in any way i can Smiley
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!