Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330540 - Shell with SWT.TOOL style doesn't take focus any more
Summary: Shell with SWT.TOOL style doesn't take focus any more
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.7 M4   Edit
Assignee: Scott Kovatch CLA
QA Contact: Silenio Quarti CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-18 03:44 EST by Markus Keller CLA
Modified: 2010-12-07 14:25 EST (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 Markus Keller CLA 2010-11-18 03:44:27 EST
I20101116-0800 Cocoa

A Shell with SWT.TOOL style doesn't take focus any more. This can be seen in the ControlExample and in the Key Assist dialog (Command+Shift+L).
Comment 1 Scott Kovatch CLA 2010-12-06 14:53:23 EST
This was subtly introduced when I added NSNonactivatingPanelMask to support the minimize button on TOOL windows. A borderless TOOL window keeps the NSNonactivatingPanelMask but clears the NSUtilityWindowMask bit. This caused canBecomeKeyWindow to return false since we weren't checking for that possibility.
Comment 2 Scott Kovatch CLA 2010-12-06 14:54:42 EST
Fixed > 20101206.