another oddity with the new launcher

Hi

I have a problem that only occurs with 807's new launcher.

We have some JNI code that calls down into a Windows DLL. This DLL displays
an MFC dialog to collect some information about logging.

Prior to 807 this dialog either appeared in front of idea or ended up just
behind it because of IDEA getting focus again. Not a problem.

In 807 the dialog is not displayed and does not appear in the taskbar.

It's icon can be seen when ALT-TAB'ing but the actual dialog can't be seen
but is there.

If I use the hot keys for the dialog's screen I can get it to continue
execution.

Has anyone else seen anything like this?

regards

kevin


2 comments

Just an idea: try to run IDEA from batch, so the console window is
visible.

Tom


"Kevin O'Regan" <koregan@baltimore.com..> schrieb:

>Hi
>
>I have a problem that only occurs with 807's new launcher.
>
>We have some JNI code that calls down into a Windows DLL. This DLL displays
>an MFC dialog to collect some information about logging.
>
>Prior to 807 this dialog either appeared in front of idea or ended up just
>behind it because of IDEA getting focus again. Not a problem.
>
>In 807 the dialog is not displayed and does not appear in the taskbar.
>
>It's icon can be seen when ALT-TAB'ing but the actual dialog can't be seen
>but is there.
>
>If I use the hot keys for the dialog's screen I can get it to continue
>execution.
>
>Has anyone else seen anything like this?
>
>regards
>
>kevin
>

0

Hi,
Let me clarify on this. The new launcher starts java in hidden console. This
console is needed to catch Ctrl-Break signal and dump the threads' state.
Without having a console JVM does not handle the signal. On the other hand
starting a process with visible console would have been probably too
confusable.
The problem with starting your code from Idea is probably that you use the
handle of process main window, which is invisible to present your dialog. I
think the right solution to the problem is to somehow get the handle of
visible parent window.
Best regards,
Evgueny

"Kevin O'Regan" <koregan@baltimore.com..> wrote in message
news:b5us31$lla$1@is.intellij.net...

Hi

>

I have a problem that only occurs with 807's new launcher.

>

We have some JNI code that calls down into a Windows DLL. This DLL

displays

an MFC dialog to collect some information about logging.

>

Prior to 807 this dialog either appeared in front of idea or ended up just
behind it because of IDEA getting focus again. Not a problem.

>

In 807 the dialog is not displayed and does not appear in the taskbar.

>

It's icon can be seen when ALT-TAB'ing but the actual dialog can't be seen
but is there.

>

If I use the hot keys for the dialog's screen I can get it to continue
execution.

>

Has anyone else seen anything like this?

>

regards

>

kevin

>
>


0

Please sign in to leave a comment.