google / intellij-gn-plugin

BSD 3-Clause "New" or "Revised" License
14 stars 11 forks source link

Right-clicking on the project tools window opens a weird window. #5

Closed bc-lee closed 4 years ago

bc-lee commented 4 years ago

First of all, thanks for such a great plugin!

I have a small issue with Intellij GN plugin.

Steps to reproduce:

  1. Open a project on CLion and in Project tool window, select multiple folders with Shift-Click.
  2. Click Right Mouse Button to open menu.

A weird window ("Choose Destination Directory" title) opened. Click OK and it will open once more. After that, the menu is opened, but it cannot be clicked nor destroyed.

Window

The code (IdeView::getOrChooseDirectory()) https://github.com/google/intellij-gn-plugin/blob/9b843764ee4de1a8cc7d644264149228cbd36d36/src/main/java/com/google/idea/gn/actions/NewBuildFileAction.kt#L22 and https://github.com/google/intellij-gn-plugin/blob/9b843764ee4de1a8cc7d644264149228cbd36d36/src/main/java/com/google/idea/gn/actions/NewBuildFileAction.kt#L37 seems to be opening a window respectively.