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
{{ message }}
Repository navigation
Canvas zoom and position reset when switching diagram tabs or tools #640
When I switch away from a diagram or tool and then return, the canvas view resets instead of retaining its previous zoom level and position. The canvas often returns to its default position near the top-left, so I have to zoom and pan again to resume working.
I have observed this with class diagrams and with other zoomable canvases, including agent diagrams.
To Reproduce
Open a diagram with enough content to require zooming or panning, such as a AI Sandbox class diagram or library agent.
Zoom in or out and/or pan the canvas to a particular view.
Switch to another diagram tab, or navigate to another tool (for example, a state diagram or GUI builder).
Return to the original diagram.
Observe that the canvas view has reset.
Expected behavior
When returning to a diagram or tool, its canvas should retain the zoom level and position it had when I left. This should apply consistently to all diagram and tool canvases that support zooming or panning.
This appears to affect multiple zoomable canvas types, not only class diagrams. BESSER WME supports multiple diagram types and tabs, so preserving the view per diagram/tab would make it easier to move between models without repeatedly restoring the canvas view.
Observed in the browser during the same working session; I have checked even after reload we get same behavior.
Activity