Kayako logo
LiveResponse Desktop Application Discussion, troubleshooting and feedback for LiveResponse Desktop Application for Microsoft Windows.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
SupportSuite stealing focus - 24-04-2007, 04:58 PM

In a previous thread I indicated that SyncWorks was stealing focus from my other Windows applications... apparently the culprit is actually SupportSuite.

I am running IE7 on XP Pro SP2.

I've confirmed that it's SupportSuite because when the focus is stolen and keys are pressed... the keys end up in the SupportSuite application. When the focus is stolen, SupportSuite is on the View All Tickets page.

Is this a known bug... a bug with IE7... or hopefully something that's already been corrected?

Thanks,
Cliff.
   
Reply With Quote
  (#2) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 08:50 PM

Dear Cliff,

I think that it is more to do with the fact that the ticket view is refreshing every so often. Your browser automatically pulls up the window to full screen when it happens.

I had this problem when my to-do list would auto refresh. In FireFox there was a setting in about:config I changed to stop it doing it (can't remember which one it was) but not sure if there is such a setting in IE. Leave it with me though, I'll have a hunt for you.

Best Regards,
Craig Brass


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#3) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
Not IE problem - 24-04-2007, 09:25 PM

Thanks for the response... but this is not an IE problem... as a test I created a web page http://www.cliffordhelsel.com/test.html which refreshes every 5 seconds. I put the page in the background and the focus is NEVER stolen whether the browser is visible, not visible or minimized.

The problem is with SupportSuite unfortunately.

Also, using Firefox does not solve the problem with SupportSuite as SS uses IE internally. Also, I don't see the point of having multiple browsers other than for development and testing purposes... I've not once come across a useful site that didn't work in IE... the same can not be said for Firefox.

Cliff.
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 09:38 PM

The point of using FireFox is that it is a more secure browser than IE and security holes are fixed within days rather than months.

With regards to the problem, after re-reading what you initially said, are you saying that if the window is minimised and you press a key on your keyboard, it opens the Kayako window or are you saying every time the window refreshes it launches up the window on the screen out of its minimised state?


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#5) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
24-04-2007, 10:00 PM

Let's say I have SupportSuite minimized to the system tray with Ticket list refresh turned on and set to 10 minutes. Now, if I'm happily typing away in Word, or for that matter Notepad the focus will get 'stolen' and put to SupportSuite... this was driving me nuts for awhile thinking I had some type of spyware on my system... it was only when I received a JavaScript error from SupportSuite that I figured out that SS was the culprit and stealing focus.

Regarding, FF vs IE security... I think the security issue is a non-issue for people that visit 'normal' websites... but if you visit pron and warez sites then I guess FF might be more secure... but hey, Lynx is even MORE secure :-)

Seriously though, I appreciate your assistance... I just get tired of supporting Firefox as the Firefox debugger is absolutely painful once you get used to using Visual Studio with IE.
   
Reply With Quote
  (#6) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
24-04-2007, 10:16 PM

Ah right. I think I got it. Kayako refreshes using AJAX. This is the same as my old task manager (Task Freak) did and that caused this problem.

Standard HTML header refresh does not do this.

So, it is actually the browsers at fault rather than Kayako...


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#7) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
25-04-2007, 01:02 AM

Kayako is not using Ajax to refresh the Ticket display... if it was then there wouldn't be a page refresh :-) That's the point of Ajax.

If Ajax applications in Internet Explorer were stealing focus then I think we all would have heard about it by now. The problem is with SupportSuite and IE7... this problem did not happen with IE6.

To confirm that Ajax is NOT the problem you can use a Gmail account and leave it showing your inbox... now minimize gmail and use another email account/program (Outllok) to send a message to Gmail... Gmail will happily retrieve the new message, using Ajax, all without causing the browser to steal focus.

If anyone has a simpler Ajax example let me know... I'm a little to busy to code my own right now.
   
Reply With Quote
  (#8) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
25-04-2007, 07:43 AM

So how is it refreshing then? There is no standard HTML head page refresh in there...


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#9) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
25-04-2007, 02:04 PM

Kayako uses this function on a timeout thread:

function refreshPage() {
//window.location.reload(true);
window.location.href = swiftpath+"staff/index.php?_m=tickets&_a=manage";
}

All that function does is a whole page reload...
   
Reply With Quote
  (#10) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
25-04-2007, 06:34 PM

Ok, after doing some digging, the stealing focus is just something that happens with this type of refresh.

If you install http://www.microsoft.com/windowsxp/d...powertoys.mspx there is a setting that says "prevent applications from stealing focus" which you can enable to stop this.

Hope this helps.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#11) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
25-04-2007, 07:38 PM

I modified my test.html to use a setTimeout and window.location.href call to refresh the page... this does NOT cause IE to grab the focus. You can test it here at http://www.cliffordhelsel.com/test.html

I appreciate the tip on "preventing applications from stealing focus", however, this remains a BUG in SupportSuite. I should not have to make a system-wide registry modification to keep Kayako well behaved... by enabling "prevent applications from stealing focus" I will no longer receive critical notifications from applications that I DO want to steal focus.

This is a bug with Kayako. Just because there is a workaround for some people does not mean that the problem is fixed.
   
Reply With Quote
  (#12) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
25-04-2007, 07:54 PM

The Powertoy does not provide a workaround. I tried it and Kayako is still taking the focus...
   
Reply With Quote
  (#13) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,451
Join Date: Jan 2006
Location: United Kingdom
25-04-2007, 08:10 PM

I cannot get my IE7 to steal focus here


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#14) Old
chelsel Offline
Member
 
Posts: 138
Join Date: Apr 2006
25-04-2007, 11:42 PM

Well, IE7 does NOT steal focus... only the fact that when IE7 is installed that SupportSuite will steal focus when it is minimized to the system tray.
   
Reply With Quote
  (#15) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
26-04-2007, 08:04 AM

Just a note, I cannot get it to steal focus either. I have tried IE6, IE7 and FF2. I have had it happen in the past as I said in an earlier reply but not in Kayako. It really does suggest it is a setting somewhere in XP that causes this to happen.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
focus, stealing, supportsuite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47