IM Contacts window steals focus from IM Message window

Last post 02-09-2007, 3:12 AM by nimit. 4 replies.
Sort Posts: Previous Next
  •  01-30-2007, 12:58 AM 26260

    IM Contacts window steals focus from IM Message window

    I just deployed Messenger on my site and my testers right away noticed a very annoying issue where the window which lists Conversations, Online, Offline, and Blocked frequently takes the focus from the window where the user is involved in a message session. This results in someone believing they are typing a message to a contact only to notice at some point that the other window took focus back and everything they typed since focus was lost is gone.
     
    Is there a fix available for this? I can't expect my users to click back in the text box everytime they want to type something....it is common practice among users to assume that once they place focus in a given area it will remain there until they choose to click elsewhere. It appears the problem may be tied to when the window gets refreshed because the other user has started typing something....though I could be wrong because we have not yet extensively tested for this.
     
    Thanks!
     
    Chris
  •  01-30-2007, 9:42 AM 26268 in reply to 26260

    Re: IM Contacts window steals focus from IM Message window

    Chris,
     
    While you are testing, is the current user and the target user in the same machine?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-31-2007, 10:01 AM 26307 in reply to 26268

    Re: IM Contacts window steals focus from IM Message window

    nope, I tried that once and saw it would only open 1 IM window, which I wouldn't really consider an issue.
     
    This occurred when testing across 3 different machines and seems to occur when the IM window indicates the other user is typing a message. If this is the case then I don't think 1 window is taking focus from the other but rather that focus is being removed from the text window by the process that is providing the "user is typing" message.
     
    Let me know if there is any specific testing you'd like me to do on this.
     
    Thanks!
     
    Chris
  •  02-01-2007, 12:18 PM 26349 in reply to 26307

    Re: IM Contacts window steals focus from IM Message window

    We have integrated CuteCat Messenger in our application. The contacts part is integrated in the main window of our web application. Last week we upgraded from a sligtly later version to the current version. We are experiencing the same problem. When the user is typing a message and hits enter the contacts windows in comming to the front and the message window gets to the background. If AutoFocus is disabled this does not happen.
     
    The same problem could be observed in an erlier version and was fixed in the previous version. Now the bug is in again!
     
    Can this be fixed with a hot fix or do we have to go back to the previous version?
     
    The thread describing the problem mid of last year is here: http://cutesoft.net/forums/thread/20419.aspx
     
    Any help is appraicated.
    Philipp
  •  02-09-2007, 3:12 AM 26553 in reply to 26349

    Re: IM Contacts window loosing focus from message window is fixed

    Hello,
     
    Here I am using CuteChat Application version 3.0.
     
    I have fixed the problem of loosing focus from message window to buddy list.
     
    For fixing it use following code in CuteSoft_Client\CuteChat\ChatUI.js.aspx
    find the function ChatUI_FocusWindow() in above file.
     
    Before modification you find function like,
    function ChatUI_FocusWindow()
    {
       if( GetWindowIsFocus() ) return;
       if( ! ChatUI_GetAutoFocus() ) return;
       //alert(GetStackTrace());
       FocusWindow();
    }
     
    For fixing problem use following code,
    function ChatUI_FocusWindow()
    {
       //if( GetWindowIsFocus() ) return;
       //if( ! ChatUI_GetAutoFocus() ) return;
       //alert(GetStackTrace());
       //FocusWindow();
    }
     
     
View as RSS news feed in XML