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

Click on element in a project explorer jumps to the top of a tree #1488

Closed
ghenadiibatalski opened this issue Jan 5, 2017 · 20 comments
Closed

Comments

@ghenadiibatalski
Copy link

After scrolling down to a desired position in a project explorer's object tree, i click on any element and the cursor jumps to top of a tree.

Reproduction Steps:

Open a project with larger structure
Scroll some pages down
Click on any element

Expected behavior:
Default reaction on a click: either the folder expands or a file opens in an editor view.

Observed behavior:

Cursor jumps up to top of a tree, file doen't open

Codenvy version: 5.0.0-M8 and 5.0.0-nightly
OS and version: Client: Windows 10, Server: Ubuntu 16.10 / Azure Codenvy Team
Browser version: Chrome 55.0.2883.87, Firefox 50.1.0

Other questions:
Problem happens at codenvy.io or with the installed Codenvy Enterprise?: Yes (Dockerized Installation, Azure Installation)
Problem can be reliably reproduced: Yes, always

@ghost
Copy link

ghost commented Jan 6, 2017

@ghenadiibatalski I cannot reproduce this one on codenvy.io. Can you perhaps share more details on how to reproduce? I Opened a project with files and folders enough to scroll, then scrolled down to the top and clicked on a file to open. The file opened.

@ghost ghost added the kind/question label Jan 6, 2017
@ghenadiibatalski
Copy link
Author

just see the animation attached. It is recorded just now on Ubuntu desktop, Chromium and codenvy.io If it helps, the project was initially created from the nodejs project template but the node_modules folder is generated by npm install.
anim

@ghost
Copy link

ghost commented Jan 6, 2017

@ghenadiibatalski thanks

@ghost
Copy link

ghost commented Jan 6, 2017

Just tried it with an Angular project. Cannot reproduce.

@ghenadiibatalski
Copy link
Author

just tried it with a hello-world nodejs project and have got the same behaviour.... Open folder nodejs-hello-world->node_modules->express->node_modules , scroll a page down with the mouse and click with the mouse on any folder. The cursor jumps to the top.

If i use a keyboard for tree navigation, then the mouse works sporadically.

@TylerJewell
Copy link
Contributor

Could this be a weird CSS rendering issue that is unique to Chrome on Ubuntu that somehow doesn't exist with other Chrome versions?

@ghenadiibatalski
Copy link
Author

i don't think. Same issue initially on Win 10 FF and Chrome both latest versions and Codenvy On-Prem.

@TylerJewell
Copy link
Contributor

Project type select can affect the behavior of the project tree. I don't see any specification of PT in your reproduction steps. Did you leave the PT as blank or did you set it to one of the types in the wizard? If you set the project to a javac project type does the issue still exist (I know your project is not java - but curious).

@ghenadiibatalski
Copy link
Author

same behaviour for java project cloned from github just now

@TylerJewell
Copy link
Contributor

Just to be explicit - did you go into the Project Type... selector in the Project menu and change the PT? I want to be sure that it's a PT thing and not just the clone of code.

@ghenadiibatalski
Copy link
Author

same

@TylerJewell
Copy link
Contributor

Well, huh. Does it happen for you on this particular server (this is 5.0.0 release candidate which has another 150 issues resolved in it). https://codenvy-stg.com/site/login?redirect_url=https%3A%2F%2Fcodenvy-stg.com%2F

@ghenadiibatalski
Copy link
Author

same here, scroll view jumps to the first page of the tree, but the cursor is set to the clicked node. so i can navigate further with keys from clicked element.

@TylerJewell
Copy link
Contributor

I am calling it a bug for now and adding in a development team, though only for them to try and offer some additional ideas on what we can activate to try and make this reproducible.

@JamesDrummond
Copy link

JamesDrummond commented Jan 10, 2017

Here are some screen captures. You will notice some items don't cause this jump at certain times depending on state of project explorer tree.

Chrome Version 55.0.2883.87 m (64-bit) windows 10
issue2

This is also happening in firefox 50.1.0 windows 10.

issue

@vzhukovs
Copy link
Contributor

I'll take a look on this issue asap.

@vzhukovs vzhukovs self-assigned this Jan 11, 2017
@natthawute
Copy link

I got the same issue on Chrome and Firefox (macOS sierra) but it seems to be fine on Safari.

@vzhukovs
Copy link
Contributor

Confirm. This is a bug, trying to solve it.

@vzhukovs
Copy link
Contributor

Issue related to che, not codenvy. So there new issue was created with attached pull request.

eclipse-che/che#3762 Issue
eclipse-che/che#3763 PR

@KGer80
Copy link

KGer80 commented Mar 28, 2020

edited: removing my false report, sry

issue occured at me probably since one of my keyboard key was stuck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants