intellij-file-preview icon indicating copy to clipboard operation
intellij-file-preview copied to clipboard

Project tool window loses focus in unpinned/undocked view modes on file preview

Open namaenonaimumei opened this issue 4 years ago • 0 comments

When navigating through project panel in unpinned/undocked view modes, using either mouse or keyboard, focus switches to editor, as unopened file is selected, resulting in project panel hiding and keyboard input being captured into editor/file previewed.

Additional information

This doesn't happen when using docked mode. This doesn't happen if cursor switches between multiple files that are already opened (will still happen for cursor actions preview->opened, won't for opened->preview). Same issue supposedly fixed before in #50, possible regression.

Expected behaviour

Cursor should remain focused on project tool window instead, same way as in other view modes, no matter the selected file's state.

Setup

IDE: Clion 2020.1.2 Plugin Version: 1.6.4

namaenonaimumei avatar Aug 09 '21 15:08 namaenonaimumei