View Issue Details

IDProjectCategoryView StatusLast Update
0003602NoesisGUIStudiopublic2024-08-26 03:50
Reporterdstewart Assigned Todfranjic  
PrioritynormalSeveritycrash 
Status resolvedResolutionfixed 
Product VersionStudio_Path 
Target VersionStudio_Path 
Summary0003602: Deleting the First Segment of a Second PathFigure Crashes Studio, or Does Not Successfully Delete Point Points
Description

This is an issue in which one of two scenarios occur, depending on the order of operations, with bot having the same initial setup.

If a second PathFigure composed of two anchor points (a segment) is drawn within an already-existing Path, and the second PathFigure is immediately deleted, it will not successfully delete both PathPoints, leaving one behind.

If a second PathFigure composed of two anchor points (a segment) is drawn within an already-existing Path, then deselected, then re-selected again, and then deleted, it will crash Studio.

Dump attached for the Crash scenario.

Steps To Reproduce

Repro Steps:

A) TO INVOKE AN UNSUCCESSFUL PATHFIGURE DELETION

1) Create a Page
2) Introduce a 512x256 Rectangle to the RootGrid of the Page, then convert it to a Path.
3) Click on the Path created in Step 2), and equip the Path Tool (P). (This will ensure that the PathFigure drawn in Step 4) and 5) is a PathFigure, and not a new Path)
4) Zoom in to a level below 2500% (eg: 2278% or 1720%), and place a first point. This bug is easier to repro if you purposefully try to place the point in between two lines of the Pixel Grid.
5) Staying at the same Zoom level, place a second Path Point directly below the first, to make up a vertical Segment.

6) After the second Point is placed in Step 4), without de-selecting the Path, switch to the Path Selection Tool (A), hold [Ctrl] and select both Points of the Path Created.
7) Press [Del] to delete the PathFigure.

Observe how the deletion only deletes the initial Path Point, and not the second Point placed, which remains on-Stage.

Expected results: Pressing [Del] when two Path Points are selected, deletes both PathPoints.


B) TO INVOKE A CRASH

1) Create a Page
2) Introduce a 512x256 Rectangle to the RootGrid of the Page, then convert it to a Path.
3) Click on the Path created in Step 2), and equip the Path Tool (P). (This will ensure that the PathFigure drawn in Step 4) and 5) is a PathFigure, and not a new Path)
4) Zoom in to a level below 2500% (eg: 2278% or 1720%), and place a first point. This bug is easier to repro if you purposefully try to place the point in between two lines of the Pixel Grid.
5) Staying at the same Zoom level, place a second Path Point directly below the first, to make up a vertical Segment.

6) Deselect the Path by clicking on the RootGrid of the Page, then select the Path again.
7) Using the Path Selection Tool (A), hold [Ctrl], and select both PathPoints of the PathFigure created in Step 4) and 5).
8) Press [Del] to delete the PathFigure.

Observe the application crashing.

Expected Results: Deleting a Path Figure does not cause Studio to Crash.

Attached Files
20240807_073924.dmp (84,170 bytes)
PlatformAny

Activities

Issue History

Date Modified Username Field Change
2024-08-07 13:39 dstewart New Issue
2024-08-07 13:39 dstewart File Added: 20240807_073924.dmp
2024-08-07 13:46 jsantos Assigned To => dfranjic
2024-08-07 13:46 jsantos Status new => assigned
2024-08-07 13:46 jsantos Target Version => Studio_Path
2024-08-26 03:50 dfranjic Status assigned => resolved
2024-08-26 03:50 dfranjic Resolution open => fixed