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

right-clicking file node in the explorer does not populate the right context menu #6431

Open
elaihau opened this issue Oct 22, 2019 · 0 comments
Labels
bug bugs found in the application navigator issues related to the navigator/explorer

Comments

@elaihau
Copy link
Contributor

elaihau commented Oct 22, 2019

Description

Right clicking the Explorer populates two types of context menus:

  1. context menu when right clicking a file node
    Screenshot from 2019-10-22 00-02-17

  2. context menu when right clicking the empty area
    Screenshot from 2019-10-22 00-03-24

However, Theia does not always behave this way. Sometimes right clicking a file node can populate a "type-2" (see screenshot above) context menu.

Reproduction Steps

Peek 2019-10-21 23-59

As the GIF shows, to reproduce perform the following operations

  • left click a file node to open the file in editor
  • close the editor opened in step 1
  • left click the empty area in the main panel, make sure the file node highlighted in Step 1 and 2 turns gray
  • refresh the browser
  • right click the file node high lighted in gray color

expected: the context menu for file nodes should be populated
what happened: the context menu for the empty area was populated

This also happened to files newly created in the tree. I just couldn't find a reliable way to reproduce it atm.

OS and Theia version:

Ubuntu 18.04, example browser, Chrome

master branch f255f5a

@elaihau elaihau added the bug bugs found in the application label Oct 22, 2019
@akosyakov akosyakov added the navigator issues related to the navigator/explorer label Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application navigator issues related to the navigator/explorer
Projects
None yet
Development

No branches or pull requests

2 participants