Seamless applications fails to minimize. Citrix applications always takes precedence over local applications. In order to view local applications, Citrix applications have to be completely minimised.
Traces show a very high value of Foreground Lock TImeout:
Unable to set window 0x20030 as the foreground window. [ nForegroundLockTimeout=15724612 milliseconds ]
The value of ForegroundLockTimeout by default it should be 20000.