Build 1138 still stealing focus away from other apps

Hi,

As the subject says, during certain operations, IDEA as of build 1138 is
still stealing focus away from other applications. It seems to happen
when loading a project and at the end of an Ant build.

Just a suggestion to the IJ guys... Are you using
Component.requestFocus() or Component.requestFocusInWindow()? The
Javadoc for requestFocus() specifically says that the Component's
top-level ancestor becomes the focused Window -- i.e. it can steal focus
from another window. It also says that because the behaviour is
platform-dependent they strong recommend that requestFocusInWindow() is
used instead.

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html#requestFocus()
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Component.html#requestFocusInWindow()

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919

0

1 (or 1 or what, don't know what it means, but everyone else always write this to show their support - I think :)

Gordon, there have been many complaints about this, and several suggestions on how to solve it. A search through the JDK source reveals several other potential sources for this unfortunate behavior.

The last response from JetBrains on this issue was that 4.0 will ship with the unfortunate focus-stealing bug. They hope to be able to solve it in one of the minor updates planned to follow the initial 4.0 release.

We're all waiting eagerly for a solution. It probably a lot easier to fix than they might expect, but they seem to have down-prioritized the matter to get the initial 4.0 release out of the way.

Best regards,
Lars Ugleberg

0

It's really bad when IntelliJ updates from a series of externally modified
Jars. Then for every jar you get a dialog with a progress bar that steals
the focus (so for 20 jars you have to wait a long time, between 30 and 60
seconds and your computer is pretty much paralized in this time frame).

Amnon
"Lars Ugleberg" <larugl@hotmail.com> wrote in message
news:6852923.1075916213246.JavaMail.itn@is.intellij.net...

1 (or 1 or what, don't know what it means, but everyone else always

write this to show their support - I think :)
>

Gordon, there have been many complaints about this, and several

suggestions on how to solve it. A search through the JDK source reveals
several other potential sources for this unfortunate behavior.
>

The last response from JetBrains on this issue was that 4.0 will ship with

the unfortunate focus-stealing bug. They hope to be able to solve it in one
of the minor updates planned to follow the initial 4.0 release.
>

We're all waiting eagerly for a solution. It probably a lot easier to fix

than they might expect, but they seem to have down-prioritized the matter to
get the initial 4.0 release out of the way.
>

Best regards,
Lars Ugleberg



0

This is IDEA's most annoying behavior, and it's been this way forever.
It's got to get fixed.

Amnon I. Govrin wrote:

It's really bad when IntelliJ updates from a series of externally modified
Jars. Then for every jar you get a dialog with a progress bar that steals
the focus (so for 20 jars you have to wait a long time, between 30 and 60
seconds and your computer is pretty much paralized in this time frame).

Amnon
"Lars Ugleberg" <larugl@hotmail.com> wrote in message
news:6852923.1075916213246.JavaMail.itn@is.intellij.net...

>>1 (or 1 or what, don't know what it means, but everyone else always


write this to show their support - I think :)

>>Gordon, there have been many complaints about this, and several


suggestions on how to solve it. A search through the JDK source reveals
several other potential sources for this unfortunate behavior.

>>The last response from JetBrains on this issue was that 4.0 will ship with


the unfortunate focus-stealing bug. They hope to be able to solve it in one
of the minor updates planned to follow the initial 4.0 release.

>>We're all waiting eagerly for a solution. It probably a lot easier to fix


than they might expect, but they seem to have down-prioritized the matter to
get the initial 4.0 release out of the way.

>>Best regards,
>>Lars Ugleberg


0

I agree. A bunch of people at work are complaining about this behavior.

Please re-evaluate fixing this bug for 4.0

Jacques

0

I agree too.

This behaviour has been a pet hate of mine for a long time now.

0

请先登录再写评论。