Bug 2071 - [View Mgmt] unnecessary activation when deactivating editor (1GE4Z3E)
Summary: [View Mgmt] unnecessary activation when deactivating editor (1GE4Z3E)
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 27126
Blocks:
  Show dependency tree
 
Reported: 2001-10-10 22:25 EDT by Greg Adams CLA
Modified: 2009-08-30 02:18 EDT (History)
1 user (show)

See Also:


Attachments
Screen shot (79.51 KB, image/jpeg)
2002-12-02 14:18 EST, Knut Radloff CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Adams CLA 2001-10-10 22:25:51 EDT
*	open a msword doc in place
*	open a bmp file in place

*	ensure the bmp editor is active

*	click on the navigator

*	click on the tab for the .doc editor

Observe a bunch of flashing occurs and you can even see it repaint the bmp
editor, draw its toolbars etc, then remove them



NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 17:49:37 EST
PRODUCT VERSION:
109 jre

Comment 2 Kevin Haaland CLA 2002-02-07 19:29:35 EST
Please ensure that this is fixed for 2.0
Comment 3 Knut Radloff CLA 2002-02-10 18:08:56 EST
The flashing when switching to the .doc editor is fixed.
However, when switching from the .bmp editor to the Navigator view, the editor 
is not always deactivated. It switches from showing the editor (MS Paint) to a 
bmp viewer but keeps the editor tab activated most of the time.
Comment 4 Knut Radloff CLA 2002-04-30 10:51:45 EDT
Revisit post v2
Comment 5 Knut Radloff CLA 2002-07-17 09:17:53 EDT
Revisit
Comment 6 Eduardo Pereira CLA 2002-11-25 15:44:54 EST
Not sure if this is still a problem.
Can't reproduce it now due to bug 27126.
Comment 7 Eduardo Pereira CLA 2002-11-29 16:17:56 EST
Knut, I can't reproduce what you described in Comment #3.
Could you add some screen shots, not sure if I undestand what you mean.
If you can't reproduce I will close as FIXED since the original problem was 
fixed.
Comment 8 Knut Radloff CLA 2002-12-02 14:17:13 EST
I can still reproduce this the first time I switch to the Navigator after 
opening a bmp or doc file inline.
After opening the bmp file the image editor has focus. When I click in the 
Navigator the editor still has focus even though I can scroll around the 
Navigator. This only happens when switching from the editor to the Navigator 
without Eclipse losing and regaining focus in between. I.e., Open the bmp file 
and without doing anything else click the navigator. 
Also, if you click the Navigator title bar it won't get focus but if you select 
a Navigator item you can scroll in the Navigator using the keyboard.
Comment 9 Knut Radloff CLA 2002-12-02 14:18:14 EST
Created attachment 2611 [details]
Screen shot

Note the active/focus Navigator selection and the editor focus.
Comment 10 Eduardo Pereira CLA 2002-12-02 15:11:24 EST
The original problem is fixed.
The problem described in the comments #8 and #9 seems to be an SWT problem. 
SWT should fire and SWT.Activate event when we click in the Navigator label or 
tree since the focus is in the OLE file. Since we do not get and Activate 
event the Navigator is not activated.
Comment 11 Christophe Cornu CLA 2002-12-03 09:20:03 EST
Veronika to investigate and advise the problem described in comment #8
Comment 12 Steve Northover CLA 2003-03-05 19:17:39 EST
Veronika, does this still happen?  Are we really not sending the SWT.Activate?
Comment 13 Veronika Irvine CLA 2003-03-06 10:09:17 EST
To verify this, I need to write a wad that reports the events and try this.  
Unable to confirm just be using Eclipse.
I do not believe this has changed.
Comment 14 Veronika Irvine CLA 2004-09-24 09:55:21 EDT
The problem described is a bug which will not be fixed in the current version 
of eclipse.

If you would like to contribute a fix for this problem, please attach a patch 
file and reopen this bug report.
Comment 15 Denis Roy CLA 2009-08-30 02:18:22 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.