Focus Issues
Dino Klein
zagzag-lists at speakeasy.net
Wed Dec 7 00:41:29 MET 2005
Per Allansson wrote:
>
>
> Dino Klein wrote:
>> Hi,
>>
>> I'm using version 3.0, and I've noticed some focus issues on Windows
>> and Linux. (btw, I'm using JDK 1.5.0_05)
>>
>> (1) On Window, when Mindterm has the focus, and I hit Alt-Tab quickly
>> (release Alt pretty fast) to switch to another application, Mindterm
>> will grab back the focus; this issue doesn't occour on Linux, and I
>> think it has to do with the menu, since pressing Alt in Windows will
>> get you to the menu, while in Linux it won't. One way to avoid this
>> problem is to hold the Alt key a little longer, as if to give the
>> application some time to "understand" that you really want to switch
>> to another window, and not access the menu.
>
> I cannot repeat this one, probably because of timing. Anyway, when using
> JRE
> 1.5(0_05) there is no special handling for the ALT key - so I cannot see
> that
> this bug is MindTerm-specific - it is more likely a problem with the JRE
> itself.
>
I'm sorry, the behavior actually occurs when switching between two MindTerm windows.
First run Mindterm, then create another window via New Terminal, or Clone Terminal; then
make sure that a single Alt-Tab will switch between windows (no other applications in
between requiring extra "tab" clicks). Then perform an alt-tab quickly; do it several
times and you should see what I mean when I say that the active window is retaining focus.
When doing a quick alt-tab between a Mindterm window and another application there is
no problem.
>>
>> (2) When using the GUI in Fedora Core, I have access to 4 virtual
>> desktops/workspaces. Assume I have on desktop #1 a Mindterm window and
>> some other window; furthermore, Mindterm is minimized, while the other
>> window is visible and has the focus. I then proceed to switch to
>> desktop #2, and then return to desktop #1. Upon returning, Mindterm
>> will grab the focus, even though it is minimized; the expected
>> behavior is that the application which had the focus, is the one that
>> receives the focus (tested with other apps).
>
> Well, I don't have Fedora, and I cannot repeat this on my Linux machine,
> using Slackware 10.1 and the fluxbox windows manager. It is a very strange
> behaviour, and it is not really possible to grab the focus in that way from
> Java - so it is probably something which is related to the window manager
> you are using. Which one is it?
>
I'm quite not sure - it's the default Gnome desktop, and the only process in the system
that comes close to a window manager is the gnome-session process.
More information about the Mindterm-users
mailing list