Stale view content when switching perspective
Opened this issue · 1 comments
danielwiehl commented
Describe the bug
Sometimes, views display stale content when switching perspective, only for a short time, most noticeable in microfrontend views located in a different place.
Analysis
Views with identical identifiers (view.1, view.2, etc.) in different perspectives are not re-created when switching perspectives, thus displaying stale content for a short time.
To Reproduce
Steps to reproduce the behavior:
- Create perspective A with a view on the left-hand side.
- Create perspective B with another view on the right-hand side.
- Switch to perspective A.
- Switch to perspective B.
- See that the view displays the content of the previous view for a short time.
Expected behavior
Views should have unique identifiers to prevent displaying stale content.
Environment
SCION Workbench version: 19.0.0-beta.1
Additional context
Add any other context about the problem here.
danielwiehl commented
Verify whether WorkbenchPerspectiveViewConflictResolver
is still needed after replacing the view id with a UID.