Bug 2891 - EC - Eclipse window is overaggressive in grabbing keyboard focus (1GL1196)
Summary: EC - Eclipse window is overaggressive in grabbing keyboard focus (1GL1196)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Linux
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Lynne Kues CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 8791
Blocks:
  Show dependency tree
 
Reported: 2001-10-10 22:45 EDT by Kevin Haaland CLA
Modified: 2002-05-17 18:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2001-10-10 22:45:32 EDT
From eclipse corner:

"Ilya Rozenberg" <none@rational.com> 

I am passing along the words from our developer, who works on Linux.
He is using R0.9 (125)

    When I run Eclipse on Linux, I find that the Eclipse window is
overaggressive in grabbing keyboard focus (as indicated by
window manager border being highlighted, for example).  Whether in
click-to-focus mode or focus-follows-mouse mode, the         Eclipse
application will grab focus as it switches perspective.

    So, for example, I can start in Java perspective, then click to switch
to Debug perspective, and move my mouse to another             window.  But
focus gets grabbed away from that other window to the Eclipse window; click
on the other window, and Eclipse     may still grab focus back as it redraws
its own window.  Bad bad bad.  Focus grabbing is bad.  :)


NOTES:
Comment 1 Lynne Kues CLA 2002-01-29 13:30:25 EST
I do not see the behavior she is talking about in the current R2.0 stream on 
Linux using KDE in the click-to-focus mode.  This PR is pretty old (R0.9).  Will 
try R1.0 on Linux to see if I can reproduce the behavior she is talking about.
Comment 2 Lynne Kues CLA 2002-01-30 13:35:54 EST
Went back to R1.0 and still did not see the behavior for click-for-focus mode.  
I did see the behavior when in focus-follows-mouse mode and this behavior still 
exists in R2.0.  So this problem is particular to the focus-follows-mouse mode.
Comment 3 Lynne Kues CLA 2002-01-30 17:08:31 EST
Problem is not particular to focus-follow-mouse mode.  I was able to see the 
behavior in the focus-click-mode, but not all the time.  Opened an SWT PR.  It 
seems like a general Linux problem.
Comment 4 Lynne Kues CLA 2002-05-09 12:10:25 EDT
Problem still occurs.  To reproduce, use KDE, change to "focus follows mouse" 
mode on KDE Control panel.  Open Eclipse.  Give focus to a list or editor.  
Click the shortcut bar to change to another perspective and immediately move 
the mouse over a window outside of Eclipse.  Eclipse will grab focus back.
Comment 5 Mike Wilson CLA 2002-05-09 13:10:31 EDT
GG is investigating the SWT issue.
Comment 6 Lynne Kues CLA 2002-05-17 15:35:06 EDT
SWT fix for this has been put in, need to verify that this fixed the problem in 
next build.
Comment 7 Lynne Kues CLA 2002-05-17 18:26:04 EDT
Verified that this is fixed in 20020517 integration build.