Crusade against focus stealing

Answered

Hereby, I convoke all IDEA users out there to gather together, and let our frustration be heard. It's a battle against the thieves, against applications this focus-stealing application that is IDEA today.

Numerous SCR have been opened, and numerous posts have been made in this forum. Now, what do we need to do to make JetBrains hear us, and remove every single line of code that make IDEA steal focus from other applications? Am I the only one who's utterly annoyed by this behaviour?

One may argue, but I can't think of one single reason to allow IDEA to steal focus. It's annoying, period. If I don't have IDEA focused, It's because I'm busy doing something else and I don't want to see IDEA window.

So, here I go again, almost losing my hopes... please, IDEA... don't take my focus away, it's all I have! Be merciful, I beg thee!

83 comments
Comment actions Permalink

On 6/25/04 1:37 PM, in article cbhnbt$pnn$1@is.intellij.net, "Alex Oscherov"
<alex.oscherov@documentum.com> wrote:

I just felt watching this heated thread discussion that maybe some
some guys will be better served by just asking their doctors for prozac
prescription :)


Or ask their office to get them Macs :) (ok ok, no throwing tomatoes and
donuts now)

R

0
Comment actions Permalink

The real biggy is that you can't refactor a file that contains any
compilation errors. So for example if you simply haven't typed the semicolon
at the end of your current statement yet, you can't even rename a variable.
That's a MAJOR advantage for IDEA.

Vil.

Robert S. Sfeir wrote:

Refactorings IDEA Has Eclipse 3.0 doesn't have: (caveat, I am not an
Eclipse expert, this is by digging around Eclipse and looking for ways to do
these things)

Make Method Static
Convert To Instance Method
Safe Delete
Replace Method Code Duplicates
Use Interface Where Possible
Replace Inheritance With Delegation
Replace Constructor with Factory Method.

While this might seem minimal, these are major refactoring capabilities.
That said, they are indeed catching up!

R


On 6/25/04 4:03 AM, in article cbgmue$ir6$1@is.intellij.net, "Dmitry Lomov
(JetBrains)" <Dmitry.Lomov@jetbrains.com> wrote:

>>Robert S. Sfeir wrote:
>>
>>
>>>They still have 3 holes I think:
>>>...
>>>2- Refactoring is still not as good
>>
>>I will be much obliged if you present some examples :)
>>(For marketing purposes)
>>
>>
>>Cheers,
>>Dmitry



--
Vilya Harvey
vilya.harvey@digitalsteps.com / digital steps /
(W) +44 (0)1483 469 480
(M) +44 (0)7816 678 457 http://www.digitalsteps.com/

0
Comment actions Permalink

Marcus Brito wrote:

Hereby, I convoke all IDEA users out there to gather together, and let our frustration be heard. It's a battle against the thieves, against applications this focus-stealing application that is IDEA today.

Numerous SCR have been opened, and numerous posts have been made in this forum. Now, what do we need to do to make JetBrains hear us, and remove every single line of code that make IDEA steal focus from other applications? Am I the only one who's utterly annoyed by this behaviour?

One may argue, but I can't think of one single reason to allow IDEA to steal focus. It's annoying, period. If I don't have IDEA focused, It's because I'm busy doing something else and I don't want to see IDEA window.

So, here I go again, almost losing my hopes... please, IDEA... don't take my focus away, it's all I have! Be merciful, I beg thee!


Just to give you an idea of a personal user frustration; Kudos to IntelliJ for
making a great environment, but I recently realised I work more efficiently with
Eclipse (now) than Idea. The reason for this is first of all that I feel more
comfortable with Eclipse even though some operations are much smoother in Idea.

Comfort? How come? Because I, as a user, have put all my money on predictability
of interaction. In this respect, Idea really sucks big time; I know the issues
are relating to the libs of java and the imp. of swing and awt and all this crap...

Focus stealing is one thing that make me see red. Just as when spam or spyware
takes over my machine (for a second); jesus maria, I really see red when this
happens... so I stopped using it because its bad for my temper...


(Its still early in the morning)

0
Comment actions Permalink

For those who still think this is not a serious problem, here goes a quick exercise:

1. Open IDEA
2. Open the control panel (CTRLALTS)
3. Open the Paths dialog (1)
4. Select any module
5. Go to the Libraries tab
6. Select any library, and click on "Edit"
7. Click on "Attach Classes"

You probable got the point: I want lots of nested modal dialogs.

8. Now you got a urgent mail, and need to read it. Switch to your mail reader, or any other app, for that matter.
9. Now get back to IDEA, and try closing all the opened dialogs.
10. Get mad, and punch your monitor till it explodes.

I know this happens thanks to a bug in AWT. But I also know that this is annoying enough to deserve a workaround this freaking bug.

0
Comment actions Permalink

Marcus Brito wrote:

You probable got the point: I want lots of nested modal dialogs.

8. Now you got a urgent mail, and need to read it. Switch to your mail reader, or any other app, for that matter.
9. Now get back to IDEA, and try closing all the opened dialogs.
10. Get mad, and punch your monitor till it explodes.

I know this happens thanks to a bug in AWT. But I also know that this is annoying enough to deserve a workaround this freaking bug.


Sorry, but I don't see what the bug is? I followed your steps and I when
I switched back to IDEA, the last modal dialog that I had opened (Attach
Classes) was in the front. I just clicked cancel or the close button on
each dialog back to the IDEA editor. What's the problem?

This is on Windows 2000.

Ciao,
Gordon

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

0
Comment actions Permalink

I followed this example as well and do not see a problem.

0
Comment actions Permalink

Hmm... maybe this is a Linux only problem (maybe even a Gnome only problem -- kwin probably has enough focus-related hacks and workarounds). What happens is that every time you close a model dialog, the focus shifts back to the other window instead of IDEA.

0
Comment actions Permalink

Works just fine for me

windows XP Pro.

Mike

0
Comment actions Permalink

Marcus Brito wrote:

Hmm... maybe this is a Linux only problem (maybe even a Gnome only problem -- kwin probably has enough focus-related hacks and workarounds). What happens is that every time you close a model dialog, the focus shifts back to the other window instead of IDEA.


KDE 3.2.3 works fine (w. slighty tighted focus stealing policy)
Metacity @ 2.6 stil suffers from that :(

Karol

0
Comment actions Permalink

Then it's not really focus stealing, it's more like a focus giving problem, isn't it? ;)

Seriously speaking, though, no problem on XP.
Andrei

MB> Hmm... maybe this is a Linux only problem (maybe even a Gnome only
MB> problem -- kwin probably has enough focus-related hacks and
MB> workarounds). What happens is that every time you close a model
MB> dialog, the focus shifts back to the other window instead of IDEA.
MB>

0
Comment actions Permalink

All these focus related issues bugs me so, so much. I wish I could just dismiss it as a metacity bug, but the problem is that this happens only with Java applications -- all other applications behave nicely. So probably metacity is working by the spec[/url], and AWT is the bad guy. Anyways, I'm compiling kdebase now and I'll try to use kwin as my window manager.

Now the funny thing: Metacity is the default (only?) window manager installed on Sun Java Desktop System. I wonder if the Sun guys never noticed this freaking annoying bug...

0
Comment actions Permalink

I'm a relatively new user of IDEA but this problem drives me batty. I find myself typing text in the wrong .java file all the time. I tried the registry hack and it didn't work for me.

This is not a "small" problem. If it takes IDEA several man-years of work to mitigate the problem, I think it'll be worth it. A lot of other IDEs and Java apps do not suffer from this bug, so there has to be a solution, even if it's not a small one.

I think this bugfix is critical if this company wants to stay in the IDE business.

0
Comment actions Permalink

On Thu, 17 Feb 2005 at 19:11 GMT, Samuel Kass <no_mail@jetbrains.com> wrote:

I'm a relatively new user of IDEA but this problem drives me batty. I
find myself typing text in the wrong .java file all the time. I tried
the registry hack and it didn't work for me.


Here here! This one drives everyone insane, and has forawhile now :(

0
Comment actions Permalink

Mark Derricutt wrote:

On Thu, 17 Feb 2005 at 19:11 GMT, Samuel Kass <no_mail@jetbrains.com> wrote:

>>I'm a relatively new user of IDEA but this problem drives me batty. I
>>find myself typing text in the wrong .java file all the time. I tried
>>the registry hack and it didn't work for me.


Here here! This one drives everyone insane, and has forawhile now :(


It's fixed in Irida as far as I can tell...

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0
Comment actions Permalink

NO WAY is it fixed. Maybe on Windows. But not on Solaris and Linux.

Eugene did announce that it would be fixed in Irida...

0
Comment actions Permalink

Correct, just a Windows fix for now.

Nick Pratt wrote:

NO WAY is it fixed. Maybe on Windows. But not on Solaris and Linux.

Eugene did announce that it would be fixed in Irida...


--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary.
Man would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]

0
Comment actions Permalink

AFAIK there's no such problem on Linux...

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Nick Pratt" <no_mail@jetbrains.com> wrote in message news:19367586.1108676777863.JavaMail.itn@is.intellij.net...

NO WAY is it fixed. Maybe on Windows. But not on Solaris and Linux.

>

Eugene did announce that it would be fixed in Irida...

>



0
Comment actions Permalink

On Fri, 18 Feb 2005 11:42:53 +0300, Eugene Zhuravlev (JetBrains) wrote:

AFAIK there's no such problem on Linux...


Ironically, it's reported as being just such a problem in this very
thread. The KDE window manager seems to be the only one that can prevent
it, but I gave up on that after a day or two.

--
Mark Scott
mark@codebrewer.com

0
Comment actions Permalink

Ive logged issues against this specifically for Linux.
Ive also emailed support about this issue, again with specific reference to Linux.

Idea under Linux also has the very annoying, and very counter productive habbit of losing focus (thus requiring mouse intervention).

Its logged, several times. Ill log it again.

0
Comment actions Permalink

Focus lost problem is something different from focus stealing, right?
Please don't mix them together since most people tend to blame IDEA for focust
stealing problem on Windows due "similar" problem exists on linuses thus
can't be a problem of windows awt implementation.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

Ive logged issues against this specifically for Linux. Ive also
emailed support about this issue, again with specific reference to
Linux.

Idea under Linux also has the very annoying, and very counter
productive habbit of losing focus (thus requiring mouse intervention).

Its logged, several times. Ill log it again.




0
Comment actions Permalink

Gordon Tyler wrote:


It's fixed in Irida as far as I can tell...


It's partly fixed on the Windows platform in Irida. Irida no longer
steals the focus after a compile (which is a major usability win, for
sure), but I've still seen it steal the focus at the completion of its
start-up when I've moved the focus to a different application while it
comes up. I continue to see focus-stealing in other circumstances, too,
but I haven't been conscientious about recording them so that I could
file a defect report.

0
Comment actions Permalink

Hi, we have a related ticket for this problem:

https://youtrack.jetbrains.com/issue/IDEA-106716

Please follow YouTrack ticket for updates. See https://intellij-support.jetbrains.com/hc/articles/207241135 if you are not familiar with YouTrack.

 

0

Post is closed for comments.