Johnathan James reported this bug (and provided a fix as well) on the dev list. This is just to document the issue and the fix.
Email from Johnathan on Aug 25:
I have been trying to work with the source this weekend to fix a bug that
has been bugging me. Basically, if you open a new Session from the Aliases
window, then CTRL-N to create a new window, if you press ALT-ForwardArrow,
usually the focus will remain in the second window, when it should have
moved to the second. So if you type, it will affect the window just hidden,
not the one you just made visible.
Email from Johnathan on Aug 26:
I was on JDK 1.5.09 this morning, but I have since upgraded and rebuilt the project under JDK 1.6.0-b105. I am running Ubuntu.
I am still able to reproduce the error.
1. Open a session from the Aliases window.
2. Hit Ctrl-N. You should have two session windows.
3. Hit Alt-RightArrow. The cursor's focus should be in the first window you opened.
4. Hit Alt-RightArrow again, cursor focus will be in the second window.
5. Hit Alt-RightArrow again, cursor focus will still be in the second window.
Email from Johnathan on Aug 31:
In that case, in order to fix the bug that I was referring to earlier, all that is necessary is to remove the internalFrameActivated() method from the internalFrameListener() added in the createGUI() method of the class SessionInternalFrame. It seems the Java bug that necessitated that method, has been fixed as of at least Java 1.5.
Log in to post a comment.