Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 210410 - Focusing causes Eclipse window to jump to front
Summary: Focusing causes Eclipse window to jump to front
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 503014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-20 10:56 EST by Göran Karlsson CLA
Modified: 2022-02-24 11:29 EST (History)
4 users (show)

See Also:


Attachments
Image of my test setup (37.79 KB, image/png)
2007-11-21 03:48 EST, Dani Megert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Göran Karlsson CLA 2007-11-20 10:56:53 EST
When using focus follows mouse (a.k.a X-mouse, sunmouse), Eclipse tends to pop up to the front when it is activated by hovering the mouse above it. It should be possible to get focus without raising the window. The window should not be raised unless you click in it.

The behaviour is not even consistent; sometimes it is possible to focus on Eclipse and it will stay in its place, but just as often it will jump to the top.

I use TweakUI to enable focus follows mouse in Windows 2000.
Comment 1 Dani Megert CLA 2007-11-20 11:36:19 EST
Not sure whether this is Platform UI or SWT.

Test Case:
1. start fresh Eclipse
2. switch to non-eclipse app
3. move mouse over Package Explorer and back to app
   ==> OK
4. move mouse over Package Explorer and back to app
   ==> still OK
5. now move mouse over another view, e.g. Outline
   ==> Eclipse takes focus
Comment 2 Steve Northover CLA 2007-11-20 14:54:20 EST
I can't seem to get a repeatable case, although I can make the problem happen about 1 in 50 tries.  Anyone?
Comment 3 Göran Karlsson CLA 2007-11-21 02:36:36 EST
I usually get this behavious in about 10-20% of the times when I move over Eclipse main window. But I can repeat it almost 100% of the time when I move over two window views that I have detached from the Eclipse main window. In this case I have one window showing the Debug view and one showing an NTail view. If I move from another window and then over these two windows so that first one, then the other gets focus, then the entire Eclipse app jumps to the top of everything. I have set the delay for focus follows mouse to 0. 
Comment 4 Dani Megert CLA 2007-11-21 03:45:59 EST
> Anyone?
Yep, I can easily repeat using my steps (1 in 4 tries). I have WinXP Classic style.

Important is that you choose a different view when coming back to the Eclipse window the second time.
Comment 5 Dani Megert CLA 2007-11-21 03:48:02 EST
Created attachment 83411 [details]
Image of my test setup

If I move the mouse from left to right and back several times (4 times at most) inside the red area I get the activation.
Comment 6 Steve Northover CLA 2007-12-14 14:41:50 EST
Can you make it happen without the classic XP style?
Comment 7 Steve Northover CLA 2007-12-14 14:45:42 EST
NOTE:  The problem may now be fixed by changes to fix 213017 which changed the way we worked around Windows in bug 182547.  Is it fixed?
Comment 8 Steve Northover CLA 2007-12-14 14:46:10 EST
... changes to fix bug 213017 ...
Comment 9 Steve Northover CLA 2007-12-14 14:46:26 EST
NOTE:  The problem may now be fixed by changes to fix 213017 which changed the way we worked around Windows in bug 182547.  Is it fixed?
Comment 10 Steve Northover CLA 2007-12-14 14:46:49 EST
#!%$@$^%@#$^%@ buglizzzzzard!!!!
Comment 11 Dani Megert CLA 2007-12-17 05:49:16 EST
> Is it fixed?
No. I can still reproduce using 3.4 M4.
Comment 12 Eclipse Webmaster CLA 2019-09-06 15:38:35 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 13 Eclipse Genie CLA 2021-12-13 17:50:55 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 14 Rolf Theunissen CLA 2022-02-24 11:29:57 EST
*** Bug 503014 has been marked as a duplicate of this bug. ***