FileChooser dialog cannot be focused on MacOS when IDE is in full screen mode

Hi, I found something quite weird while developing my plugin: I clicked the ellipsis button of TextFieldWithBrowseButton, the FileChooser dialog did show but could not be focused.

Details:

I always use TextFieldWithBrowseButton for selecting files, and below is one of the cases.

rootPanel (ProjectConfigurable) -> JBList + ToolBarDecorator (Add action) -> Custom Dialog -> TextFieldWithBrowseButton -> FileChooser Dialog.

To be clear, I declared ProjectConfigurable extension and created a root panel for configuring my plugin; I added a JBList wrapped by ToolBarDecorator to the rootPanel, for adding/removing items; A custom dialog would pop up when Add action is triggered; I added a TextFieldWithBrowseButton to the custom dialog for selecting files.

 

Test Cases:

1. [Running and debugging], everything worked fine;

2. [Published and Installed, Linux], everything worked fine;

3. [Published and Installed, Mac OS, Not in FullScreen], everything worked fine;

4. [Published and Installed, Mac OS, FullScreen], the FileChooser dialog mentioned above could not be focused. (However, all other textfields with browse button worked fine)

 

It's so weird to me that I didn't even know how & where to debug.

Here is a demo video https://youtu.be/I2Wr3NFun9A. Hope it could make this case more clear.

0

Please sign in to leave a comment.