Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected loss of focus on the project #3170

Merged
merged 6 commits into from
Nov 28, 2016
Merged

Unexpected loss of focus on the project #3170

merged 6 commits into from
Nov 28, 2016

Conversation

vzhukovs
Copy link
Contributor

Add ability to setup focus on Project Explorer part when IDE has already initialized.
Also was removed auto setting up focus on the terminal. So the terminal now handles onblur and onfocus events to control own state.

Related issue: #2795

@riuvshin @ashumilova @vparfonov review it, please.

@vzhukovs vzhukovs changed the title Che#2795 Unexpected loss of focus on the project Nov 25, 2016
@@ -120,20 +106,6 @@ public void onWsAgentStarted(WsAgentStateEvent event) {
restoreTerminal();

machinePortProvider.get();
/* Do not show terminal on factories by default */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we remove this check here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As terminal doesn't get focus at startup we can show terminal after consuming factory.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's leave part closed for factories

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

@codenvy-ci
Copy link

@codenvy-ci
Copy link

@vzhukovs vzhukovs merged commit 3da5a96 into master Nov 28, 2016
@vzhukovs vzhukovs deleted the che#2795 branch November 28, 2016 10:30
@vzhukovs vzhukovs added this to the 5.0.0-M8 milestone Nov 28, 2016
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
* Add ability to set up manual focus to the terminal panel

* Fix imports

* Add ability to auto select first node when tree becomes visible and it has at least one node

* Fixes

* Fixes
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants