You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening editors, the opener options is used to generate an identity key for the widget. This is clear and works as expected. However, the property order of the opener options also matters when trying to find an already opened widget.
Do I misuse the APIs? if not, I think Theia should compare keys with deepEqual and try to find the existing widget instead doing Map.get by the JSON options.
Bug Description:
When opening editors, the opener
options
is used to generate an identity key for the widget. This is clear and works as expected. However, the property order of the openeroptions
also matters when trying to find an already opened widget.The following code causes unexpected behavior:
My code is here: master...kittaakos:opener-options
Steps to reproduce:
See in action:
duplicate.mp4
Do I misuse the APIs? if not, I think Theia should compare keys with deepEqual and try to find the existing widget instead doing
Map.get
by the JSON options.Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: