Originally created by: josmasfl...@gmail.com
Originally owned by: josmasfl...@gmail.com
The default behaviour in Linux/Windows is that the client starts up and the main window has the focus, so the avatar can be controlled straight away.
In mac, the SIP communicator window grabs the focus from the main client, so the main window has to be clicked in order to move the avatar.
In other platforms the softphone does not create a window.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: josmasfl...@gmail.com
Comments from issue 92:
executing the process in a headless way makes the softphone crash. It can be done by adding the flag:
java -Djava.awt.headless=true
source (with further link to more elaborate info): http://zzamboni.org/brt/2007/12/07/disable-dock-icon-for-java-programs-in-mac-osx-howto/index.html
The code to start the softphone is here:
https://code.google.com/p/openwonderland/source/browse/trunk/core/src/classes/org/jdesktop/wonderland/client/softphone/SoftphoneControlImpl.java#271
Feel free to add the java.awt.headless property and see if it works. My only concern is whether you can turn off the headless option, for example when we use tools->audio->show softphone. If not, it looks like startSoftphone() waits until the softphone process is started. So presumably you could find where that is called (probably in audio-manager), and after it returns, grab focus back to the main screen.
No luck with the flag. It crashes the softphone on startup. and it seems that making it headless friendly is somehow rather involved. http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
Related
Tickets:
#92