New chat window steals focus when Spark receives new message


I'm using 2.5.8 and 2.6.0 Beta 2 (first betas, with old skin) daily and i have never seen such behavior. But with the latest SVN version when Bring window to front is not enabled and Show toast popup is enabled. If you type in some other window and new messages arrives, then your current window loses focus. This happens only if toast popups are enabled. When not enabled, then new message just flashes in the taskbar and focus is not lost.




Walter Ebeling
February 9, 2013, 7:48 AM

The stealing problem is related to the 1.6. jre. It is not fixable in Spark (at leat to my knowledge). I would always recomment to use the Spark installation that includes the JRE. The JRE updates in the operation system may make sense for security updates of the Java browser runtime. For applications it is not a good practice to use the OS wide JRE. The JRE updates break applications very easy and it in common. As a side note: JRE 1.6.0_39 broke a commercial application at my company with high impact to operation. 1.6.0_25 and higher broke the feature that Spark can react to a system shutdown.

The resolution for Spark: Update the JRE included in the Spark full install to Java 7 and you are fine.

Chris Burcham
January 31, 2013, 2:17 AM

Be sure no other versions of Java are on the XP machines. The only way I was able to resolve the issue was by running Java 7 alone. If Java 6 gets reinstalled, the window focus breaks again.

Youngmin Kim
January 30, 2013, 12:25 PM

I installed Spark 2.6.3_12555(1/8/2013) with Java 7 on Windows XP Pro. XP Home. Windows 7 Pro.

On Windows 7 Pro, It doesn't steal focus from other apps when receiving new message.
But on Windows XP Home and Pro, Spark steals the focus from other apps like notepad, wordpad when receiving new message.

Is this issue already perfectly solved?
Do I have to do anthing more to solve this problem?

Chris Burcham
May 18, 2012, 2:57 PM

Ok, I tested a successful configuration. If I uninstall all java 6 and older versions, I can get it to not lose focus after installing the 2.7 beta. I'm going to do some testing with a small group before deploying the beta. I'll let you guys know how it goes. Thank you.

George Ashmore
May 2, 2012, 12:39 PM

I have had no issues with focus stealing since updating to Java 7 on my own builds. The current online version of the beta seems to balk at Java 7, however, my own build using innosetup doesn't seem to give me any problems.

Your pinned fields
Click on the next to a field label to start pinning.




Wolf P.