Skip to content

JavaStackTracePageParticipant activates org.eclipse.jdt.ui.javaEditorScope context #977

Description

@raghucssit

The problem is when JavaStackTraceConsolePage is activated on ConsoleView it activates org.eclipse.jdt.ui.javaEditorScope.
Because of this if anybody contribute shortcut command which has the ConsoleView context never gets called when the StacktraceConsolePage is active. Instead it invokes the shortcut commands which are bound to org.eclipse.jdt.ui.javaEditorScope.

For example:
This platform PR is trying to contribute fonts zoom shortcut commands for ConsoleView. Which increases or decreases text in the ConsoleView.
eclipse-platform/eclipse.platform#2579.
But this command is never called on ConsoleView when StacktraceConsolePage is active. Instead it calls org.eclipse.ui.edit.text.zoomIn command.

Expectation is we should not activate other parts context when the focus is on current workbench part.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions