AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

When switching focus to another dialog within the editor, all sections unexpectedly expand. #158

Open severikupari1 opened 2 weeks ago

severikupari1 commented 2 weeks ago

Bug Description When switching focus to another dialog within the editor, all sections unexpectedly expand.

Expected Behavior Sections should retain their collapsed or expanded state when focus shifts to other dialogs within the editor.

Current Behavior When the editor dialog loses focus (e.g., switching to another window or dialog), all sections expand automatically.

Steps to Reproduce

  1. Open the editor.
  2. Collapse any number of sections.
  3. Shift focus to another dialog or window within the editor.
  4. Return focus to the editor dialog.

Observed Result All sections in the editor automatically expand upon refocusing, regardless of their previous state.

Additional Information Please refer to the attached GIF, which demonstrates the issue and the steps to replicate it.

Environment information:

severikupari1 commented 2 weeks ago

elastic-bug-expand-all-on-unfocus