Consultor Eletrônico



Kbase P97792: Citrix MetaFrame seamless desktop applies focus to the wrong Progress application window.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   08/11/2005
Status: Unverified

SYMPTOM(s):

Citrix MetaFrame seamless desktop applies focus to the wrong Progress application window.

Two Progress application windows are running in separate session.

One of the windows is behind a non-Progress application.

The other window is on the foreground.

Clicking on the foreground window causes window that is behind the non-Progress application to be brought into the foreground

The problem does not occur when the clients are running through Terminal Service (Remote Desktop Connection).

The problem occurs when the clients are running in CITRIX seamless desktop only.

CAUSE:

This is standard Windows behavior. When a new window is launched and the calling window is minimized, Windows tries to find another window to apply focus to (to show as the "active" window). There is a split second between the calling window being minimized and the called window being realized. Because of that, and because the Citrix seamless session can't see the Windows desktop to see what other windows are available to apply focus to, it checks to see if there is another window open (in the same Citrix seamless session) and if so it applies focus to it.

FIX:

A solution is to minimize the parent (calling) window from within the child (called) window using code similar to:
ASSIGN
ParentWindow:HIDDEN = TRUE
ParentWindow:WINDOW-STATE = WINDOW-MINIMIZED.