In regards to Issue 530 (https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=530), where the dialpad does not hide when the dialpad button is clicked, I have been testing a possible solution but I'm not comfortable that it's the best/'right' way to fix the problem so I'd like some feedback before I commit it.
Basically, there's two competing listeners (one for the button being pressed and one for the dialpad losing focus), so that when the dial button is pressed, one handler hides the dialpad and the other immediately brings it back. So I have added a new mouse listener to remove the dialpad focus listener whenever the mouse is over the dialpad button (and add it back when the mouse leaves). This allows the event listener on the dial button to do its job without interference.
Note: This effects the call dialog as well as the call panel on the main window.
Please see the attached patch file. Thanks!
530_hide_dialpad_v6.patch (4.53 KB)