Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 1988 - [UI] ESC closes the Navigator. (1GD5XD8)
Summary: [UI] ESC closes the Navigator. (1GD5XD8)
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:23 EDT by Kevin Haaland CLA
Modified: 2016-06-13 13:05 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:23:56 EDT
Move the Navigator to a new detached window.
	Select a file.
	Press ESC.

	The window closes but nothing should happen. 

NOTES:

NE (05/22/01 4:11:18 PM)
	On ESC, SWT gets an WM_KEYFIRST message, which gets processed by Display.translateTraversal,
	which ends up calling traverseEscape() on the focus control (the navigator's Tree in this case).
	Its default behaviour is to close the control's shell, unless the shell has no parent.

	Can't hook a traversal listener since we the focus control is arbitrary.

	Could create it without a parent in DetachedWindow's constructor, but then the detached window
	would act as a separate window, not a child of the workbench window.
	E.g. it would not minimize when the workbench window is minimized.

NE (5/24/01 2:24:56 PM)
	Filed 1GE8RXW: SWT:WIN98 - Need a way for child shells to disable ESC closing
	This would be a good candidate for an SWT patch.
Comment 1 Kevin Haaland CLA 2002-01-21 20:16:35 EST
Closing. Obsolete. 
Comment 2 Sven Ehlert CLA 2010-01-14 06:12:12 EST
Hi,

I just encountered this very annoying behaviour.

I have a double screen setup, with likely 10 views in a detached window on the second screen.

If, by accident I press ESC in any of these views in the detached window, the detached window close and _all_ of my views are lost! I have to re-create each one of them.

I'm running Eclipse 3.5.1 on Linux, and I don't know if the API has changed since version 2.0 when this bug was initially reported, but I'd surely like to re-open this bug.
Comment 3 Eclipse Genie CLA 2016-05-09 09:50:13 EDT
New Gerrit change created: https://git.eclipse.org/r/72285
Comment 4 Eclipse Genie CLA 2016-05-09 09:53:57 EDT
New Gerrit change created: https://git.eclipse.org/r/72286
Comment 5 Eclipse Genie CLA 2016-05-09 09:55:49 EDT
New Gerrit change created: https://git.eclipse.org/r/72287