View Issue Details

IDProjectCategoryView StatusLast Update
0003924NoesisGUIStudiopublic2025-10-31 12:50
Reporterdstewart Assigned Tosfernandez  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product VersionStudio_Path 
Target VersionStudio_Path 
Summary0003924: Converting a Canvas Containing Paths Into A Grid Does Not Conserve Path Positions
Description

Currently, if a set of Paths is pasted into a Viewbox, the Paths are automatically introduced within a Canvas.

However, converting the default Canvas into a Grid, will displace the position of all Paths included within.

Video attached demonstrating this in action.

This only occurs when the Canvas is within a Viewbox. When vectors are pasted into Studio into a location in the hierarchy that is not governed by a Viewbox, the original positions of all of the Paths are retained as expected.

Steps To Reproduce

Repro Steps:

1) Download the attached ConvertCanvasToGrid_Project, and open it in Studio.
2) Within MainPage.xaml, navigate in the hierarchy until you find the Canvas named "CONVERT_ME_TO_GRID_VIA_CONTEXTMENU"
3) Right-click on the Canvas, and from its context menu, navigate to 'Layout'-->'Replace With', and then select 'Grid'.

Observe how the positions of the Paths on-Stage are moved from their original positions.

4) Use Ctrl+Z to undo the change to make the Canvas into a Grid.
5) Drag the Canvas into the RootGrid, and delete the now empty Viewbox.
6) Right-click on the Canvas, and from its context menu, navigate to 'Layout'-->'Replace With', and then select 'Grid'.

Observe how the positions of the paths on-Stage are successfully retained.

Expected Results: A Canvas within a Grid can be successfully converted to a Grid whilst retaining the position of all Paths within.

Attached Files
PlatformAny

Activities

dstewart

dstewart

2025-10-31 12:50

developer   ~0011327

Verified fixed as of 0.1.245!

Issue History

Date Modified Username Field Change
2025-02-03 15:09 dstewart New Issue
2025-02-03 15:09 dstewart File Added: ConvertCanvasToGrid_Compressed.mp4
2025-02-03 15:09 dstewart File Added: ConvertCanvasToGrid_Project.zip
2025-02-03 15:18 admin Assigned To => sfernandez
2025-02-03 15:18 admin Status new => assigned
2025-02-03 15:18 admin Target Version => Studio_Path
2025-02-04 15:53 dstewart Summary Converting a Canvas Containing Paths Into A Grid Does Not Converse Path Positions => Converting a Canvas Containing Paths Into A Grid Does Not Conserve Path Positions
2025-10-31 12:50 dstewart Status assigned => resolved
2025-10-31 12:50 dstewart Resolution open => fixed
2025-10-31 12:50 dstewart Note Added: 0011327