Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 221782 Details for
Bug 390924
Pressing enter calls the @Focus Method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Proposed fix
file_390924.txt (text/plain), 1.01 KB, created by
Nobody - feel free to take it
on 2012-10-02 11:33:20 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Nobody - feel free to take it
Created:
2012-10-02 11:33:20 EDT
Size:
1.01 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java >index 1a0740d..b080ca3 100644 >--- a/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java >+++ b/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java >@@ -895,10 +895,11 @@ > if (stackElement instanceof MPlaceholder) > stackElement = ((MPlaceholder) stackElement) > .getRef(); >- if (stackElement instanceof MPart) { >+ if ((stackElement instanceof MPart) >+ && (ctf.isFocusControl())) { > MPart thePart = (MPart) stackElement; > ContextInjectionFactory.invoke(thePart.getObject(), >- Focus.class, thePart.getContext()); >+ Focus.class, thePart.getContext(), null); > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 390924
: 221782