View Issue Details

IDProjectCategoryView StatusLast Update
00305032.x IDE BugsDnD EditorPublic2019-05-15 13:39
ReporterDanAssigned ToAlexander Borup 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Platform-OSWindows 10OS VersionPro x64
Product Version2.2.1 
Target Version2.2.3Fixed in Version2.2.3 
Summary0030503: DnD Editor: Should not re-position the camera horizontally when double-clicking thumbnails in the toolbox
DescriptionThe DnD Editor should not re-position the camera horizontally when double-clicking thumbnails in the toolbox. This means if a user has moved their workspace to see more of a nested chain, etc., we keep overriding their changes. This causes users to feel like the DnD editor has a lot of wasted/empty space because the chains are so frequently re-centred (typically leaving a lot of vertical space below the node and therefore hiding a fair number of chain nodes which could have been shown).

If you drag a thumbnail out from the toolbox and drop it on the workspace, this does not cause any movement, so there is also an inconsistency there.

Expected: We continue to pan the workspace vertically in order to show you the new node you added, but we stop panning it horizontally. We also don't centre the node vertically - we just make sure it's fully visible and only move the camera enough to do this.
Steps To Reproduce1. Start GMS2 and create a new DnD project.
2. Create a new script or object and add an event.
3. Double-click any DnD thumbnail in the toolbox.
4. Now re-position the DnD workspace so the node is anywhere not central.
5. Double-click any DnD thumbnail in the toolbox.
6. Observe we altered both the horizontal and vertical position of the workspace to centre the new node.
Repro: 100%
Additional Information
2.x IDE Found In2.2.1.375
2.x Runtime Found In2.2.1.287
2.x IDE Verified In9.2.1.1817
2.x Runtime Verified In9.9.1.1441


related to 0030504 ClosedAlexander Borup DnD Editor: Should re-position the camera vertically when dragging-out thumbnails from the toolbox 


Alexander Borup

2019-02-20 12:42

Developer   ~0063263

Now handles panning more elegantly and only pans if necessary. Panning a node to the center of the workspace can still be achieved by double-clicking the node's title bar or story entry. When adding the first node into the workspace, it will also pan to the center. Everything else will pan 'elegantly' to keep the current editing context within view.